#[repr(C)]pub struct PioBalancedGeneratorView {Show 23 fields
pub component_id: PioStringView,
pub has_component_id: bool,
pub bus_id: usize,
pub energy_source: PioStringView,
pub active_power_mw: f64,
pub reactive_power_mvar: f64,
pub active_power_max_mw: f64,
pub active_power_min_mw: f64,
pub reactive_power_max_mvar: f64,
pub reactive_power_min_mvar: f64,
pub voltage_setpoint_pu: f64,
pub machine_base_mva: f64,
pub in_service: bool,
pub has_cost: bool,
pub cost: PioGeneratorCostView,
pub regulated_bus_id: usize,
pub has_regulated_bus: bool,
pub capability_count: usize,
pub active_power_control: PioActivePowerControlView,
pub has_active_power_control: bool,
pub voltage_regulation_on: bool,
pub regulating_terminal: PioTerminalReferenceView,
pub has_regulating_terminal: bool,
}Expand description
One balanced generator.
Fields§
§component_id: PioStringView§has_component_id: bool§bus_id: usize§energy_source: PioStringView§active_power_mw: f64§reactive_power_mvar: f64§active_power_max_mw: f64§active_power_min_mw: f64§reactive_power_max_mvar: f64§reactive_power_min_mvar: f64§voltage_setpoint_pu: f64§machine_base_mva: f64§in_service: bool§has_cost: bool§cost: PioGeneratorCostView§regulated_bus_id: usize§has_regulated_bus: bool§capability_count: usize§active_power_control: PioActivePowerControlView§has_active_power_control: bool§voltage_regulation_on: bool§regulating_terminal: PioTerminalReferenceView§has_regulating_terminal: boolTrait Implementations§
Source§impl Clone for PioBalancedGeneratorView
impl Clone for PioBalancedGeneratorView
Source§fn clone(&self) -> PioBalancedGeneratorView
fn clone(&self) -> PioBalancedGeneratorView
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 PioBalancedGeneratorView
Auto Trait Implementations§
impl !Send for PioBalancedGeneratorView
impl !Sync for PioBalancedGeneratorView
impl Freeze for PioBalancedGeneratorView
impl RefUnwindSafe for PioBalancedGeneratorView
impl Unpin for PioBalancedGeneratorView
impl UnsafeUnpin for PioBalancedGeneratorView
impl UnwindSafe for PioBalancedGeneratorView
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