Skip to main content

Crate mako_gabi_gas

Crate mako_gabi_gas 

Source
Expand description

mako-gabi-gas — GaBi Gas process engine for the German gas market (Gasbilanzierung Gas).

§Implemented processes

ProcessPIDsMessages
Kapazitätsrechnung (capacity billing)31010INVOIC
Aggreg. MMM-Rechnung Gas (NB → MGV)31007, 31008INVOIC
Allokationsliste Gas (MSCONS data delivery)13013MSCONS
Allokation (NB/MGV/BKV, receive-and-record)70001–70023ALOCAT (DVGW)
Nominierung (Transportkunde ↔ NB/MGV, both ends)70030–70039NOMINT / NOMRES (DVGW)
Mehr-/Mindermengenmeldung (NB → MGV, both ends)70095, 70096SSQNOT (DVGW)

§Note on PID 31011

PID 31011 (Rechnung sonstige Leistung / AWH Sperrprozesse Gas, VNB → LFN/LFA) belongs to the GeLi Gas domain (BK7-24-01-009) and is implemented in mako-geli-gas (geli-gas-sperrprozesse-invoic workflow). It is NOT a GaBi Gas (balancing/capacity) process; the direction NB → LF (not NB → BKV) confirms the GeLi Gas context.

§Two-crate architecture for GaBi Gas

CrateResponsibility
dvgw-ediEDIFACT parsing — ALOCAT, NOMINT, NOMRES, SSQNOT (parse at transport boundary in makod)
mako-gabi-gasProcess engine — Workflow state machines, PID routing, deadline handling

§Domain background

GaBi Gas (Gasbilanzierung Gas) is the German regulatory framework for gas balancing, established by the Bundesnetzagentur (BNetzA) under the Gasnetzzugangsverordnung (GasNZV). The current version, GaBi Gas 2.1, entered into force with BNetzA order BK7-24-01-008.

The framework governs the exchange of gas quantity data between balance responsible parties (BKV), network operators (FNB/VNB), and market area managers (MGV) via standardised EDIFACT messages.

§Market roles

RoleAbbrev.Description
FernleitungsnetzbetreiberFNBGas transmission system operator
VerteilnetzbetreiberVNBGas distribution system operator
BilanzkreisverantwortlicherBKVBalance responsible party
MarktgebietsverantwortlicherMGVMarket area manager
Großhändler / ProduzentGHGas wholesaler / producer

§Regulatory references

  • §20 Abs. 3 EnWG — the Festlegungskompetenz for gas network access and balancing
  • BNetzA BK7-24-01-008 — GaBi Gas 2.1 ruling (current)
  • Note: BK7-06-067 is the original GeLi Gas ruling, not GaBi Gas
  • DVGW G 685 — technical rules for gas metering and allocation

Re-exports§

