Main Content

Synchronous Machine Salient Pole

Salient-pole synchronous machine with fundamental or standard parameterization

  • Synchronous Machine Salient Pole block

Libraries:
Simscape / Electrical / Electromechanical / Synchronous

Description

The Synchronous Machine Salient Pole block models a salient-pole synchronous machine using fundamental or standard parameters.

Synchronous Machine Initialization Using Load-Flow Target Values

If the block is in a network that is compatible with the frequency-time simulation mode, you can perform a load-flow analysis on the network. A load-flow analysis provides steady-state values that you can use to initialize the machine.

For more information, see Perform a Load-Flow Analysis Using Simscape Electrical and Frequency and Time Simulation Mode. For an example that shows how to initialize a synchronous machine using data from a load-flow analysis, see Synchronous Machine Initialization with Loadflow.

Equations

The synchronous machine equations are expressed with respect to a rotating reference frame, defined by

θe(t)=Nθr(t),

where:

  • θe is the electrical angle.

  • N is the number of pole pairs.

  • θr is the rotor angle.

The Park transformation maps the synchronous machine equations to the rotating reference frame with respect to the electrical angle. The Park transformation is defined by

Ps=23[cosθecos(θe2π3)cos(θe+2π3)sinθesin(θe2π3)sin(θe+2π3)121212].

The Park transformation is used to define the per-unit synchronous machine equations. The stator voltage equations are defined by

ed=1ωbasedψddtΨqωrRaid,

eq=1ωbasedψqdt+ΨdωrRaiq,

and

e0=1ωbasedΨ0dtRai0,

where:

  • ed, eq, and e0 are the d-axis, q-axis, and zero-sequence stator voltages, defined by

    [edeqe0]=Ps[vavbvc].

    va, vb, and vc are the stator voltages measured from port ~ to neutral port n.

  • ωbase is the per-unit base electrical speed.

  • ψd, ψq, and ψ0 are the d-axis, q-axis, and zero-sequence stator flux linkages.

  • ωr is the per-unit rotor rotational speed.

  • Ra is the stator resistance.

  • id, iq, and i0 are the d-axis, q-axis, and zero-sequence stator currents, defined by

    [idiqi0]=Ps[iaibic].

    ia, ib, and ic are the stator currents flowing from port ~ to port n.

The rotor voltage equations are defined by

efd=1ωbasedΨfddt+Rfdifd,

e1d=1ωbasedΨ1ddt+R1di1d=0,

and

e1q=1ωbasedΨ1qdt+R1qi1q=0,

where:

  • efd is the field voltage.

  • e1d, and e1q are the voltages across the d-axis damper winding 1 and q-axis damper winding 1. They are equal to 0.

  • ψfd, ψ1d, and ψ1q are the magnetic fluxes linking the field circuit, d-axis damper winding 1, and q-axis damper winding 1.

  • Rfd, R1d, and R1q are the resistances of rotor field circuit, d-axis damper winding 1, and q-axis damper winding 1.

  • ifd, i1d, and i1q are the currents flowing in the field circuit, d-axis damper winding 1, and q-axis damper winding 1.

The saturation equations are defined by

ψad=ψd+Llid,

ψaq=ψq+Lliq,

ψat=ψad2+ψaq2,

Ks=1 (if saturation is disabled),

Ks=f(ψat) (if saturation is enabled),

and

Lad=Ks*Ladu,

where:

  • ψad is the d-axis air-gap or mutual flux linkage.

  • ψaq is the q-axis air-gap or mutual flux linkage.

  • ψat is the air-gap flux linkage.

  • Ks is the saturation factor.

  • Ladu is the unsaturated mutual inductance of the stator d-axis.

  • Lad is the mutual inductance of the stator d-axis.

The saturation factor function, f, is calculated from the per-unit open-circuit lookup table as:

Lad=dψatdifd,

Vag=g(ifd),

and

Lad=dg(ifd)difd=dVagdifd,

where:

  • Vag is the per-unit air-gap voltage.

In per-unit,

Ks=LadLadu,

and

ψat=Vag

can be rearranged to

Ks=f(ψat).

The stator flux linkage equations are defined by

Ψd=(Lad+Ll)id+Ladifd+Ladi1d,

Ψq=(Laq+Ll)iq+Laqi1q,

and

Ψ0=L0i0,

where:

  • Ll is the stator leakage inductance.

  • Lad and Laq are the mutual inductances of the stator d-axis and q-axis.

The rotor flux linkage equations are defined by

ψfd=Lffdifd+Lf1di1dLadid,

ψ1d=Lf1difd+L11di1dLadid,

and

ψ1q=L11qi1qLaqiq,

where:

  • Lffd is the self-inductance of the rotor field circuit.

  • L11d is the self-inductance of the d-axis damper winding 1.

  • L11q is the self-inductance of the q-axis damper winding 1.

  • Lf1d is the roto field circuit and d-axis damper winding 1 mutual inductance.

