Skip to content

Commit

Permalink
Fix unit errors in ArmatureStroke
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Apr 5, 2023
1 parent 64b1f57 commit c0d8c34
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ model ArmatureStroke
"Armature stroke of both moving coil actuator models after a voltage step at time t=0"

extends Modelica.Icons.Example;

constant Modelica.Units.SI.Current steadyStateCurrent = 1.5;
Modelica.Electrical.Analog.Basic.Ground pmGround annotation (Placement(
transformation(extent={{-80,-70},{-60,-50}})));
Modelica.Electrical.Analog.Sources.StepVoltage pmSource(startTime=0, V=
pmActuator.R*1.5) "Steady state current 1.5A" annotation (
pmActuator.R*steadyStateCurrent) annotation (
Placement(transformation(
origin={-70,-30},
extent={{-10,10},{10,-10}},
Expand All @@ -26,7 +26,7 @@ model ArmatureStroke
Modelica.Electrical.Analog.Basic.Ground cGround annotation (Placement(
transformation(extent={{-80,0},{-60,20}})));
Modelica.Electrical.Analog.Sources.StepVoltage cSource(startTime=0, V=
cActuator.R*1.5) "Steady state current 1.5A" annotation (
cActuator.R*steadyStateCurrent) annotation (
Placement(transformation(
origin={-70,40},
extent={{-10,10},{10,-10}},
Expand Down

0 comments on commit c0d8c34

Please sign in to comment.