pub struct OperatingPoint<N> { /* private fields */ }Expand description
One possibly partial alternate electrical assignment: a small owning handle over the shared network and the series’ shared columns. Cloning it or retaining it after the parent series drops copies no table and no column.
Implementations§
Source§impl OperatingPoint<BalancedNetwork>
impl OperatingPoint<BalancedNetwork>
Sourcepub fn values(
&self,
quantity: BalancedOperatingPointQuantity,
) -> Option<OperatingPointValues<'_>>
pub fn values( &self, quantity: BalancedOperatingPointQuantity, ) -> Option<OperatingPointValues<'_>>
Iterate one numeric quantity in stable component identity order.
Sourcepub fn flags(
&self,
quantity: BalancedOperatingPointFlag,
) -> Option<OperatingPointFlags<'_>>
pub fn flags( &self, quantity: BalancedOperatingPointFlag, ) -> Option<OperatingPointFlags<'_>>
Iterate one boolean quantity in stable component identity order.
Sourcepub fn bus_voltage_magnitude(&self, bus: BusId) -> Option<f64>
pub fn bus_voltage_magnitude(&self, bus: BusId) -> Option<f64>
Bus voltage magnitude in per unit, None when the point contains no
voltages or the bus is unknown.
Sourcepub fn bus_voltage_angle(&self, bus: BusId) -> Option<f64>
pub fn bus_voltage_angle(&self, bus: BusId) -> Option<f64>
Bus voltage angle in radians.
Sourcepub fn bus_active_injection(&self, bus: BusId) -> Option<f64>
pub fn bus_active_injection(&self, bus: BusId) -> Option<f64>
Net active injection at the bus in MW.
Sourcepub fn bus_reactive_injection(&self, bus: BusId) -> Option<f64>
pub fn bus_reactive_injection(&self, bus: BusId) -> Option<f64>
Net reactive injection at the bus in MVAr.
Sourcepub fn generator_active_power(&self, identity: &str) -> Option<f64>
pub fn generator_active_power(&self, identity: &str) -> Option<f64>
Generator active power output in MW, by payload identity.
Sourcepub fn generator_reactive_power(&self, identity: &str) -> Option<f64>
pub fn generator_reactive_power(&self, identity: &str) -> Option<f64>
Generator reactive power output in MVAr, by payload identity.
Sourcepub fn generator_voltage_setpoint(&self, identity: &str) -> Option<f64>
pub fn generator_voltage_setpoint(&self, identity: &str) -> Option<f64>
Generator voltage setpoint in per unit, by payload identity.
Sourcepub fn generator_in_service(&self, identity: &str) -> Option<bool>
pub fn generator_in_service(&self, identity: &str) -> Option<bool>
Whether the generator is in service at this point.
Sourcepub fn load_active_power(&self, identity: &str) -> Option<f64>
pub fn load_active_power(&self, identity: &str) -> Option<f64>
Load active power in MW, by payload identity.
Sourcepub fn load_reactive_power(&self, identity: &str) -> Option<f64>
pub fn load_reactive_power(&self, identity: &str) -> Option<f64>
Load reactive power in MVAr, by payload identity.
Sourcepub fn branch_in_service(&self, identity: &str) -> Option<bool>
pub fn branch_in_service(&self, identity: &str) -> Option<bool>
Whether the branch is in service at this point.
Sourcepub fn branch_tap_ratio(&self, identity: &str) -> Option<f64>
pub fn branch_tap_ratio(&self, identity: &str) -> Option<f64>
Branch off-nominal tap ratio at this point.
Sourcepub fn branch_phase_shift(&self, identity: &str) -> Option<f64>
pub fn branch_phase_shift(&self, identity: &str) -> Option<f64>
Branch phase shift in degrees at this point.
Sourcepub fn switch_closed(&self, identity: &str) -> Option<bool>
pub fn switch_closed(&self, identity: &str) -> Option<bool>
Whether the switch is closed at this point.
Source§impl OperatingPoint<MulticonductorNetwork>
impl OperatingPoint<MulticonductorNetwork>
Sourcepub fn values(
&self,
quantity: MulticonductorOperatingPointQuantity,
) -> Option<OperatingPointValues<'_>>
pub fn values( &self, quantity: MulticonductorOperatingPointQuantity, ) -> Option<OperatingPointValues<'_>>
Iterate one numeric quantity in stable component identity order.
Sourcepub fn flags(
&self,
quantity: MulticonductorOperatingPointFlag,
) -> Option<OperatingPointFlags<'_>>
pub fn flags( &self, quantity: MulticonductorOperatingPointFlag, ) -> Option<OperatingPointFlags<'_>>
Iterate one boolean quantity in stable component identity order.
Sourcepub fn terminal_voltage_magnitude(
&self,
bus: &str,
terminal: &str,
) -> Option<f64>
pub fn terminal_voltage_magnitude( &self, bus: &str, terminal: &str, ) -> Option<f64>
Voltage magnitude at one bus terminal in volts, keyed
bus_id/terminal.
Sourcepub fn terminal_voltage_angle(&self, bus: &str, terminal: &str) -> Option<f64>
pub fn terminal_voltage_angle(&self, bus: &str, terminal: &str) -> Option<f64>
Voltage angle at one bus terminal in radians.
Sourcepub fn load_active_power(&self, load: &str, terminal: &str) -> Option<f64>
pub fn load_active_power(&self, load: &str, terminal: &str) -> Option<f64>
Load active power on one conductor in watts, keyed
load_name/terminal.
Sourcepub fn load_reactive_power(&self, load: &str, terminal: &str) -> Option<f64>
pub fn load_reactive_power(&self, load: &str, terminal: &str) -> Option<f64>
Load reactive power on one conductor in vars.
Sourcepub fn generator_active_power(
&self,
generator: &str,
terminal: &str,
) -> Option<f64>
pub fn generator_active_power( &self, generator: &str, terminal: &str, ) -> Option<f64>
Generator active power on one conductor in watts.
Sourcepub fn generator_reactive_power(
&self,
generator: &str,
terminal: &str,
) -> Option<f64>
pub fn generator_reactive_power( &self, generator: &str, terminal: &str, ) -> Option<f64>
Generator reactive power on one conductor in vars.
Sourcepub fn switch_closed(&self, switch: &str) -> Option<bool>
pub fn switch_closed(&self, switch: &str) -> Option<bool>
Whether the named switch is closed at this point.
Sourcepub fn transformer_tap(&self, transformer: &str) -> Option<f64>
pub fn transformer_tap(&self, transformer: &str) -> Option<f64>
The named transformer’s regulator tap position at this point.
Sourcepub fn capacitor_steps(&self, capacitor: &str) -> Option<f64>
pub fn capacitor_steps(&self, capacitor: &str) -> Option<f64>
The named capacitor’s engaged step count at this point.
Trait Implementations§
Source§impl<N: Clone> Clone for OperatingPoint<N>
impl<N: Clone> Clone for OperatingPoint<N>
Source§fn clone(&self) -> OperatingPoint<N>
fn clone(&self) -> OperatingPoint<N>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more