Add calibrated Bento spreader 3 consumption

This commit is contained in:
admin committed 2026-10-02 16:35:48 +02:00
1 parent 7ff452d36c
commit 7ff3087775
12 files changed
+485 -31

No files matched your search

+36 -6
View File
@@ -2,7 +2,7 @@
Process calibration values live in the version-controlled
`config/material-calibrations.yaml`. Calculations refer to opaque IDs; IDs have
no special meaning to the parser. The current entry is:
no special meaning to the parser. The spreader 1+2 entry is:
```yaml
calibrations:
@@ -40,7 +40,7 @@ consumption; the calculation algorithms are unchanged. There is no unit conversi
Missing/unreadable files, missing IDs, invalid metadata and incompatible type or
unit raise `CalculationConfigError` before a runner starts. Existing direct numeric
configurations remain supported; specifying both a reference and a direct factor
is rejected. References are currently supported by rotational discharge consumers.
is rejected. References are supported by rotational discharge and linear signal application consumers.
K7 uses direct mass rate and does not load or require a calibration file.
## Updating a calibration
@@ -67,7 +67,37 @@ On 2026-09-08, an independent gravimetric tray measurement found 4068 g/m² at
rounded factor **2.75 kg/(rev*m)**. The original measurement remains recorded,
without fitting or adjusting the runtime value to reproduce it exactly.
Only fresh-bentonite spreaders 1 and 2 are included. Before adding spreader 3,
confirm its material scope, actual signal units, independent calibration and
whether its output belongs in the fresh-material KPIs. No spreader 3 support is
included here.
Spreader 3 has an independent entry in the same registry:
```yaml
bento1-spreader-3-bentonite:
type: linear_signal_discharge
value: 0.4691089108910891
unit: kg_per_signal_unit_m
calibrated_at: 2026-09-08
method: gravimetric_tray
description: Bento 1 spreader 3, bentonite
reference:
measured_application_g_m2: 618
signal_value: 3.03
line_speed_m_min: 2.3
```
The generic linear consumer requires type `linear_signal_discharge`, unit
`kg_per_signal_unit_m`, a positive value, and an explicit calibration reference.
It resolves `specific_discharge_kg_per_signal_unit_m`; this runtime field cannot
be configured directly as a substitute for the central reference.
Calibration measurement: **3.03 signal @ 2.3 m/min → 618 g/m²**.
The exact derived discharge factor is `618 * 2.3 / (3.03 * 1000) = 2369/5050`,
stored at float precision as **0.4691089108910891 kg/(signal_unit*m)**.
The previously supplied approximation 0.4693069307 does not equal that expression.
Application is `signal_sum * factor * 1000 / line_speed_m_min`, independent of width.
Mass flow is `signal_sum * factor * nominal_width_m` kg/min, independent of speed;
the existing kg/h integrator receives this discharge multiplied by 60.
This measured bentonite calibration does not establish physical units from
ENLYZE metadata and must not be used for sand. Spreader 3 may carry sand on other
products. Its application, consumption and checkpoints remain separate from
fresh-bentonite spreaders 1+2, with no inferred material identity or automatic
sum. See [Bento material documentation](bento1-fresh-bentonite.md) for configuration,
formulas and operating assumptions.