-
Notifications
You must be signed in to change notification settings - Fork 164
/
RelativeSensorElementary.mo
36 lines (31 loc) · 1.69 KB
/
RelativeSensorElementary.mo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
within Modelica.Electrical.QuasiStatic.SinglePhase.Interfaces;
partial model RelativeSensorElementary "Elementary partial voltage / current sensor"
extends Modelica.Icons.RoundSensor;
extends TwoPinElementary;
equation
Complex(0,0) = pin_p.i + pin_n.i "Current balance";
annotation (Icon(graphics={
Line(points={{-70,0},{-94,0}}, color={85,170,255}),
Line(points={{70,0},{94,0}}, color={85,170,255}),
Text(
extent={{-150,120},{150,80}},
textColor={0,0,255},
textString="%name"),
Line(points={{0,-100},{0,-70}}, color={85,170,255})}),
Documentation(info="<html>
<p>
The relative sensor partial model relies on the
<a href=\"modelica://Modelica.Electrical.QuasiStatic.SinglePhase.Interfaces.TwoPinElementary\">TwoPinElementary</a>
to measure the complex voltage or current. Additionally this model contains a proper icon and a definition of the angular velocity.
</p>
<h4>See also</h4>
<p>
<a href=\"modelica://Modelica.Electrical.QuasiStatic.SinglePhase.Interfaces.AbsoluteSensor\">AbsoluteSensor</a>,
<a href=\"modelica://Modelica.Electrical.QuasiStatic.SinglePhase.Sensors.VoltageSensor\">VoltageSensor</a>,
<a href=\"modelica://Modelica.Electrical.QuasiStatic.SinglePhase.Sensors.CurrentSensor\">CurrentSensor</a>,
<a href=\"modelica://Modelica.Electrical.QuasiStatic.SinglePhase.Sensors.PowerSensor\">PowerSensor</a>,
<a href=\"modelica://Modelica.Electrical.QuasiStatic.Polyphase.Interfaces.AbsoluteSensor\">Polyphase.Interfaces.AbsoluteSensor</a>,
<a href=\"modelica://Modelica.Electrical.QuasiStatic.Polyphase.Interfaces.RelativeSensorElementary\">Polyphase.Interfaces.RelativeSensorElementary</a>
</p>
</html>"));
end RelativeSensorElementary;