pub struct Blindarbeit {
pub blindarbeit_kvarh: Decimal,
pub freigrenze_anteil: Decimal,
pub preis_ct_per_kvarh: Decimal,
}Expand description
Reactive energy and the terms on which its excess is charged.
A Netzbetreiber supplies a free share of reactive energy alongside the active energy delivered, and charges only what exceeds it (Blindmehrarbeit). The customary boundary is a power factor of cos φ 0,9 — reactive energy up to tan φ ≈ 0,4843 of the active energy — though many Preisblätter round that to a flat 50 %, and some set different shares for inductive and capacitive draw.
The share is therefore an input, not a constant: it is a term of the
Netzbetreiber’s price sheet, and hard-coding one would bill some networks
wrongly. Blindarbeit::COS_PHI_0_9 is the documented default.
Fields§
§blindarbeit_kvarh: DecimalReactive energy drawn in the period, in kvarh.
freigrenze_anteil: DecimalFree share of the active energy, as a fraction.
0.4843 for cos φ 0,9; 0.5 where the Preisblatt rounds it.
preis_ct_per_kvarh: DecimalPrice per excess kvarh, in ct/kvarh, from the Preisblatt.
Implementations§
Source§impl Blindarbeit
impl Blindarbeit
Sourcepub const COS_PHI_0_9: Decimal
pub const COS_PHI_0_9: Decimal
tan φ at cos φ 0,9 — the customary free share, to 4 dp.
Sourcepub fn mehrarbeit_kvarh(&self, wirkarbeit_kwh: Decimal) -> Decimal
pub fn mehrarbeit_kvarh(&self, wirkarbeit_kwh: Decimal) -> Decimal
The chargeable excess in kvarh for the given active energy.
Zero when the draw stays inside the free share; never negative, because an unused allowance is not a credit.
Trait Implementations§
Source§impl Clone for Blindarbeit
impl Clone for Blindarbeit
Source§fn clone(&self) -> Blindarbeit
fn clone(&self) -> Blindarbeit
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more