CtmNetworkHvdcP2pItem

Struct CtmNetworkHvdcP2pItem 

Source
pub struct CtmNetworkHvdcP2pItem {
Show 32 fields pub base_kv_dc: Option<PositiveNumber>, pub bus_fr: Uid, pub bus_to: Uid, pub cm_ub_fr: Option<CtmNetworkHvdcP2pItemCmUbFr>, pub cm_ub_to: Option<CtmNetworkHvdcP2pItemCmUbTo>, pub ext: Option<Value>, pub loss_a: NonnegativeNumber, pub loss_b: NonnegativeNumber, pub loss_c: NonnegativeNumber, pub name: Option<String>, pub nominal_mva: Option<PositiveNumber>, pub p: Option<i64>, pub pdc_fr_lb: Option<CtmNetworkHvdcP2pItemPdcFrLb>, pub pdc_fr_ub: Option<CtmNetworkHvdcP2pItemPdcFrUb>, pub pdc_to_lb: Option<CtmNetworkHvdcP2pItemPdcToLb>, pub pdc_to_ub: Option<CtmNetworkHvdcP2pItemPdcToUb>, pub persistent_outage_duration: Option<NonnegativeNumber>, pub persistent_outage_rate: Option<NonnegativeNumber>, pub phi_lb: Option<f64>, pub phi_ub: Option<f64>, pub qdc_fr_lb: Option<CtmNetworkHvdcP2pItemQdcFrLb>, pub qdc_fr_ub: Option<CtmNetworkHvdcP2pItemQdcFrUb>, pub qdc_to_lb: Option<CtmNetworkHvdcP2pItemQdcToLb>, pub qdc_to_ub: Option<CtmNetworkHvdcP2pItemQdcToUb>, pub r: NonnegativeNumber, pub sm_ub: Option<CtmNetworkHvdcP2pItemSmUb>, pub status: Status, pub technology: Option<CtmNetworkHvdcP2pItemTechnology>, pub transient_outage_rate: Option<NonnegativeNumber>, pub uid: Uid, pub vm_dc_lb: Option<PositiveNumber>, pub vm_dc_ub: Option<PositiveNumber>,
}
Expand description

structure to hold point-to-point hvdc line data

JSON schema
{
 "description": "structure to hold point-to-point hvdc line data",
 "type": "object",
 "required": [
   "bus_fr",
   "bus_to",
   "status",
   "uid"
 ],
 "properties": {
   "base_kv_dc": {
     "description": "[kV] base voltage at the dc side",
     "$ref": "#/$defs/positive_number"
   },
   "bus_fr": {
     "description": "uid of bus at the from terminal of hvdc line",
     "$ref": "#/$defs/uid"
   },
   "bus_to": {
     "description": "uid of bus at the to terminal of hvdc line",
     "$ref": "#/$defs/uid"
   },
   "cm_ub_fr": {
     "description": "[kA or pu] ac persistent current rating, from terminal (if in pu, use from bus base_kv)",
     "anyOf": [
       {
         "$ref": "#/$defs/nonnegative_number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "cm_ub_to": {
     "description": "[kA or pu] ac persistent current rating, to terminal (if in pu, use to bus base_kv)",
     "anyOf": [
       {
         "$ref": "#/$defs/nonnegative_number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "ext": {
     "description": "additional hvdc point-to-point parameters currently not supported by CTM"
   },
   "loss_a": {
     "description": "[MW or pu] standby loss",
     "default": 0,
     "$ref": "#/$defs/nonnegative_number"
   },
   "loss_b": {
     "description": "[kV or pu] loss proportional to current magnitude (if in pu, base voltage corresponds to base_kv_dc)",
     "default": 0,
     "$ref": "#/$defs/nonnegative_number"
   },
   "loss_c": {
     "description": "[Ohm or pu] loss proportional to current magnitude squared (if in pu, base voltage corresponds to base_kv_dc)",
     "default": 0,
     "$ref": "#/$defs/nonnegative_number"
   },
   "name": {
     "description": "HVDC line name",
     "type": "string"
   },
   "nominal_mva": {
     "description": "[MVA] nominal apparent power of hvdc line",
     "$ref": "#/$defs/positive_number"
   },
   "p": {
     "description": "number of poles; 1 => monopole, 2 => bipole",
     "type": "integer",
     "maximum": 2.0,
     "minimum": 1.0
   },
   "pdc_fr_lb": {
     "description": "[MW or pu] minimum active power entering hvdc line at from bus",
     "anyOf": [
       {
         "type": "number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "pdc_fr_ub": {
     "description": "[MW or pu] maximum active power entering hvdc line at from bus",
     "anyOf": [
       {
         "type": "number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "pdc_to_lb": {
     "description": "[MW or pu] minimum active power entering hvdc line at to bus",
     "anyOf": [
       {
         "type": "number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "pdc_to_ub": {
     "description": "[MW or pu] maximum active power entering hvdc line at to bus",
     "anyOf": [
       {
         "type": "number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "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"
   },
   "phi_lb": {
     "description": "[deg] only meaningful if technology == LCC; firing angle minimum",
     "type": "number"
   },
   "phi_ub": {
     "description": "[deg] only meaningful if technology == LCC; firing angle maximum",
     "type": "number"
   },
   "qdc_fr_lb": {
     "description": "[MVAr or pu] minimum reactive power entering hvdc line at from bus",
     "anyOf": [
       {
         "type": "number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "qdc_fr_ub": {
     "description": "[MVAr or pu] maximum reactive power entering hvdc line at from bus",
     "anyOf": [
       {
         "type": "number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "qdc_to_lb": {
     "description": "[MVAr or pu] minimum reactive power entering hvdc line at to bus",
     "anyOf": [
       {
         "type": "number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "qdc_to_ub": {
     "description": "[MW or pu] maximum active power entering hvdc line at to bus",
     "anyOf": [
       {
         "type": "number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "r": {
     "description": "[Ohm or pu] dc line resistance (if in pu, base voltage corresponds to base_kv_dc)",
     "default": 0.0,
     "$ref": "#/$defs/nonnegative_number"
   },
   "sm_ub": {
     "description": "[MVA or pu] ac persistent apparent power rating",
     "anyOf": [
       {
         "$ref": "#/$defs/nonnegative_number"
       },
       {
         "$ref": "#/$defs/time_series_reference"
       }
     ]
   },
   "status": {
     "$ref": "#/$defs/status"
   },
   "technology": {
     "description": "power conversion technology",
     "type": "string",
     "enum": [
       "LCC",
       "VSC",
       "MMC"
     ]
   },
   "transient_outage_rate": {
     "description": "[events/year] number of expected transient outages per year (outages cleared by reconnectors or other)",
     "$ref": "#/$defs/nonnegative_number"
   },
   "uid": {
     "$ref": "#/$defs/uid"
   },
   "vm_dc_lb": {
     "description": "[kV or pu] minimum voltage at the dc side",
     "$ref": "#/$defs/positive_number"
   },
   "vm_dc_ub": {
     "description": "[kV or pu] maximum voltage at the dc side",
     "$ref": "#/$defs/positive_number"
   }
 }
}

Fields§

§base_kv_dc: Option<PositiveNumber>

[kV] base voltage at the dc side

§bus_fr: Uid

uid of bus at the from terminal of hvdc line

§bus_to: Uid

uid of bus at the to terminal of hvdc line

§cm_ub_fr: Option<CtmNetworkHvdcP2pItemCmUbFr>

[kA or pu] ac persistent current rating, from terminal (if in pu, use from bus base_kv)

§cm_ub_to: Option<CtmNetworkHvdcP2pItemCmUbTo>

[kA or pu] ac persistent current rating, to terminal (if in pu, use to bus base_kv)

§ext: Option<Value>

additional hvdc point-to-point parameters currently not supported by CTM

§loss_a: NonnegativeNumber

[MW or pu] standby loss

§loss_b: NonnegativeNumber

[kV or pu] loss proportional to current magnitude (if in pu, base voltage corresponds to base_kv_dc)

§loss_c: NonnegativeNumber

[Ohm or pu] loss proportional to current magnitude squared (if in pu, base voltage corresponds to base_kv_dc)

§name: Option<String>

HVDC line name

§nominal_mva: Option<PositiveNumber>

[MVA] nominal apparent power of hvdc line

§p: Option<i64>

number of poles; 1 => monopole, 2 => bipole

§pdc_fr_lb: Option<CtmNetworkHvdcP2pItemPdcFrLb>

[MW or pu] minimum active power entering hvdc line at from bus

§pdc_fr_ub: Option<CtmNetworkHvdcP2pItemPdcFrUb>

[MW or pu] maximum active power entering hvdc line at from bus

§pdc_to_lb: Option<CtmNetworkHvdcP2pItemPdcToLb>

[MW or pu] minimum active power entering hvdc line at to bus

§pdc_to_ub: Option<CtmNetworkHvdcP2pItemPdcToUb>

[MW or pu] maximum active power entering hvdc line at to bus

§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)

§phi_lb: Option<f64>§phi_ub: Option<f64>§qdc_fr_lb: Option<CtmNetworkHvdcP2pItemQdcFrLb>

[MVAr or pu] minimum reactive power entering hvdc line at from bus

§qdc_fr_ub: Option<CtmNetworkHvdcP2pItemQdcFrUb>

[MVAr or pu] maximum reactive power entering hvdc line at from bus

§qdc_to_lb: Option<CtmNetworkHvdcP2pItemQdcToLb>

[MVAr or pu] minimum reactive power entering hvdc line at to bus

§qdc_to_ub: Option<CtmNetworkHvdcP2pItemQdcToUb>

[MW or pu] maximum active power entering hvdc line at to bus

§r: NonnegativeNumber

[Ohm or pu] dc line resistance (if in pu, base voltage corresponds to base_kv_dc)

§sm_ub: Option<CtmNetworkHvdcP2pItemSmUb>

[MVA or pu] ac persistent apparent power rating

§status: Status§technology: Option<CtmNetworkHvdcP2pItemTechnology>

power conversion technology

§transient_outage_rate: Option<NonnegativeNumber>

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

§uid: Uid§vm_dc_lb: Option<PositiveNumber>

[kV or pu] minimum voltage at the dc side

§vm_dc_ub: Option<PositiveNumber>

[kV or pu] maximum voltage at the dc side

Implementations§

Trait Implementations§

Source§

impl Clone for CtmNetworkHvdcP2pItem

Source§

fn clone(&self) -> CtmNetworkHvdcP2pItem

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 CtmNetworkHvdcP2pItem

Source§

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

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

impl<'de> Deserialize<'de> for CtmNetworkHvdcP2pItem

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<&CtmNetworkHvdcP2pItem> for CtmNetworkHvdcP2pItem

Source§

fn from(value: &CtmNetworkHvdcP2pItem) -> Self

Converts to this type from the input type.
Source§

impl From<CtmNetworkHvdcP2pItem> for CtmNetworkHvdcP2pItem

Source§

fn from(value: CtmNetworkHvdcP2pItem) -> Self

Converts to this type from the input type.
Source§

impl Serialize for CtmNetworkHvdcP2pItem

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<CtmNetworkHvdcP2pItem> for CtmNetworkHvdcP2pItem

Source§

type Error = ConversionError

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

fn try_from(value: CtmNetworkHvdcP2pItem) -> 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>,