Modelica.Mechanics.Translational.Sensors.ForceSensor
Measures the cut-force between two flanges in an ideal way and provides the result as output signal (to be further processed with blocks of the Modelica.Blocks library).
Release Notes:
model ForceSensor
"Ideal sensor to measure the force between two flanges"
extends Interfaces.RelativeSensor;
SIunits.Force f
"force in flange_a and flange_b (f = flange_a.f = -flange_b.f)";
equation
flange_a.s = flange_b.s;
flange_a.f = f;
flange_b.f = -f;
f = outPort.signal[1];
end ForceSensor;
Modelica.Mechanics.Translational.Sensors.SpeedSensor
Measures the absolute velocity v of a flange in an ideal way and provides the result as output signals (to be further processed with blocks of the Modelica.Blocks library).
Release Notes:
model SpeedSensor "Ideal sensor to measure the absolute velocity"
extends Modelica.Icons.TranslationalSensor;
SIunits.Position s "Absolute position of flange";
SIunits.Velocity v "Absolute velocity of flange";
Translational.Interfaces.Flange_a flange_a
"(left) flange to be measured (flange axis directed INTO cut plane, e. g. from left to right)"
;
Modelica.Blocks.Interfaces.OutPort outPort(final n=1);
equation
s = flange_a.s;
v = der(s);
v = outPort.signal[1];
0 = flange_a.f;
end SpeedSensor;
Modelica.Mechanics.Translational.Sensors.PositionSensor
Measures the absolute position s of a flange in an ideal way and provides the result as output signals (to be further processed with blocks of the Modelica.Blocks library).
Release Notes:
model PositionSensor "Ideal sensor to measure the absolute position"
extends Modelica.Icons.TranslationalSensor;
SIunits.Position s "Absolute position of flange";
Translational.Interfaces.Flange_a flange_a
"(left) flange to be measured (flange axis directed INTO cut plane, e. g. from left to right)"
;
Modelica.Blocks.Interfaces.OutPort outPort(final n=1);
equation
s = flange_a.s;
s = outPort.signal[1];
0 = flange_a.f;
end PositionSensor;
Modelica.Mechanics.Translational.Sensors.AccSensor
Measures the absolute acceleration a of a flange in an ideal way and provides the result as output signals (to be further processed with blocks of the Modelica.Blocks library).
Release Notes:
model AccSensor "Ideal sensor to measure the absolute acceleration"
extends Modelica.Icons.TranslationalSensor;
SIunits.Velocity v "Absolute velocity of flange";
SIunits.Acceleration a "Absolute acceleration of a flange";
Translational.Interfaces.Flange_a flange_a
"(left) flange to be measured (flange axis directed INTO cut plane, e. g. from left to right)"
;
Modelica.Blocks.Interfaces.OutPort outPort(final n=1);
equation
v = der(flange_a.s);
a = der(v);
a = outPort.signal[1];
0 = flange_a.f;
end AccSensor;