#[repr(C)]pub struct PioBalancedStorageView {Show 23 fields
pub component_id: PioStringView,
pub has_component_id: bool,
pub bus_id: usize,
pub active_power_mw: f64,
pub reactive_power_mvar: f64,
pub energy_mwh: f64,
pub energy_rating_mwh: f64,
pub charge_rating_mw: f64,
pub discharge_rating_mw: f64,
pub charge_efficiency: f64,
pub discharge_efficiency: f64,
pub thermal_rating_mva: f64,
pub current_rating: f64,
pub has_current_rating: bool,
pub reactive_power_min_mvar: f64,
pub reactive_power_max_mvar: f64,
pub resistance_pu: f64,
pub reactance_pu: f64,
pub active_power_loss_mw: f64,
pub reactive_power_loss_mvar: f64,
pub in_service: bool,
pub active_power_control: PioActivePowerControlView,
pub has_active_power_control: bool,
}Expand description
One balanced storage element.
Fields§
§component_id: PioStringView§has_component_id: bool§bus_id: usize§active_power_mw: f64§reactive_power_mvar: f64§energy_mwh: f64§energy_rating_mwh: f64§charge_rating_mw: f64§discharge_rating_mw: f64§charge_efficiency: f64§discharge_efficiency: f64§thermal_rating_mva: f64§current_rating: f64§has_current_rating: bool§reactive_power_min_mvar: f64§reactive_power_max_mvar: f64§resistance_pu: f64§reactance_pu: f64§active_power_loss_mw: f64§reactive_power_loss_mvar: f64§in_service: bool§active_power_control: PioActivePowerControlView§has_active_power_control: boolTrait Implementations§
Source§impl Clone for PioBalancedStorageView
impl Clone for PioBalancedStorageView
Source§fn clone(&self) -> PioBalancedStorageView
fn clone(&self) -> PioBalancedStorageView
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 PioBalancedStorageView
Auto Trait Implementations§
impl !Send for PioBalancedStorageView
impl !Sync for PioBalancedStorageView
impl Freeze for PioBalancedStorageView
impl RefUnwindSafe for PioBalancedStorageView
impl Unpin for PioBalancedStorageView
impl UnsafeUnpin for PioBalancedStorageView
impl UnwindSafe for PioBalancedStorageView
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