The inductances are defined by these equations:

Lffd=Lad+Lfd

Lf1d=LffdLfd

L11d=Lf1d+L1d

L11q=Laq+L1q

The inductance equations assume that per-unit mutual inductance L12q = Laq, that is, the stator and rotor currents in the q-axis all link a single mutual flux represented by Laq.

The rotor torque is defined by

Te=ΨdiqΨqid.

Plotting and Display Options

You can perform plotting and display actions using the Electrical menu on the block context menu.

Right-click the block and, from the Electrical menu, select one of these options:

  • Display Base Values — Displays the machine per-unit base values in the MATLAB® Command Window.

  • Display Associated Base Values — Displays associated per-unit base values in the MATLAB Command Window.

  • Display Associated Initial Conditions — Displays associated initial conditions in the MATLAB Command Window.

  • Plot Open-Circuit Saturation (pu) — Plots air-gap voltage, Vag, versus field current, ifd, both measured in per-unit, in a MATLAB figure window. The plot contains three traces:

    • Unsaturated — Stator d-axis mutual inductance (unsaturated), Ladu you specify

    • Saturated — Per-unit open-circuit lookup table (Vag versus ifd) you specify

    • Derived — Open-circuit lookup table (per-unit) derived from the Per-unit open-circuit lookup table (Vag versus ifd) you specify. This data is used to calculate the saturation factor,Ks, versus magnetic flux linkage, ψat, characteristic.

  • Plot Saturation Factor (pu) — Plots saturation factor,Ks, versus magnetic flux linkage, ψat, both measured in per-unit, in a MATLAB figure window using the present machine parameters. This parameter is derived from other parameters that you specify:

    • Stator d-axis mutual inductance (unsaturated), Ladu

    • Per-unit field current saturation data, ifd

    • Per-unit air-gap voltage saturation data, Vag

  • Plot Power Capability Curves — Plots active power P versus reactive power Q, both measured in per-unit, in a MATLAB figure window. The plot might contain multiple traces. Each trace corresponds to a maximum field circuit voltage measured in per-unit (non-reciprocal per-unit system). The plot shows the maximum reactive power that the generator produces when operating with a lagging power factor and the minimum reactive power that the generator absorbs when operating with a leading power factor. (since R2023b)

Model Thermal Effects

You can expose thermal ports to model the effects of generated heat and machine temperature. To expose the thermal ports, set the Modeling option parameter to either:

  • No thermal port — The block does not contain thermal ports.

  • Show thermal port — The block contains multiple thermal conserving ports.

For more information about using thermal ports in actuator blocks, see Simulating Thermal Effects in Rotational and Translational Actuators.

Variables

To set the priority and initial target values for the block variables prior to simulation, use the Initial Targets section in the block dialog box or Property Inspector. For more information, see Set Priority and Initial Target for Block Variables.

For this block, the Initial Targets settings are visible only if, in the Initial Conditions section, you set the Initialization option parameter to Set targets for rotor angle and Park's transform variables.

Nominal values provide a way to specify the expected magnitude of a variable in a model. Using system scaling based on nominal values increases the simulation robustness. Nominal values can come from different sources, one of which is the Nominal Values section in the block dialog box or Property Inspector. For more information, see System Scaling by Nominal Values.

Examples

Ports

Output

expand all

Physical signal vector port associated with the machine per-unit measurements. The vector elements are:

  • Field voltage (field circuit base, Efd), pu_fd_Efd

  • Field current (field circuit base, Ifd), pu_fd_Ifd

  • Electrical torque, pu_torque

  • Rotor velocity, pu_velocity

  • Stator d-axis voltage, pu_ed

  • Stator q-axis voltage, pu_eq

  • Stator zero-sequence voltage, pu_e0

  • Stator d-axis current, pu_id

  • Stator q-axis current, pu_iq

  • Stator zero-sequence current, pu_i0

  • Rotor electrical angle, electrical_angle_out

To connect to this port, use the Synchronous Machine Measurement block.

Conserving

expand all

Electrical conserving port associated with the field winding positive terminal.

Electrical conserving port associated with the field winding negative terminal.

Mechanical rotational conserving port associated with the machine rotor.

Mechanical rotational conserving port associated with the machine case.

Expandable three-phase port associated with the stator windings.

Dependencies

To enable this port, set Electrical connection to Composite three-phase ports.

Electrical conserving port associated with the neutral point of the wye winding configuration.

Dependencies

To enable this port, set Zero sequence to Include.

Electrical conserving port associated with a-phase.

Dependencies

To enable this port, set Electrical connection to Expanded three-phase ports.

Electrical conserving port associated with b-phase.

Dependencies

To enable this port, set Electrical connection to Expanded three-phase ports.

Electrical conserving port associated with c-phase.

