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
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Electrical.Interfaces.BaseTerminal | terminal_n (from PartialBaseTwoPort) | Electric terminal side p | |
| Buildings.Electrical.Interfaces.BaseTerminal | terminal_p (from PartialBaseTwoPort) | Electric terminal side n | |
| Modelica.Blocks.Interfaces.RealOutput | V | Voltage | |
| Modelica.Blocks.Interfaces.RealOutput | I | Current | |
| Modelica.Blocks.Interfaces.RealOutput | P | Power |
Revisions
-
January 12, 2019, by Michael Wetter:
Removed wrong use ofeach. -
March 19, 2015, by Michael Wetter:
Removed redeclaration of phase system inTerminal_nandTerminal_pas 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.