modelGrid
Electrical grid
Information
Model that can be used to represent the electrical grid supply.
The model has an output connector named P that
contains information about the power supplied by the grid to the network.
The convention is that P.real is positive if real power is
consumed from the grid, and negative if it is fed into the grid.
The parameter V is the root means square of the voltage.
In US households, this is 120 Volts at 60 Hz,
in Europe it is 230 Volts at 50 Hz.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Frequency | f | Frequency of the source | |
| Modelica.Units.SI.Voltage | V | RMS voltage of the source | |
| Modelica.Units.SI.Angle | phiSou | 0 | Phase shift angle of the source |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Electrical.AC.OnePhase.Interfaces.Terminal_p | terminal | ||
| Buildings.Electrical.AC.Interfaces.PowerOutput | P | Power consumed from grid if positive, or fed to grid if negative |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Electrical.AC.OnePhase.Sources.FixedVoltage | sou | Voltage source |
Revisions
-
August 31, 2016, by Michael Wetter:
Corrected sign error in documentation string of variableP. -
August 5, 2014, by Marco Bonvini:
Revised documentation. -
January 2, 2012, by Michael Wetter:
First implementation.