Extend shift reporting and downtime analytics

This commit is contained in:
admin committed 2026-10-20 14:16:58 +02:00
1 parent 41a5ae7a63
commit 6e8eb6f50f
74 files changed
+5397 -238

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ calculations:
max_sample_gap_seconds: 20.0
erp_workplace: Bento 1
production_order_format: "Bento 1-{production_order}"
fallback_nominal_width_m: 5.0
output_metric: material_consumption
output_unit: kg
group_by: production_order
@@ -14,6 +14,7 @@ calculations:
max_sample_gap_seconds: 20.0
erp_workplace: Bento 1
production_order_format: "Bento 1-{production_order}"
fallback_nominal_width_m: 5.0
output_metric: material_consumption
output_unit: kg
group_by: production_order
+7
View File
@@ -0,0 +1,7 @@
machine_id: 646ebfa0-e97d-4970-b9f4-da94492aecc3
erp_workplace: '1568700'
production_order_format: "E 4-{production_order}"
poll_interval_seconds: 300
lookback_hours: 48
full_reconciliation_hours: 24
completion_tolerance_m2: 0.001
+7
View File
@@ -0,0 +1,7 @@
machine_id: 35612735-03cc-4496-a72e-3c3e2216c720
erp_workplace: GITTERANL
production_order_format: "Gitter 1-{production_order}"
poll_interval_seconds: 300
lookback_hours: 48
full_reconciliation_hours: 24
completion_tolerance_m2: 0.001
+7
View File
@@ -0,0 +1,7 @@
machine_id: 5e89db10-ef0e-4224-866c-eee12bc3d27c
erp_workplace: "GITTER II"
production_order_format: "Gitter 2-{production_order}"
poll_interval_seconds: 300
lookback_hours: 48
full_reconciliation_hours: 24
completion_tolerance_m2: 0.001
+7
View File
@@ -0,0 +1,7 @@
machine_id: ec3baac3-ccc1-4d1e-9b57-3f5ab2daa567
erp_workplace: GITTERIII
production_order_format: "Gitter 3-{production_order}"
poll_interval_seconds: 300
lookback_hours: 48
full_reconciliation_hours: 24
completion_tolerance_m2: 0.001
+7
View File
@@ -0,0 +1,7 @@
machine_id: ffa5de99-66a2-44bd-b039-9b4275bc5f9e
erp_workplace: "GITTER IV"
production_order_format: "Gitter 4-{production_order}"
poll_interval_seconds: 300
lookback_hours: 48
full_reconciliation_hours: 24
completion_tolerance_m2: 0.001
+4
View File
@@ -0,0 +1,4 @@
# Names reference shift-report-machines.yaml; source naming belongs here only.
B1: 'Bento 1-{production_order}'
E1: 'E 1-{production_order}'
K7: 'K 7-{production_order}'
+7
View File
@@ -0,0 +1,7 @@
machine_id: 8c094b9d-32d2-4ddf-b56a-2cd11a09eebf
erp_workplace: K5
production_order_format: "K 5-{production_order}"
poll_interval_seconds: 300
lookback_hours: 48
full_reconciliation_hours: 24
completion_tolerance_m2: 0.001
+7
View File
@@ -0,0 +1,7 @@
machine_id: 16c0a111-3049-41d5-9e19-42ee0e047757
erp_workplace: SECEXTRU
production_order_format: "Sec 1/2-{production_order}"
poll_interval_seconds: 300
lookback_hours: 48
full_reconciliation_hours: 24
completion_tolerance_m2: 0.001
+7
View File
@@ -0,0 +1,7 @@
machine_id: 0c207a7c-7813-4cff-90ba-6a0148919d38
erp_workplace: SEC3
production_order_format: "Sec 3-{production_order}"
poll_interval_seconds: 300
lookback_hours: 48
full_reconciliation_hours: 24
completion_tolerance_m2: 0.001
+194
View File
@@ -1,7 +1,24 @@
sites:
espelkamp:
display_name: Espelkamp
timezone: Europe/Berlin
adorf:
display_name: Adorf
timezone: Europe/Berlin
malaysia:
display_name: Malaysia
timezone: Asia/Kuala_Lumpur
machines:
B1:
display_name: B1
site: espelkamp
machine_id: 5f42a4f6-9ca0-4f6f-9786-40d50a35b230
erp_workplace: BENTO 1
capabilities:
production: true
downtime: true
material: true
speed: true
material:
mode: cumulative
calculation_ids:
@@ -13,8 +30,15 @@ machines:
unit: m/min
production_gate_m_min: 0.3
E1:
display_name: E1
site: espelkamp
machine_id: 8302e3d1-b1e5-42f1-8540-615eb6c73e08
erp_workplace: '1568705'
capabilities:
production: true
downtime: true
material: true
speed: true
material:
mode: channel
calculation_ids:
@@ -25,14 +49,184 @@ machines:
unit: m/min
production_gate_m_min: 0.5
K7:
display_name: K7
site: espelkamp
machine_id: c220f95c-a65e-4cb7-99b7-0626d6c7508c
erp_workplace: K7
capabilities:
production: true
downtime: true
material: true
speed: true
material:
mode: cumulative
calculation_ids:
- k7-fiber-consumption
allocation: erp_fiber_share
speed:
signal_ref: 823867bb-f5d2-40eb-b875-657155addfd0
signal: Geschwindigkeit Gesamtanlage
unit: m/min
production_gate_m_min: 0.5
K3/4:
display_name: K3/4
site: espelkamp
machine_id: null
erp_workplace: K3/4
capabilities:
production: true
downtime: false
material: false
speed: false
E4:
display_name: E4
site: espelkamp
machine_id: 646ebfa0-e97d-4970-b9f4-da94492aecc3
erp_workplace: '1568700'
capabilities:
production: true
downtime: true
material: false
speed: false
Gitter 1:
display_name: Gitter 1
site: adorf
machine_id: 35612735-03cc-4496-a72e-3c3e2216c720
erp_workplace: GITTERANL
capabilities:
production: true
downtime: true
material: false
speed: true
speed:
signal_ref: 33abccf8-8dee-4b40-b0ce-63c3c0fd2cd9
signal: Produktionsgeschwindigkeit Automatikbetrieb
unit: m/min
numeric_dwell_gate:
signal_ref: 620511e3-a46b-47c4-8514-f2d4bde29e2b # Querspeicher Geschwindigkeit Abzug Quer (m/min)
threshold: 50.0
comparison: below
minimum_duration_seconds: 150
Gitter 2:
display_name: Gitter 2
site: adorf
machine_id: 5e89db10-ef0e-4224-866c-eee12bc3d27c
erp_workplace: GITTER II
capabilities:
production: true
downtime: true
material: false
speed: true
speed:
signal_ref: d3acefd8-1013-4b59-a235-fa265fd85fae
signal: Produktionsgeschwindigkeit Automatikbetrieb
unit: m/min
numeric_dwell_gate:
signal_ref: 1ae8fb5d-1d25-414a-9181-d35b6cdde507 # Quer Transportwagen Position re. Absolutwertgeber (Position; DB21:224.0)
threshold: 27000
comparison: below
minimum_duration_seconds: 150
Gitter 3:
display_name: Gitter 3
site: adorf
machine_id: ec3baac3-ccc1-4d1e-9b57-3f5ab2daa567
erp_workplace: GITTERIII
capabilities:
production: true
downtime: true
material: false
speed: true
speed:
signal_ref: 88641764-6fd1-4733-a054-80fa43a62470
signal: Produktionsgeschwindigkeit Automatikbetrieb
unit: m/min
numeric_dwell_gate:
signal_ref: f78bd11f-b2a8-4454-86a0-c8de576799c2 # Transportwagen Position re. Absolutwertgeber (Position; DB21:224.0)
threshold: 31000
comparison: below
minimum_duration_seconds: 150
Gitter 4:
display_name: Gitter 4
site: adorf
machine_id: ffa5de99-66a2-44bd-b039-9b4275bc5f9e
erp_workplace: GITTER IV
capabilities:
production: true
downtime: true
material: false
speed: true
speed:
signal_ref: 1d7660d4-10f4-4466-b1fd-076f9fd504fe
signal: Produktionsgeschwindigkeit Automatikbetrieb
unit: m/min
numeric_dwell_gate:
signal_ref: 5685fb13-861d-4e95-8a98-e39d4fc3e059 # Querspeicher Geschwindigkeit Abzug Quer (m/min; DB21:482.0)
threshold: 2
comparison: below
minimum_duration_seconds: 150
K5:
display_name: K5
site: adorf
machine_id: 8c094b9d-32d2-4ddf-b56a-2cd11a09eebf
erp_workplace: K5
capabilities:
production: true
downtime: true
material: false
speed: true
speed:
signal_ref: c3ae3002-b75c-4d7c-bb33-f10265fcf428
signal: Nadelmaschine 3 Auszug
unit: m/min
running_signal_ref: 507b1225-2992-4dd1-8412-34969466722f # Stillstand Nadelmaschine 3 (technical origin: Stillstand Anlage)
running_when: false
Secumat 1/2:
display_name: Secumat 1/2
site: adorf
machine_id: 16c0a111-3049-41d5-9e19-42ee0e047757
erp_workplace: SECEXTRU
capabilities:
production: true
downtime: true
material: false
speed: false
Secumat 3:
display_name: Secumat 3
site: adorf
machine_id: 0c207a7c-7813-4cff-90ba-6a0148919d38
erp_workplace: SEC3
capabilities:
production: true
downtime: true
material: false
speed: false
Bento 2:
display_name: Bento 2
site: malaysia
machine_id: 6201f3de-b940-45d7-930c-1481c5ae9e1d
erp_workplace: BENTO 2
capabilities:
production: true
downtime: false
material: false
speed: false
K1:
display_name: K1
site: malaysia
machine_id: 40f1f58b-21fc-490a-8343-d1888938f11b
erp_workplace: K1
capabilities:
production: true
downtime: false
material: false
speed: false
K6:
display_name: K6
site: malaysia
machine_id: 5e778f87-2d0f-47ac-a3ce-0c0dd9957918
erp_workplace: K6
capabilities:
production: true
downtime: false
material: false
speed: false