Main Content

Simplified Generator

Behavioral model of an electromechanical generator

Since R2024a

  • Simplified Generator block

Libraries:
Simscape / Electrical / Electromechanical

Description

The Simplified Generator block implements a behavioral model of an electromechanical generator. Use the Pref port to specify the reference power. The block supplies the reference power to the mechanical network and supplies the electrical power required to satisfy the mechanical power demand and account tor losses. This figure shows the circuit configuration of the block. The block acts as a constant voltage source with a series source impedance.

  • Vie is the supply voltage.

  • IS is the series source current.

  • RS is the series source resistance.

  • LS is the series source inductance.

The Simplified Generator block operates in both grid-connected and islanded mode. In grid-connected mode, the mechanical power tracks the reference power and the electrical power you need to supply to the grid to account for losses. The active power flow depends on the ratio of the series connected reactance to resistance for the entire electrical network. To achieve the expected behavior, you need to tune the Active power frequency droop and Droop filter time constant parameters as well as the block impedance. To choose how to specify the block the impedance, set the Source impedance parameter to one of these options:

  • X/R Ratio — Specify the ratio of the series connected reactance to resistance.

  • Series RL — Specify the resistance and inductance.

During islanded mode, the block acts like a constant voltage AC supply because maintaining frequency takes priority over the mechanical power tracking the power reference.

Variables

To set the priority and initial target values for the block variables before 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.

Use nominal values 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 these sources is the Nominal Values section in the block dialog box or Property Inspector. For more information, see System Scaling by Nominal Values.

Assumptions and Limitations

This block requires an electrical network with a high ratio of series connected reactance to resistance.

Examples

Ports

Input

expand all

Physical signal input port that specifies the reference power, in watts.

Conserving

expand all

Mechanical rotational conserving port associated with the rotor.

Mechanical rotational conserving port associated with the case.

Composite three-phase electrical conserving port.

For more information about composite and expanded three-phase ports, see Three-Phase Ports.

Dependencies

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

Electrical conserving port associated with the neutral phase.

Electrical conserving port associated with the a-phase.

Dependencies

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

Electrical conserving port associated with the b-phase.

Dependencies

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

Electrical conserving port associated with the c-phase.

Dependencies

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

Parameters

expand all

To edit block parameters interactively, use the Property Inspector. From the Simulink® Toolstrip, on the Simulation tab, in the Prepare gallery, select Property Inspector.

General

Option to choose composite or expanded three-phase ports. For more information, see Three-Phase Ports.

Rated power.

Rated electrical frequency.

Internal source voltage.

Source impedance parameterization method. Choose one of these options:

  • X/R Ratio — Specify the ratio of the series connected reactance to resistance.

  • Series RL — Specify the resistance and inductance.

Short circuit power.

Dependencies

To enable this parameter, set Source impedance to X/R Ratio.

Ratio of the series connected reactance to resistance.

Dependencies

To enable this parameter, set Source impedance to X/R Ratio.

Inductance.

Dependencies

To enable this parameter, set Source impedance to Series RL.

Resistance.

Dependencies

To enable this parameter, set Source impedance to Series RL.

Parasitic parallel conductance of source impedance.

Mechanical efficiency, as a percentage.

Frequency droop of active power.

Droop filter time constant.

Resistance of the rotor to change in motion.

Rotor damping.

Filter time constant of the electrical power measurement.

Extended Capabilities

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

Version History

Introduced in R2024a