Skip to content

Commit

Permalink
Remove unit errors.
Browse files Browse the repository at this point in the history
This is related to modelica#3881
These changes are completely safe.
  • Loading branch information
HansOlsson committed Sep 30, 2022
1 parent f325ed3 commit cf30cb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ model SMEE_LoadDump
extent={{-10,-10},{10,10}},
rotation=270,
origin={30,-50})));
Modelica.Blocks.Math.Gain setPointGain(k=(smeeData.VsNominal/wNominal)/
unitMagneticFlux)
Modelica.Blocks.Math.Gain setPointGain(k=(smeeData.VsNominal/wNominal))
annotation (Placement(transformation(extent={{-50,-90},{-70,-70}})));
Machines.Sensors.VoltageQuasiRMSSensor voltageQuasiRMSSensor(ToSpacePhasor1(y(
each start=1E-3, each fixed=true))) annotation (Placement(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ model SMEE_LoadDump
extent={{-10,-10},{10,10}},
rotation=270,
origin={30,-50})));
Modelica.Blocks.Math.Gain setPointGain(k=(smeeData.VsNominal/wNominal)/
unitMagneticFlux)
Modelica.Blocks.Math.Gain setPointGain(k=(smeeData.VsNominal/wNominal))
annotation (Placement(transformation(extent={{-50,-90},{-70,-70}})));
Modelica.Electrical.Machines.Sensors.VoltageQuasiRMSSensor voltageQuasiRMSSensor(
ToSpacePhasor1(y(each start=1E-3, each fixed=true))) annotation (
Expand Down

0 comments on commit cf30cb7

Please sign in to comment.