(Quasi) Static / RMS Models

static phasor models

Single Phase

single phase static phasor models

class AvVoltageSourceInverterDQ

Bases: SimPowerCompComplex

connect(self: AvVoltageSourceInverterDQ, arg0: collections.abc.Sequence[SimNode]) None
set_controller_parameters(self: AvVoltageSourceInverterDQ, Kp_pll: SupportsFloat | SupportsIndex, Ki_pll: SupportsFloat | SupportsIndex, Kp_power_ctrl: SupportsFloat | SupportsIndex, Ki_power_ctrl: SupportsFloat | SupportsIndex, Kp_curr_ctrl: SupportsFloat | SupportsIndex, Ki_curr_ctrl: SupportsFloat | SupportsIndex, omega_cutoff: SupportsFloat | SupportsIndex) None
set_filter_parameters(self: AvVoltageSourceInverterDQ, Lf: SupportsFloat | SupportsIndex, Cf: SupportsFloat | SupportsIndex, Rf: SupportsFloat | SupportsIndex, Rc: SupportsFloat | SupportsIndex) None
set_initial_state_values(self: AvVoltageSourceInverterDQ, p_init: SupportsFloat | SupportsIndex, q_init: SupportsFloat | SupportsIndex, phi_d_init: SupportsFloat | SupportsIndex, phi_q_init: SupportsFloat | SupportsIndex, gamma_d_init: SupportsFloat | SupportsIndex, gamma_q_init: SupportsFloat | SupportsIndex) None
set_parameters(self: AvVoltageSourceInverterDQ, sys_omega: SupportsFloat | SupportsIndex, sys_volt_nom: SupportsFloat | SupportsIndex, p_ref: SupportsFloat | SupportsIndex, q_ref: SupportsFloat | SupportsIndex) None
set_transformer_parameters(self: AvVoltageSourceInverterDQ, nom_voltage_end_1: SupportsFloat | SupportsIndex, nom_voltage_end_2: SupportsFloat | SupportsIndex, rated_power: SupportsFloat | SupportsIndex, ratio_abs: SupportsFloat | SupportsIndex, ratio_phase: SupportsFloat | SupportsIndex, resistance: SupportsFloat | SupportsIndex, inductance: SupportsFloat | SupportsIndex) None
with_control(self: AvVoltageSourceInverterDQ, arg0: bool) None
class Capacitor

Bases: SimPowerCompComplex

connect(self: Capacitor, arg0: collections.abc.Sequence[SimNode]) None
set_parameters(self: Capacitor, C: SupportsFloat | SupportsIndex) None
property C
class Inductor

Bases: SimPowerCompComplex

connect(self: Inductor, arg0: collections.abc.Sequence[SimNode]) None
set_parameters(self: Inductor, L: SupportsFloat | SupportsIndex) None
property L
class Load

Bases: SimPowerCompComplex

connect(self: Load, arg0: collections.abc.Sequence[SimNode]) None
modify_power_flow_bus_type(self: Load, bus_type: PowerflowBusType) None
set_parameters(self: Load, active_power: SupportsFloat | SupportsIndex, reactive_power: SupportsFloat | SupportsIndex, nominal_voltage: SupportsFloat | SupportsIndex) None
class NetworkInjection

Bases: SimPowerCompComplex

connect(self: NetworkInjection, arg0: collections.abc.Sequence[SimNode]) None
modify_power_flow_bus_type(self: NetworkInjection, bus_type: PowerflowBusType) None
set_base_voltage(self: NetworkInjection, base_voltage: SupportsFloat | SupportsIndex) None
set_parameters(*args, **kwargs)

Overloaded function.

  1. set_parameters(self: dpsimpy.sp.ph1.NetworkInjection, voltage_set_point: typing.SupportsFloat | typing.SupportsIndex) -> None

  2. set_parameters(self: dpsimpy.sp.ph1.NetworkInjection, V_ref: typing.SupportsComplex | typing.SupportsFloat | typing.SupportsIndex, f_src: typing.SupportsFloat | typing.SupportsIndex = 0) -> None

class PiLine

