-
Notifications
You must be signed in to change notification settings - Fork 164
/
AbsoluteSensor.mo
34 lines (31 loc) · 1.54 KB
/
AbsoluteSensor.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
within Modelica.Electrical.QuasiStatic.SinglePhase.Interfaces;
partial model AbsoluteSensor "Partial potential sensor"
extends Modelica.Icons.RoundSensor;
Modelica.SIunits.AngularVelocity omega;
PositivePin pin "Positive quasi-static single-phase pin" annotation (Placement(transformation(extent={{-110,
-10},{-90,10}})));
equation
omega = der(pin.reference.gamma);
pin.i = Complex(0);
annotation (Icon(graphics={
Line(points={{-70,0},{-94,0}}, color={85,170,255}),
Text(
extent={{-160,120},{160,80}},
textColor={0,0,255},
textString="%name"),
Line(points={{100,0},{70,0}})}), Documentation(info="<html>
<p>
The absolute sensor partial model provides a single
<a href=\"modelica://Modelica.Electrical.QuasiStatic.SinglePhase.Interfaces.PositivePin\">positive pin</a>
to measure the complex voltage, frequency, angular frequency. 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.RelativeSensorElementary\">RelativeSensorElementary</a>,
<a href=\"modelica://Modelica.Electrical.QuasiStatic.SinglePhase.Sensors.PotentialSensor\">PotentialSensor</a>,
<a href=\"modelica://Modelica.Electrical.QuasiStatic.Polyphase.Interfaces.AbsoluteSensor\">Polyphase.Interfaces.AbsoluteSensor</a>,
<a href=\"modelica://Modelica.Electrical.QuasiStatic.Polyphase.Interfaces.RelativeSensor\">Polyphase.Interfaces.RelativeSensor</a>
</p>
</html>"));
end AbsoluteSensor;