Dependencies

To enable this port, set Electrical connection to Expanded three-phase ports.

Thermal conserving port associated with stator winding a.

Dependencies

To enable this port, set Modeling option to Show thermal port.

Thermal conserving port associated with stator winding b.

Dependencies

To enable this port, set Modeling option to Show thermal port.

Thermal conserving port associated with stator winding c.

Dependencies

To enable this port, set Modeling option to Show thermal port.

Thermal conserving port associated with the rotor.

Dependencies

To enable this port, set Modeling option to Show thermal port.

Parameters

expand all

Option to enable the thermal ports of the block and model the effects of generated heat and machine temperature.

Main

Whether to have composite or expanded three-phase ports.

Rated apparent power.

RMS rated line-line voltage.

Nominal electrical frequency at which rated apparent power is quoted.

Number of machine pole pairs.

Block parameterization method. Options are:

  • Fundamental parameters — Specify impedance using fundamental parameters.

  • Standard parameters — Specify impedance using fundamental parameters and specify d-axis and q-axis time constants.

Dependencies

If this parameter is set to Fundamental parameters:

  • Fundamental parameters in the Impedances settings are visible.

  • Time Constant settings are visible.

If this parameter is set to Standard parameters:

  • Standard parameters in the Impedances settings are visible.

  • Time Constant settings are not visible.

Field circuit parameterization method. Options are:

  • Field circuit voltage — Specify the field circuit in terms of voltage.

  • Field circuit current — Specify the field circuit in terms of current.

This parameter affects the visibility of the Field circuit voltage and Field circuit current parameters.

Dependencies

If this parameter is set to Field circuit voltage.

  • The Field circuit voltage parameter is visible.

  • The Field circuit current parameter is not visible.

If this parameter is set to Field circuit current:

  • The Field circuit current parameter is visible.

  • The Field circuit voltage parameter is not visible.

Voltage across field circuit which produces rated voltage at machine terminals.

Dependencies

This parameter is visible only if the Specify field circuit input required to produce rated terminal voltage at no load by parameter is set to Field circuit voltage.

Current in field circuit which produces rated voltage at machine terminals.

Dependencies

This parameter is visible only if the Specify field circuit input required to produce rated terminal voltage at no load by parameter is set to Field circuit current.

Zero-sequence model:

  • Include — Prioritize model fidelity. This model is the default zero-sequence model. An error occurs if you Include zero-sequence terms for simulations that use the Partitioning solver. For more information, see Increase Simulation Speed Using the Partitioning Solver.

  • Exclude — Prioritize simulation speed for desktop simulation or real-time deployment.

Dependencies

If this parameter is set to:

  • Include and Specify parameterization by is set to Fundamental parameters — The Stator zero-sequence inductance, L0 parameter in the Impedances settings is visible.

  • Include and Specify parameterization by is set to Standard parameters — The zero-sequence reactance, X0 parameter in the Impedances settings is visible.

  • Exclude — The zero-sequence parameter in the Impedances settings is not visible.

Reference point for the rotor angle measurement.

When you select the default value, the rotor d-axis and stator a-phase magnetic axis are aligned when the rotor angle is zero.

The other value you can choose for this parameter is Angle between the a-phase magnetic axis and the q-axis. When you select this value, the rotor q-axis and stator a-phase magnetic axis are aligned when the rotor angle is zero.

Impedances

Unsaturated stator d-axis mutual inductance. If Magnetic saturation representation is set to None, this is equivalent to the stator d-axis mutual inductance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter is set to Fundamental parameters.

Stator q-axis mutual inductance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter is set to Fundamental parameters.

Stator zero-sequence inductance. This parameter must be greater than 0.

Dependencies

This parameter is visible if the Specify parameterization by parameter is set to Fundamental parameters and the Zero Sequence parameter is set to Include.

Stator leakage inductance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter is set to Fundamental parameters.

Stator resistance. This parameter must be greater than 0.

Rotor field circuit inductance. This parameter must be greater than 0.

Rotor field circuit resistance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter is set to Fundamental parameters.

Rotor d-axis damper winding 1 inductance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter to Fundamental parameters.

Rotor d-axis damper winding 1 resistance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter is set to Fundamental parameters.

Rotor q-axis damper winding 1 inductance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter is set to Fundamental parameters.

Rotor q-axis damper winding 1 resistance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter is set to Fundamental parameters.

Stator leakage reactance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter to Standard parameters.

d-axis synchronous reactance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter to Standard parameters.

q-axis synchronous reactance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter to Standard parameters.

Zero-sequence reactance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter to Standard parameters and the Zero Sequence parameter is set to Include.

d-axis transient reactance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter is set to Standard parameters.

d-axis subtransient reactance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter is set to Standard parameters.

q-axis subtransient reactance. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify parameterization by parameter is set to Standard parameters.