Bases: SimPowerCompComplex

connect(self: PiLine, arg0: collections.abc.Sequence[SimNode]) None
set_base_voltage(self: PiLine, base_voltage: SupportsFloat | SupportsIndex) None
set_parameters(self: PiLine, R: SupportsFloat | SupportsIndex, L: SupportsFloat | SupportsIndex, C: SupportsFloat | SupportsIndex = -1, G: SupportsFloat | SupportsIndex = -1) None
class ReducedOrderSynchronGeneratorVBR

Bases: ReducedOrderSynchronGeneratorComplex

class Resistor

Bases: SimPowerCompComplex

connect(self: Resistor, arg0: collections.abc.Sequence[SimNode]) None
set_parameters(self: Resistor, R: SupportsFloat | SupportsIndex) None
property R
class Shunt

Bases: SimPowerCompComplex

connect(self: Shunt, arg0: collections.abc.Sequence[SimNode]) None
set_base_voltage(self: Shunt, base_voltage: SupportsFloat | SupportsIndex) None
set_parameters(self: Shunt, G: SupportsFloat | SupportsIndex, B: SupportsFloat | SupportsIndex) None
class Switch

Bases: SimPowerCompComplex, Switch

close(self: Switch) None
connect(self: Switch, arg0: collections.abc.Sequence[SimNode]) None
open(self: Switch) None
set_parameters(self: Switch, open_resistance: SupportsFloat | SupportsIndex, closed_resistance: SupportsFloat | SupportsIndex, closed: bool = False) None
class SynchronGenerator

Bases: SimPowerCompComplex

connect(self: SynchronGenerator, arg0: collections.abc.Sequence[SimNode]) None
get_apparent_power(self: SynchronGenerator) complex
modify_power_flow_bus_type(self: SynchronGenerator, bus_type: PowerflowBusType) None
set_base_voltage(self: SynchronGenerator, base_voltage: SupportsFloat | SupportsIndex) None
set_parameters(self: SynchronGenerator, rated_apparent_power: SupportsFloat | SupportsIndex, rated_voltage: SupportsFloat | SupportsIndex, set_point_active_power: SupportsFloat | SupportsIndex, set_point_voltage: SupportsFloat | SupportsIndex, powerflow_bus_type: PowerflowBusType, set_point_reactive_power: SupportsFloat | SupportsIndex = 0, q_limit_max: SupportsFloat | SupportsIndex = inf, q_limit_min: SupportsFloat | SupportsIndex = -inf) None
class SynchronGenerator3OrderVBR

Bases: ReducedOrderSynchronGeneratorVBR

connect(self: SynchronGenerator3OrderVBR, arg0: collections.abc.Sequence[SimNode]) None
set_operational_parameters_per_unit(self: SynchronGenerator3OrderVBR, nom_power: SupportsFloat | SupportsIndex, nom_voltage: SupportsFloat | SupportsIndex, nom_frequency: SupportsFloat | SupportsIndex, H: SupportsFloat | SupportsIndex, Ld: SupportsFloat | SupportsIndex, Lq: SupportsFloat | SupportsIndex, L0: SupportsFloat | SupportsIndex, Ld_t: SupportsFloat | SupportsIndex, Td0_t: SupportsFloat | SupportsIndex) None
class SynchronGenerator4OrderVBR

Bases: ReducedOrderSynchronGeneratorVBR

connect(self: SynchronGenerator4OrderVBR, arg0: collections.abc.Sequence[SimNode]) None
set_operational_parameters_per_unit(self: SynchronGenerator4OrderVBR, nom_power: SupportsFloat | SupportsIndex, nom_voltage: SupportsFloat | SupportsIndex, nom_frequency: SupportsFloat | SupportsIndex, H: SupportsFloat | SupportsIndex, Ld: SupportsFloat | SupportsIndex, Lq: SupportsFloat | SupportsIndex, L0: SupportsFloat | SupportsIndex, Ld_t: SupportsFloat | SupportsIndex, Lq_t: SupportsFloat | SupportsIndex, Td0_t: SupportsFloat | SupportsIndex, Tq0_t: SupportsFloat | SupportsIndex) None
class SynchronGenerator5OrderVBR

