Skip to content

Commit

Permalink
Meke internally used ports of optional housing port and optional ther…
Browse files Browse the repository at this point in the history
…mal port protected
  • Loading branch information
AHaumer authored and beutlich committed Aug 8, 2023
1 parent ce36c07 commit b97253e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Modelica/Magnetic/FundamentalWave/BaseClasses/Machine.mo
Expand Up @@ -164,13 +164,13 @@ partial model Machine "Base model of machines"
frictionParameters=frictionParameters, final useHeatPort=true)
annotation (Placement(transformation(extent={{-10,-10},{10,10}}, origin={90,
-30})));
protected
replaceable
Modelica.Electrical.Machines.Interfaces.InductionMachines.PartialThermalPortInductionMachines
internalThermalPort(final m=m)
annotation (Placement(transformation(extent={{-44,-94},{-36,-86}})));
Modelica.Mechanics.Rotational.Interfaces.Support internalSupport
annotation (Placement(transformation(extent={{56,-104},{64,-96}})));
protected
final parameter SI.Impedance ZsRef = 1 "Reference phase impedance based on nominal voltage 100 V and nominal current 100 A; per phase";
initial algorithm
assert(not Modelica.Math.isPowerOf2(m), String(m) +
Expand Down
Expand Up @@ -190,13 +190,13 @@ partial model Machine "Base model of machines"
annotation (Placement(transformation(
extent={{-10,-10},{10,10}},
origin={90,-30})));
protected
replaceable
Modelica.Electrical.Machines.Interfaces.InductionMachines.PartialThermalPortInductionMachines
internalThermalPort(final m=m)
annotation (Placement(transformation(extent={{-44,-94},{-36,-86}})));
Modelica.Mechanics.Rotational.Interfaces.Support internalSupport
annotation (Placement(transformation(extent={{56,-104},{64,-96}})));
protected
final parameter SI.Impedance ZsRef = 1 "Reference phase impedance based on nominal voltage 100 V and nominal current 100 A; per phase";
initial algorithm
assert(not Modelica.Math.isPowerOf2(m), String(m) +
Expand Down

0 comments on commit b97253e

Please sign in to comment.