modelGenerator

Model of a generator

Extends from Buildings.Electrical.Interfaces.Source.

Information

Model of a generator that produces real power P with a given phase shift phiGen.

This model must be used with Buildings.Electrical.AC.OnePhase.Sources.Grid or with a voltage source from the package Modelica.Electrical.QuasiStatic.SinglePhase.Sources. Otherwise, there will be no equation that defines the phase angle of the voltage.

The boolean flags potentialReference and definiteReference allows to select the phase angle of the generator as reference for the models connected to it. More info about these flags are available in Buildings.Electrical.AC.UsersGuide.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.FrequencyfFrequency of the source
Modelica.Units.SI.AnglephiGen0Phase shift of the source

Components

TypeNameDefaultDescription
Modelica.Units.SI.CurrentIvalue of current
Modelica.Blocks.Interfaces.RealInputPVariable power generated by the source

Revisions

  • January 29, 2019, by Michael Wetter:
    Added replaceable for terminal.
  • September 4, 2014, by Michael Wetter:
    Revised model.
  • August 5, 2014, by Marco Bonvini:
    Revised documentation.
  • January 4, 2012, by Michael Wetter:
    First implementation.