Bases: ReducedOrderSynchronGeneratorVBR

connect(self: SynchronGenerator5OrderVBR, arg0: collections.abc.Sequence[SimNode]) None
set_operational_parameters_per_unit(self: SynchronGenerator5OrderVBR, nom_power: SupportsFloat | SupportsIndex, nom_voltage: SupportsFloat | SupportsIndex, nom_frequency: SupportsFloat | SupportsIndex, H: SupportsFloat | SupportsIndex, Ld: SupportsFloat | SupportsIndex, Lq: SupportsFloat | SupportsIndex, L0: SupportsFloat | SupportsIndex, Ld_t: SupportsFloat | SupportsIndex, Lq_t: SupportsFloat | SupportsIndex, Td0_t: SupportsFloat | SupportsIndex, Tq0_t: SupportsFloat | SupportsIndex, Ld_s: SupportsFloat | SupportsIndex, Lq_s: SupportsFloat | SupportsIndex, Td0_s: SupportsFloat | SupportsIndex, Tq0_s: SupportsFloat | SupportsIndex, Taa: SupportsFloat | SupportsIndex) None
class SynchronGenerator6aOrderVBR

Bases: ReducedOrderSynchronGeneratorVBR

connect(self: SynchronGenerator6aOrderVBR, arg0: collections.abc.Sequence[SimNode]) None
set_operational_parameters_per_unit(self: SynchronGenerator6aOrderVBR, nom_power: SupportsFloat | SupportsIndex, nom_voltage: SupportsFloat | SupportsIndex, nom_frequency: SupportsFloat | SupportsIndex, H: SupportsFloat | SupportsIndex, Ld: SupportsFloat | SupportsIndex, Lq: SupportsFloat | SupportsIndex, L0: SupportsFloat | SupportsIndex, Ld_t: SupportsFloat | SupportsIndex, Lq_t: SupportsFloat | SupportsIndex, Td0_t: SupportsFloat | SupportsIndex, Tq0_t: SupportsFloat | SupportsIndex, Ld_s: SupportsFloat | SupportsIndex, Lq_s: SupportsFloat | SupportsIndex, Td0_s: SupportsFloat | SupportsIndex, Tq0_s: SupportsFloat | SupportsIndex, Taa: SupportsFloat | SupportsIndex) None
class SynchronGenerator6bOrderVBR

Bases: ReducedOrderSynchronGeneratorVBR

connect(self: SynchronGenerator6bOrderVBR, arg0: collections.abc.Sequence[SimNode]) None
set_operational_parameters_per_unit(self: SynchronGenerator6bOrderVBR, nom_power: SupportsFloat | SupportsIndex, nom_voltage: SupportsFloat | SupportsIndex, nom_frequency: SupportsFloat | SupportsIndex, H: SupportsFloat | SupportsIndex, Ld: SupportsFloat | SupportsIndex, Lq: SupportsFloat | SupportsIndex, L0: SupportsFloat | SupportsIndex, Ld_t: SupportsFloat | SupportsIndex, Lq_t: SupportsFloat | SupportsIndex, Td0_t: SupportsFloat | SupportsIndex, Tq0_t: SupportsFloat | SupportsIndex, Ld_s: SupportsFloat | SupportsIndex, Lq_s: SupportsFloat | SupportsIndex, Td0_s: SupportsFloat | SupportsIndex, Tq0_s: SupportsFloat | SupportsIndex, Taa: SupportsFloat | SupportsIndex = 0) None
class SynchronGeneratorTrStab

Bases: SimPowerCompComplex

