BuildingSystems.Electrical.AC.OnePhase.Sources.Grid

# .BuildingSystems.Electrical.AC.OnePhase.Sources.Grid

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.

## Revisions

- August 31, 2016, by Michael Wetter:
  Corrected sign error in documentation string of variable `P`.
- August 5, 2014, by Marco Bonvini:
  Revised documentation.
- January 2, 2012, by Michael Wetter:
  First implementation.

Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos