model PotentialSensor "Potential sensor"
extends Interfaces.AbsoluteSensor;
ComplexBlocks.Interfaces.ComplexOutput y annotation (Placement(transformation(extent = {
{100, -10},
{120, 10}})));
Modelica.SIunits.Voltage abs_y = Modelica.ComplexMath.'abs'(y) "Magnitude of complex potential";
Modelica.SIunits.Angle arg_y = Modelica.ComplexMath.arg(y) "Argument of complex potential";
equation
y = pin.v;
annotation (
Icon(graphics = {
Text(
extent = {
{-29, -11},
{30, -70}},
textString = "V")}),
Documentation(info = "<html>\n\n<p>\nThis sensor can be used to measure the complex potential.\n</p>\n\n<h4>See also</h4>\n\n<p>\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.SinglePhase.Sensors.ReferenceSensor\">ReferenceSensor</a>,\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.SinglePhase.Sensors.FrequencySensor\">FrequencySensor</a>,\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.SinglePhase.Sensors.VoltageSensor\">VoltageSensor</a>,\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.SinglePhase.Sensors.CurrentSensor\">CurrentSensor</a>,\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.SinglePhase.Sensors.PowerSensor\">PowerSensor</a>,\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.SinglePhase.Sensors.MultiSensor\">MultiSensor</a>,\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.SinglePhase.Sensors.MultiSensor\">MultiSensor</a>\n</p>\n\n</html>"));
end PotentialSensor;