connect(self: SynchronGeneratorTrStab, arg0: collections.abc.Sequence[SimNode]) None
set_initial_values(self: SynchronGeneratorTrStab, elec_power: SupportsComplex | SupportsFloat | SupportsIndex, mech_power: SupportsFloat | SupportsIndex) None
set_model_flags(self: SynchronGeneratorTrStab, convert_with_omega_mech: bool) None
set_reference_omega(self: SynchronGeneratorTrStab, ref_omega_name: str = 'w_r', ref_omage_comp: IdentifiedObject, ref_delta_name: str = 'delta_r', ref_delta_comp: IdentifiedObject) None
set_standard_parameters_PU(self: SynchronGeneratorTrStab, nom_power: SupportsFloat | SupportsIndex, nom_volt: SupportsFloat | SupportsIndex, nom_freq: SupportsFloat | SupportsIndex, Xpd: SupportsFloat | SupportsIndex, inertia: SupportsFloat | SupportsIndex, Rs: SupportsFloat | SupportsIndex = 0, D: SupportsFloat | SupportsIndex = 0) None
class Transformer

Bases: SimPowerCompComplex

connect(self: Transformer, arg0: collections.abc.Sequence[SimNode]) None
set_base_voltage(self: Transformer, base_voltage: SupportsFloat | SupportsIndex) None
set_parameters(*args, **kwargs)

Overloaded function.

  1. set_parameters(self: dpsimpy.sp.ph1.Transformer, nom_voltage_end_1: typing.SupportsFloat | typing.SupportsIndex, nom_voltage_end_2: typing.SupportsFloat | typing.SupportsIndex, ratio_abs: typing.SupportsFloat | typing.SupportsIndex, ratio_phase: typing.SupportsFloat | typing.SupportsIndex, resistance: typing.SupportsFloat | typing.SupportsIndex, inductance: typing.SupportsFloat | typing.SupportsIndex) -> None

  2. set_parameters(self: dpsimpy.sp.ph1.Transformer, nom_voltage_end_1: typing.SupportsFloat | typing.SupportsIndex, nom_voltage_end_2: typing.SupportsFloat | typing.SupportsIndex, rated_power: typing.SupportsFloat | typing.SupportsIndex, ratio_abs: typing.SupportsFloat | typing.SupportsIndex, ratio_phase: typing.SupportsFloat | typing.SupportsIndex, resistance: typing.SupportsFloat | typing.SupportsIndex, inductance: typing.SupportsFloat | typing.SupportsIndex) -> None

class VoltageSource

Bases: SimPowerCompComplex

connect(self: VoltageSource, arg0: collections.abc.Sequence[SimNode]) None
set_parameters(self: VoltageSource, V_ref: SupportsComplex | SupportsFloat | SupportsIndex, f_src: SupportsFloat | SupportsIndex = 0) None
property V_ref
property f_src
class varResSwitch

Bases: SimPowerCompComplex, Switch

close(self: varResSwitch) None
connect(self: varResSwitch, arg0: collections.abc.Sequence[SimNode]) None
open(self: varResSwitch) None
set_init_parameters(self: varResSwitch, time_step: SupportsFloat | SupportsIndex) None
set_parameters(self: varResSwitch, open_resistance: SupportsFloat | SupportsIndex, closed_resistance: SupportsFloat | SupportsIndex, closed: bool = False) None

Three Phase

three phase static phasor models

class Capacitor

Bases: SimPowerCompComplex

connect(self: Capacitor, arg0: collections.abc.Sequence[SimNode]) None
set_parameters(self: Capacitor, C: Annotated[numpy.typing.ArrayLike, numpy.float64, '[m, n]']) None
class Inductor

Bases: SimPowerCompComplex

connect(self: Inductor, arg0: collections.abc.Sequence[SimNode]) None
set_parameters(self: Inductor, L: Annotated[numpy.typing.ArrayLike, numpy.float64, '[m, n]']) None
class Resistor

Bases: SimPowerCompComplex

connect(self: Resistor, arg0: collections.abc.Sequence[SimNode]) None
set_parameters(self: Resistor, R: Annotated[numpy.typing.ArrayLike, numpy.float64, '[m, n]']) None
class VoltageSource

Bases: SimPowerCompComplex

connect(self: VoltageSource, arg0: collections.abc.Sequence[SimNode]) None
set_parameters(self: VoltageSource, V_ref: SupportsComplex | SupportsFloat | SupportsIndex) None
property V_ref
property f_src