modelGrid

Electrical grid

Information

Model that can be used to represent the electrical grid supply.

The model has an output connector named P[n] with n = 3 that contains information about the power supplied by the grid to the network. The convention is that P[i].real is positive if real power is consumed from the grid, and negative if it is fed into the grid. The connector has size equal to three because each element of the vector refers to a single phase.

The parameter V is the root means square of the voltage. In US, a typical value 480 Volts.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.FrequencyfFrequency of the source
Modelica.Units.SI.VoltageVRMS voltage of the source
Modelica.Units.SI.AnglephiSou0Phase shift of the source

Connectors

TypeNameDefaultDescription
Buildings.Electrical.AC.Interfaces.PowerOutput[3]PPower consumed from grid if positive, or fed to grid if negative
Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Terminal_pterminalConnector for three-phase unbalanced systems

Components

TypeNameDefaultDescription
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.FixedVoltagesouVoltage source

Revisions

  • August 31, 2016, by Michael Wetter:
    Corrected sign error in documentation string of variable P.
  • August 27, 2014, by Marco Bonvini:
    Revised documentation.