pub use domain::AllokationsSerie;
pub use domain::Bilanzkreis;
pub use domain::DeliveryPoint;
pub use domain::DeliveryPointDirection;
pub use domain::GasBeschaffenheit;
pub use domain::GasBeschaffenheitValidationError;
pub use domain::GasDay;
pub use domain::GasImbalanceSaldo;
pub use domain::GasQualityClass;
pub use domain::GasQualityFlag;
pub use domain::GasQuantity;
pub use domain::ImbalanceDirection as GasImbalanceDirection;
pub use domain::NominationQuantity;
pub use portfolio::ConservationViolation;
pub use portfolio::GasMarketRole;
pub use portfolio::GasPortfolioBalance;
pub use portfolio::PortfolioPosition;
pub use allocation::ALLOCATION_PIDS;
pub use allocation::AllocationCommand;
pub use allocation::AllocationData;
pub use allocation::AllocationEvent;
pub use allocation::AllocationState;
pub use allocation::AllocationType;
pub use allocation::AllocationVersion;
pub use allocation::FINAL_ALOCAT_DEADLINE_LABEL;
pub use allocation::GaBiGasAllocationWorkflow;
pub use allocation::WORKFLOW_NAME as ALLOCATION_WORKFLOW_NAME;
pub use invoic::COMDIS_RESUME_PATH as INVOIC_COMDIS_RESUME_PATH;
pub use invoic::GABI_GAS_COMDIS_ABLEHNUNG_PID;
pub use invoic::GABI_GAS_INVOIC_PIDS;
pub use invoic::GaBiGasInvoic;
pub use invoic::GaBiGasInvoicWorkflow;
pub use invoic::SETTLEMENT_WINDOW_LABEL as INVOIC_SETTLEMENT_WINDOW_LABEL;
pub use invoic::WORKFLOW_NAME as INVOIC_WORKFLOW_NAME;
pub use mehr_mindermengen::GaBiGasMehrMindermengenWorkflow;
pub use mehr_mindermengen::MEHR_MINDERMENGEN_PIDS;
pub use mehr_mindermengen::MehrMindermengenCommand;
pub use mehr_mindermengen::MehrMindermengenData;
pub use mehr_mindermengen::MehrMindermengenEvent;
pub use mehr_mindermengen::MehrMindermengenState;
pub use mehr_mindermengen::MmmVerfahren;
pub use mehr_mindermengen::WORKFLOW_NAME as MEHR_MINDERMENGEN_WORKFLOW_NAME;
pub use mmma::MMMA_MSCONS_PIDS;
pub use mmma::ORDERS_ANFRAGE_PID as MMMA_ORDERS_ANFRAGE_PID;
pub use mmma::ORDRSP_ABLEHNUNG_PID as MMMA_ORDRSP_ABLEHNUNG_PID;
pub use mmma::WORKFLOW_NAME as MMMA_WORKFLOW_NAME;
pub use nomination::GaBiGasNominationWorkflow;
pub use nomination::NOMINATION_PIDS;
pub use nomination::NOMINT_PIDS;
pub use nomination::NOMRES_DEADLINE_LABEL;
pub use nomination::NOMRES_PIDS;
pub use nomination::NominationCommand;
pub use nomination::NominationCounterparty;
pub use nomination::NominationData;
pub use nomination::NominationEvent;
pub use nomination::NominationMenge;
pub use nomination::NominationPosition;
pub use nomination::NominationRichtung;
pub use nomination::NominationState;
pub use nomination::NomresAcceptance;
pub use nomination::Renominierung;
pub use nomination::WORKFLOW_NAME as NOMINATION_WORKFLOW_NAME;
pub use nomination::nomination_process_key;
pub use nomination::nomint_payload;
pub use nomination::nomres_payload;
pub use nomination::single_direction_energy;

Modules§

allocation
GaBi Gas Allocation workflow — ALOCAT receive-and-record (PIDs 70001–70023). GaBi Gas Allocation workflow — ALOCAT.
domain
Core GaBi Gas domain types — GasDay, GasQuantity, GasBeschaffenheit, Bilanzkreis, NominationQuantity, GasImbalanceSaldo, etc. Core GaBi Gas domain types.
gabi_cloud_events
CloudEvent type constants for GaBi Gas domain events (de.gabi.*).
invoic
GaBi Gas INVOIC billing workflow — PIDs 31010, 31007, 31008. GaBi Gas Rechnung — the INVOIC billing family of gas balancing.
mehr_mindermengen
GaBi Gas Mehr-/Mindermengenmeldung — SSQNOT receive-and-record (PIDs 70095/70096). GaBi Gas Mehr-/Mindermengenmeldung — SSQNOT (NB → MGV).
mmma
GaBi Gas MMM Allokationsliste Gas — Mehr-/Mindermengen data delivery (MSCONS 13013). GaBi Gas MMM Allokationsliste Gas — Mehr-/Mindermengen data delivery (MSCONS).
nomination
GaBi Gas Nomination workflow — NOMINT/NOMRES (Transportkunde ↔ NB/MGV, PIDs 70030–70039). GaBi Gas Nomination workflow — NOMINT / NOMRES (BKV ↔ FNB / MGV).
portfolio
GaBi Gas portfolio balancing — GasMarketRole, GasPortfolioBalance, PortfolioPosition. BKV portfolio aggregation across Bilanzkreise. GaBi Gas portfolio balancing domain types.

Structs§

GaBiGasModule
Engine module for the GaBi Gas process family.