#[repr(C)]pub struct PioBalancedLoadVoltageModelView {Show 17 fields
pub kind: PioStringView,
pub p_constant_power_mw: f64,
pub q_constant_power_mvar: f64,
pub p_constant_current_mw: f64,
pub q_constant_current_mvar: f64,
pub p_constant_impedance_mw: f64,
pub q_constant_impedance_mvar: f64,
pub exponential_p_mw: f64,
pub exponential_q_mvar: f64,
pub gamma_p: f64,
pub gamma_q: f64,
pub nominal_voltage_pu: f64,
pub has_nominal_voltage: bool,
pub load_type: i32,
pub has_load_type: bool,
pub scaling: f64,
pub has_scaling: bool,
}Expand description
Voltage dependence attached to one balanced load.
Fields§
§kind: PioStringView§p_constant_power_mw: f64§q_constant_power_mvar: f64§p_constant_current_mw: f64§q_constant_current_mvar: f64§p_constant_impedance_mw: f64§q_constant_impedance_mvar: f64§exponential_p_mw: f64§exponential_q_mvar: f64§gamma_p: f64§gamma_q: f64§nominal_voltage_pu: f64§has_nominal_voltage: bool§load_type: i32§has_load_type: bool§scaling: f64§has_scaling: boolTrait Implementations§
Source§impl Clone for PioBalancedLoadVoltageModelView
impl Clone for PioBalancedLoadVoltageModelView
Source§fn clone(&self) -> PioBalancedLoadVoltageModelView
fn clone(&self) -> PioBalancedLoadVoltageModelView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PioBalancedLoadVoltageModelView
Auto Trait Implementations§
impl !Send for PioBalancedLoadVoltageModelView
impl !Sync for PioBalancedLoadVoltageModelView
impl Freeze for PioBalancedLoadVoltageModelView
impl RefUnwindSafe for PioBalancedLoadVoltageModelView
impl Unpin for PioBalancedLoadVoltageModelView
impl UnsafeUnpin for PioBalancedLoadVoltageModelView
impl UnwindSafe for PioBalancedLoadVoltageModelView
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more