CtmNetworkAcLineItem

Struct CtmNetworkAcLineItem 

Source
pub struct CtmNetworkAcLineItem {
Show 24 fields pub b_fr: Option<f64>, pub b_to: Option<f64>, pub bus_fr: Uid, pub bus_to: Uid, pub cm_ub_a: Option<CtmNetworkAcLineItemCmUbA>, pub cm_ub_b: Option<CtmNetworkAcLineItemCmUbB>, pub cm_ub_c: Option<CtmNetworkAcLineItemCmUbC>, pub ext: Option<Value>, pub g_fr: Option<f64>, pub g_to: Option<f64>, pub name: Option<String>, pub nominal_mva: Option<PositiveNumber>, pub persistent_outage_duration: Option<NonnegativeNumber>, pub persistent_outage_rate: Option<NonnegativeNumber>, pub r: f64, pub sm_ub_a: Option<CtmNetworkAcLineItemSmUbA>, pub sm_ub_b: Option<CtmNetworkAcLineItemSmUbB>, pub sm_ub_c: Option<CtmNetworkAcLineItemSmUbC>, pub status: Status, pub transient_outage_rate: Option<NonnegativeNumber>, pub uid: Uid, pub vad_lb: Option<f64>, pub vad_ub: Option<f64>, pub x: f64,
}
Expand description

structure to hold ac line data using concentrated (6-parameter circuit) PI model

JSON schema
{
 "description": "structure to hold ac line data using concentrated (6-parameter circuit) PI model",
 "type": "object",
 "required": [
   "bus_fr",
   "bus_to",
   "r",
   "status",
   "uid",
   "x"
 ],
 "properties": {
   "b_fr": {
     "description": "[S or pu] shunt susceptance of line at from terminal",
     "default": 0,
     "type": "number"
   },
   "b_to": {
     "description": "[S or pu] shunt susceptance of line at to terminal",
     "default": 0,
     "type": "number"
   },
   "bus_fr": {
     "description": "uid of bus at the from terminal of ac line",
     "$ref": "#/$defs/uid"
   },
   "bus_to": {
     "description": "uid of bus at the to terminal of ac line",
     "$ref": "#/$defs/uid"
   },
   "cm_ub_a": {
     "description": "[kA or pu] persistent current rating",
     "anyOf": [
       {
         "$ref": "#/$defs/nonnegative_number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "cm_ub_b": {
     "description": "[kA or pu] 4-hour current rating",
     "anyOf": [
       {
         "$ref": "#/$defs/nonnegative_number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "cm_ub_c": {
     "description": "[kA or pu] 15-minute current rating",
     "anyOf": [
       {
         "$ref": "#/$defs/nonnegative_number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "ext": {
     "description": "additional ac line parameters currently not supported by CTM"
   },
   "g_fr": {
     "description": "[S or pu] shunt conductance of line at from terminal",
     "default": 0,
     "type": "number"
   },
   "g_to": {
     "description": "[S or pu] shunt conductance of line at to terminal",
     "default": 0,
     "type": "number"
   },
   "name": {
     "description": "line name",
     "type": "string"
   },
   "nominal_mva": {
     "description": "[MVA] nominal apparent power of ac line",
     "$ref": "#/$defs/positive_number"
   },
   "persistent_outage_duration": {
     "description": "[hours] expected duration of persistent outage (time between outage and crews re-energizing the branch)",
     "$ref": "#/$defs/nonnegative_number"
   },
   "persistent_outage_rate": {
     "description": "[events/year] number of expected persistent outages per year (outages not cleared by reconnectors)",
     "$ref": "#/$defs/nonnegative_number"
   },
   "r": {
     "description": "[Ohm or pu] series resistance of line",
     "type": "number"
   },
   "sm_ub_a": {
     "description": "[MVA or pu] persistent apparent power rating",
     "anyOf": [
       {
         "$ref": "#/$defs/nonnegative_number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "sm_ub_b": {
     "description": "[MVA or pu] 4-hour apparent power rating",
     "anyOf": [
       {
         "$ref": "#/$defs/nonnegative_number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "sm_ub_c": {
     "description": "[MVA or pu] 15-minute apparent power rating",
     "anyOf": [
       {
         "$ref": "#/$defs/nonnegative_number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "status": {
     "$ref": "#/$defs/status"
   },
   "transient_outage_rate": {
     "description": "[events/year] number of expected transient outages per year (outages cleared by reconnectors)",
     "$ref": "#/$defs/nonnegative_number"
   },
   "uid": {
     "$ref": "#/$defs/uid"
   },
   "vad_lb": {
     "description": "[deg] voltage angle difference lower bound (stability)",
     "type": "number"
   },
   "vad_ub": {
     "description": "[deg] voltage angle difference upper bound (stability)",
     "type": "number"
   },
   "x": {
     "description": "[Ohm or pu] series impedance of line",
     "type": "number"
   }
 }
}

Fields§

§b_fr: Option<f64>§b_to: Option<f64>§bus_fr: Uid

uid of bus at the from terminal of ac line

§bus_to: Uid

uid of bus at the to terminal of ac line

§cm_ub_a: Option<CtmNetworkAcLineItemCmUbA>

[kA or pu] persistent current rating

§cm_ub_b: Option<CtmNetworkAcLineItemCmUbB>

[kA or pu] 4-hour current rating

§cm_ub_c: Option<CtmNetworkAcLineItemCmUbC>

[kA or pu] 15-minute current rating

§ext: Option<Value>

additional ac line parameters currently not supported by CTM

§g_fr: Option<f64>§g_to: Option<f64>§name: Option<String>

line name

§nominal_mva: Option<PositiveNumber>

[MVA] nominal apparent power of ac line

§persistent_outage_duration: Option<NonnegativeNumber>

[hours] expected duration of persistent outage (time between outage and crews re-energizing the branch)

§persistent_outage_rate: Option<NonnegativeNumber>

[events/year] number of expected persistent outages per year (outages not cleared by reconnectors)

§r: f64§sm_ub_a: Option<CtmNetworkAcLineItemSmUbA>

[MVA or pu] persistent apparent power rating

§sm_ub_b: Option<CtmNetworkAcLineItemSmUbB>

[MVA or pu] 4-hour apparent power rating

§sm_ub_c: Option<CtmNetworkAcLineItemSmUbC>

[MVA or pu] 15-minute apparent power rating

§status: Status§transient_outage_rate: Option<NonnegativeNumber>

[events/year] number of expected transient outages per year (outages cleared by reconnectors)

§uid: Uid§vad_lb: Option<f64>§vad_ub: Option<f64>§x: f64

Implementations§

Trait Implementations§

Source§

impl Clone for CtmNetworkAcLineItem

Source§

fn clone(&self) -> CtmNetworkAcLineItem

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CtmNetworkAcLineItem

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CtmNetworkAcLineItem

Source§

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 From<&CtmNetworkAcLineItem> for CtmNetworkAcLineItem

Source§

fn from(value: &CtmNetworkAcLineItem) -> Self

Converts to this type from the input type.
Source§

impl From<CtmNetworkAcLineItem> for CtmNetworkAcLineItem

Source§

fn from(value: CtmNetworkAcLineItem) -> Self

Converts to this type from the input type.
Source§

impl Serialize for CtmNetworkAcLineItem

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<CtmNetworkAcLineItem> for CtmNetworkAcLineItem

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: CtmNetworkAcLineItem) -> Result<Self, ConversionError>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,