Time Constants

Select between Open circuit and Short circuit.

The setting for this parameter affects the visibility of the d-axis time constant parameters.

d-axis transient open-circuit time constant. This parameter must be:

  • Greater than 0.

  • Greater than d-axis subtransient open-circuit, Td0''.

Dependencies

This parameter is visible only if the Specify d-axis transient time constant parameter is set to Open circuit.

d-axis transient short-circuit time constant. This parameter must be:

  • Greater than 0.

  • Greater than d-axis subtransient short-circuit, Td''.

Dependencies

This parameter is visible only if the Specify d-axis transient time constant parameter is set to Short circuit.

d-axis subtransient open-circuit time constant. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify d-axis transient time constant parameter is set to Open circuit.

d-axis subtransient short-circuit time constant. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify d-axis transient time constant parameter is set to Short circuit.

Select between Open circuit and Short circuit.

The setting for this parameter affects the visibility of the q-axis time constant parameters.

q-axis subtransient open-circuit time constant. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify q-axis transient time constant parameter is set to Open circuit.

q-axis subtransient short-circuit time constant. This parameter must be greater than 0.

Dependencies

This parameter is visible only if the Specify q-axis transient time constant parameter is set to Short circuit.

Saturation

Block magnetic saturation model:

  • None

  • Open-circuit lookup table (v versus i)

Dependencies

If you set this parameter to Open-circuit lookup table (v versus i), related parameters are visible.

Field current, ifd, data that populates the air-gap voltage, Vag, versus field current, ifd, lookup table. This parameter must contain a vector with a number of elements between 5 and 10.

Dependencies

This parameter is visible only if the Magnetic saturation representation parameter is set to Open-circuit lookup table (v versus i).

Air-gap voltage, Vag, data that populates the air-gap voltage, Vag, versus field current, ifd, lookup table. This parameter must contain a vector with a number of elements between 5 and 10.

Dependencies

This parameter is visible only if the Magnetic saturation representation parameter is set to Open-circuit lookup table (v versus i).

Initial Conditions

Option for specifying values for certain parameters and variables at the start of simulation. Set this parameter to:

  • Set real power, reactive power, terminal voltage and terminal phase — Set an operating point regardless of the connected network.

  • Set targets for rotor angle and Park's transform variables — Specify the priority and initial target values for block variables before simulation using the Variables settings. For more information, see Set Priority and Initial Target for Block Variables.

  • Set targets for load flow variables — Select a bus type and specify the related parameters for a load-flow analysis in the Initial Conditions settings.

Type of voltage source that the block models.

Dependencies

To enable this parameter, set Initialization option to Set targets for load flow variables.

Terminal voltage magnitude.

Dependencies

To enable this parameter, set Initialization option to Set real power, reactive power, terminal voltage, and terminal phase. Alternatively, set Initialization option to Set targets for load flow variables and Source type to Swing bus or PV bus.

Terminal voltage angle.

Dependencies

To enable this parameter, set Initialization option to Set real power, reactive power, terminal voltage, and terminal phase. Alternatively, set Initialization option to Set targets for load flow variables and Source type to Swing bus.

Active power that the machine generates.

Dependencies

To enable this parameter, set Initialization option to Set real power, reactive power, terminal voltage, and terminal phase. Alternatively, set Initialization option to Set targets for load flow variables and Source type to PV bus or PQ bus.

Reactive power that the machine generates.

Dependencies

To enable this parameter, set Initialization option to Set real power, reactive power, terminal voltage, and terminal phase. Alternatively, set Initialization option to Set targets for load flow variables and Source type to PQ bus.

Per-unit minimum steady-state voltage magnitude.

Dependencies

To enable this parameter, set Initialization option to Set targets for load flow variables and Source type to PQ bus.

Vector that defines the search range of the phase angle at the terminals.

Dependencies

To enable this parameter, set Initialization option to Set targets for load flow variables and Source type to PV bus or PQ bus.

Parasitic conductance to the electrical reference.

Dependencies

To enable this parameter, set Initialization option to Set targets for load flow variables.

Thermal

To enable these parameters, set Modeling option to Show thermal port.

Temperature for which motor parameters are quoted.

Coefficient α in the equation relating resistance to temperature for all three windings, as described in Thermal Model for Actuator Blocks. The default value, 3.93e-3 1/K, is for copper.

Thermal mass value for each stator winding. The thermal mass is the energy required to raise the temperature by one degree.

Thermal mass of the rotor. The thermal mass is the energy required to raise the temperature of the rotor by one degree.

References

[1] Kundur, P. Power System Stability and Control. New York, NY: McGraw Hill, 1993.

[2] Lyshevski, S. E. Electromechanical Systems, Electric Machines and Applied Mechatronics. Boca Raton, FL: CRC Press, 1999.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2013b

expand all