pub struct MmmInput {
pub malo_id: String,
pub nb_mp_id: String,
pub lf_mp_id: String,
pub period: SettlementPeriod,
pub sparte: Sparte,
pub actual_kwh: Decimal,
pub profil_kwh: Decimal,
pub mehr_preis_ct_per_kwh: Decimal,
pub minder_preis_ct_per_kwh: Decimal,
}Expand description
Input for Mehr-/Mindermengen (MMM) settlement invoice calculation.
Covers:
- PID 31002 —
MMM-Stornorechnung NNE Stromused for Mehr-/Mindermengen settlement between NB and LF.
Mehr-/Mindermengen settle the difference between the LF’s forecast profile (SLP standard load profile) and the actual measured consumption.
- Mehrmengen (positive deviation): actual > profil → LF owes NB
- Mindermengen (negative deviation): actual < profil → NB owes LF
The settlement amount is the algebraic sum of both positions. It can be negative (i.e. a credit note from NB to LF) when Mindermengen dominate.
Fields§
§malo_id: String11-digit Marktlokations-ID.
nb_mp_id: StringInvoice sender — Netzbetreiber MP-ID.
lf_mp_id: StringInvoice recipient — Lieferant MP-ID.
period: SettlementPeriodThe delivery period being settled.
sparte: SparteCommodity — determines which Festlegung the legal references cite.
Sparte::Strom→GPKE (BK6-24-174) Teil 1 Kap. 8.4,GPKE BK6-22-024Sparte::Gas→GaBi Gas 2.1 (BK7-24-01-008),GeLi Gas 3.0 (BK7-24-01-009)
actual_kwh: DecimalActual measured consumption in kWh (from MSCONS / MeterBillingPeriod).
profil_kwh: DecimalStandard load profile (SLP) forecast consumption in kWh.
mehr_preis_ct_per_kwh: DecimalMehrmengen price in ct/kWh (from PreisblattNetznutzung MMM position).
minder_preis_ct_per_kwh: DecimalMindermengen price in ct/kWh (from PreisblattNetznutzung MMM position).