modelGeneralizedSensor

Sensor for power, voltage and current

Extends from Buildings.Electrical.Icons.GeneralizedSensor (Icon representing a generalized sensor that measures voltage, current and power), Buildings.Electrical.Interfaces.PartialTwoPort (Model of a generic two port component with phase systems).

Information

Ideal sensor that measures power, voltage and current. The two components of the power S are the active and reactive power. As this sensor is configured to measure DC power, the reactive power is always zero.

Connectors

TypeNameDefaultDescription
Buildings.Electrical.Interfaces.BaseTerminalterminal_n (from PartialBaseTwoPort)Electric terminal side p
Buildings.Electrical.Interfaces.BaseTerminalterminal_p (from PartialBaseTwoPort)Electric terminal side n
Modelica.Blocks.Interfaces.RealOutputVVoltage
Modelica.Blocks.Interfaces.RealOutputICurrent
Modelica.Blocks.Interfaces.RealOutputPPower

Revisions

  • January 12, 2019, by Michael Wetter:
    Removed wrong use of each.
  • March 19, 2015, by Michael Wetter:
    Removed redeclaration of phase system in Terminal_n and Terminal_p as it is already declared to the be the same phase system, and it is not declared to be replaceable. This avoids a translation error in OpenModelica.
  • July 24, 2013, by Michael Wetter:
    First implementation.