Skip to main content

SynchronousMachineEquivalentCircuit

Struct SynchronousMachineEquivalentCircuit 

Source
pub struct SynchronousMachineEquivalentCircuit {
    pub base: SynchronousMachineDetailed,
    pub r1d: Option<f64>,
    pub r1q: Option<f64>,
    pub r2q: Option<f64>,
    pub rfd: Option<f64>,
    pub x1d: Option<f64>,
    pub x1q: Option<f64>,
    pub x2q: Option<f64>,
    pub xad: Option<f64>,
    pub xaq: Option<f64>,
    pub xf1d: Option<f64>,
    pub xfd: Option<f64>,
}
Expand description

The electrical equations for all variations of the synchronous models are based on the SynchronousEquivalentCircuit diagram for the direct- and quadrature- axes. Equations for conversion between equivalent circuit and time constant reactance forms: Xd = Xad + Xl X’d = Xl + Xad x Xfd / (Xad + Xfd) X”d = Xl + Xad x Xfd x X1d / (Xad x Xfd + Xad x X1d + Xfd x X1d) Xq = Xaq + Xl X’q = Xl + Xaq x X1q / (Xaq + X1q) X”q = Xl + Xaq x X1q x X2q / (Xaq x X1q + Xaq x X2q + X1q x X2q) T’do = (Xad + Xfd) / (omega0 x Rfd) T”do = (Xad x Xfd + Xad x X1d + Xfd x X1d) / (omega0 x R1d x (Xad + Xfd) T’qo = (Xaq + X1q) / (omega0 x R1q) T”qo = (Xaq x X1q + Xaq x X2q + X1q x X2q) / (omega0 x R2q x (Xaq + X1q) Same equations using CIM attributes from SynchronousMachineTimeConstantReactance class on left of ‘=’ and SynchronousMachineEquivalentCircuit class on right (except as noted): xDirectSync = xad + RotatingMachineDynamics.statorLeakageReactance xDirectTrans = RotatingMachineDynamics.statorLeakageReactance + xad x xfd / (xad + xfd) xDirectSubtrans = RotatingMachineDynamics.statorLeakageReactance + xad x xfd x x1d / (xad x xfd + xad x x1d + xfd x x1d) xQuadSync = xaq + RotatingMachineDynamics.statorLeakageReactance xQuadTrans = RotatingMachineDynamics.statorLeakageReactance + xaq x x1q / (xaq+ x1q) xQuadSubtrans = RotatingMachineDynamics.statorLeakageReactance + xaq x x1q x x2q / (xaq x x1q + xaq x x2q + x1q x x2q) tpdo = (xad + xfd) / (2 x pi x nominal frequency x rfd) tppdo = (xad x xfd + xad x x1d + xfd x x1d) / (2 x pi x nominal frequency x r1d x (xad + xfd) tpqo = (xaq + x1q) / (2 x pi x nominal frequency x r1q) tppqo = (xaq x x1q + xaq x x2q + x1q x x2q) / (2 x pi x nominal frequency x r2q x (xaq + x1q) These are only valid for a simplified model where ‘Canay’ reactance is zero.

Fields§

§base: SynchronousMachineDetailed§r1d: Option<f64>

Direct-axis damper 1 winding resistance.

§r1q: Option<f64>

Quadrature-axis damper 1 winding resistance.

§r2q: Option<f64>

Quadrature-axis damper 2 winding resistance.

§rfd: Option<f64>

Field winding resistance.

§x1d: Option<f64>

Direct-axis damper 1 winding leakage reactance.

§x1q: Option<f64>

Quadrature-axis damper 1 winding leakage reactance.

§x2q: Option<f64>

Quadrature-axis damper 2 winding leakage reactance.

§xad: Option<f64>

Direct-axis mutual reactance.

§xaq: Option<f64>

Quadrature-axis mutual reactance.

§xf1d: Option<f64>

Differential mutual (“Canay”) reactance.

§xfd: Option<f64>

Field winding leakage reactance.

Implementations§

Trait Implementations§

Source§

impl CimElement for SynchronousMachineEquivalentCircuit

Source§

fn mrid(&self) -> &str

Source§

fn type_name(&self) -> &'static str

Source§

fn as_any(&self) -> &dyn Any

Source§

fn to_json_value(&self) -> Value

Source§

fn to_block(&self) -> RdfBlock

Source§

impl Clone for SynchronousMachineEquivalentCircuit

Source§

fn clone(&self) -> SynchronousMachineEquivalentCircuit

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for SynchronousMachineEquivalentCircuit

Source§

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

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

impl Default for SynchronousMachineEquivalentCircuit

Source§

fn default() -> SynchronousMachineEquivalentCircuit

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for SynchronousMachineEquivalentCircuit

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 Serialize for SynchronousMachineEquivalentCircuit

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

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

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

Source§

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

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

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

Performs the conversion.