pub struct GridConnection {
pub malo: Option<MaloId>,
pub melo: Option<MeloId>,
pub dso_code: Option<String>,
pub netzbereich: Option<String>,
pub fuse_current: Current,
pub contract_power: Option<Power>,
}Expand description
The Netzanschlusspunkt — where the installation meets the public grid.
Fields§
§malo: Option<MaloId>The market location, when the site is registered in the German market.
melo: Option<MeloId>The metering location.
dso_code: Option<String>The network operator’s BDEW code number, as it appears on the § 14a agreement and in the market communication.
netzbereich: Option<String>The Netzbereich the operator has assigned the connection to.
[BK6-22-300 A1 8.2.b] requires the operator to tell the customer which
one it is, and [A1 8.4] requires a monthly machine-readable list of
control actions per area. Knowing the area is what lets the planner
anticipate where and when reductions cluster.
fuse_current: CurrentThe main fuse rating per outer conductor.
contract_power: Option<Power>The contractually agreed connection power, where one is agreed.
This is the value a CEM reports as ContractualConsumptionNominalMax
in the EEBUS LPC use case ([LPC-042]).
Implementations§
Source§impl GridConnection
impl GridConnection
Sourcepub fn new(fuse_current: Current) -> Self
pub fn new(fuse_current: Current) -> Self
A connection with nothing but a fuse — enough to run a site.
Sourcepub fn import_ceiling(&self) -> Power
pub fn import_ceiling(&self) -> Power
The largest symmetric import the connection permits: the smaller of the fuse rating and any contractual limit.
Sourcepub fn export_ceiling(&self) -> Power
pub fn export_ceiling(&self) -> Power
The largest symmetric export the connection permits, as a positive magnitude.
The fuse alone. GridConnection::contract_power is deliberately not
applied here: it is the ContractualConsumptionNominalMax of [LPC-042]
— an agreement about how much the household may draw — and a system
whose feed-in is limited is limited by § 9 EEG, an LPP session or the
Einspeisezusage, none of which is this number. Applying a consumption
agreement to production would curtail a roof for a limit nobody wrote.
Trait Implementations§
Source§impl Clone for GridConnection
impl Clone for GridConnection
Source§fn clone(&self) -> GridConnection
fn clone(&self) -> GridConnection
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more