#[non_exhaustive]pub struct DistCapacitor {
pub name: String,
pub bus: String,
pub terminal_map: Vec<String>,
pub configuration: Configuration,
pub q_rated: f64,
pub v_nom: f64,
pub extras: Extras,
}Expand description
A rated capacitor bank (BMOPF schema 0.1.0 capacitor): q_rated vars
delivered at v_nom volts across the element terminals, distinct from the
raw admittance DistShunt. The DSS converter still lowers OpenDSS
capacitors to shunt B matrices; this element carries capacitors that arrive
as BMOPF input.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§bus: String§terminal_map: Vec<String>§configuration: Configuration§q_rated: f64Nameplate rated reactive power of the whole bank, vars.
v_nom: f64Nameplate nominal voltage, volts: line to line for the three phase configurations, across the terminals for SINGLE_PHASE.
extras: ExtrasImplementations§
Trait Implementations§
Source§impl Clone for DistCapacitor
impl Clone for DistCapacitor
Source§fn clone(&self) -> DistCapacitor
fn clone(&self) -> DistCapacitor
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 moreSource§impl Debug for DistCapacitor
impl Debug for DistCapacitor
Source§impl<'de> Deserialize<'de> for DistCapacitor
impl<'de> Deserialize<'de> for DistCapacitor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for DistCapacitor
impl JsonSchema for DistCapacitor
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DistCapacitor
impl PartialEq for DistCapacitor
Source§impl Serialize for DistCapacitor
impl Serialize for DistCapacitor
impl StructuralPartialEq for DistCapacitor
Auto Trait Implementations§
impl Freeze for DistCapacitor
impl RefUnwindSafe for DistCapacitor
impl Send for DistCapacitor
impl Sync for DistCapacitor
impl Unpin for DistCapacitor
impl UnsafeUnpin for DistCapacitor
impl UnwindSafe for DistCapacitor
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