diff --git a/Modelica/Electrical/Machines/BasicMachines/Components/ZeroImpedance.mo b/Modelica/Electrical/Machines/BasicMachines/Components/ZeroImpedance.mo new file mode 100644 index 0000000000..a37b4ede41 --- /dev/null +++ b/Modelica/Electrical/Machines/BasicMachines/Components/ZeroImpedance.mo @@ -0,0 +1,30 @@ +within Modelica.Electrical.Machines.BasicMachines.Components; +model ZeroImpedance "Zero system impedance" + extends Analog.Interfaces.OnePort(i(start=0)); + parameter SI.Inductance L "Inductance"; + parameter Boolean useZeroSystem=true "= true, if zero current is explicitely computed" annotation(Evaluate = true); +equation + if useZeroSystem then + v = L*der(i); + else + i = 0; + end if; + + annotation (Icon(graphics={ + Line(points={{-90,0},{-60,0}}, color={0,0,255}), + Line(points={{62,0},{90,0}}, color={0,0,255}), + Ellipse(extent={{-50,30},{-8,-32}}, lineColor={0,0,255}), + Ellipse(extent={{-20,30},{22,-32}}, lineColor={0,0,255}), + Ellipse(extent={{10,30},{52,-32}}, lineColor={0,0,255}), + Text( + extent={{-150,50},{150,90}}, + textString="%name", + textColor={0,0,255}), + Rectangle(extent={{-60,30},{-50,-32}}, lineColor={28,108,200}), + Rectangle(extent={{52,30},{62,-32}}, lineColor={28,108,200})}), + Documentation(info=" +

+For a short explanation of the zero system see the User's Guide of the FundamentalWave library. +

+")); +end ZeroImpedance; diff --git a/Modelica/Electrical/Machines/BasicMachines/Components/package.order b/Modelica/Electrical/Machines/BasicMachines/Components/package.order index 2766671fed..bb1ecc2440 100644 --- a/Modelica/Electrical/Machines/BasicMachines/Components/package.order +++ b/Modelica/Electrical/Machines/BasicMachines/Components/package.order @@ -1,6 +1,7 @@ PartialAirGap AirGapS AirGapR +ZeroImpedance Inductor SquirrelCage DamperCage diff --git a/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD.mo b/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD.mo index 77ee87ee6e..6e7d13a277 100644 --- a/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD.mo +++ b/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD.mo @@ -16,6 +16,7 @@ model IMC_YD Machines.BasicMachines.InductionMachines.IM_SquirrelCage aimc( p=aimcData.p, fsNominal=aimcData.fsNominal, + useZeroSystem=false, Rs=aimcData.Rs, TsRef=aimcData.TsRef, alpha20s(displayUnit="1/K") = aimcData.alpha20s, diff --git a/Modelica/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo b/Modelica/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo index 81a47c82e2..d0e8d08c93 100644 --- a/Modelica/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo +++ b/Modelica/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo @@ -5,6 +5,8 @@ partial model PartialBasicInductionMachine parameter Integer p(min=1, start=2) "Number of pole pairs (Integer)"; parameter SI.Frequency fsNominal(start=50) "Nominal frequency"; + parameter Boolean useZeroSystem=true "= true, if zero current is explicitely computed" + annotation(Evaluate=true); parameter SI.Temperature TsOperational(start=293.15) "Operational temperature of stator resistance" annotation (Dialog(group= "Operational temperatures", enable=not useThermalPort)); @@ -81,7 +83,8 @@ partial model PartialBasicInductionMachine extent={{-10,-10},{10,10}}, rotation=270, origin={20,20}))); - Modelica.Electrical.Analog.Basic.Inductor lszero(final L=Lszero) + BasicMachines.Components.ZeroImpedance lszero(final L=Lszero, final + useZeroSystem=useZeroSystem) annotation (Placement(transformation(extent={{0,40},{-20,60}}))); Machines.Losses.InductionMachines.Core statorCore( final coreParameters=statorCoreParameters, diff --git a/Modelica/Electrical/Machines/UsersGuide/Concept.mo b/Modelica/Electrical/Machines/UsersGuide/Concept.mo index ef644cf569..c2784c6929 100644 --- a/Modelica/Electrical/Machines/UsersGuide/Concept.mo +++ b/Modelica/Electrical/Machines/UsersGuide/Concept.mo @@ -13,7 +13,8 @@ class Concept "Concept"
  • constant parameters, i.e., no saturation, no skin effect
  • -You may have a look at a short summary of space phasor theory at https://www.haumer.at/refimg/SpacePhasors.pdf +You may have a look at a short summary of space phasor theory at https://www.haumer.at/refimg/SpacePhasors.pdf
    +For a short explanation of the zero system see the User's Guide of the FundamentalWave library.

    Further development: