Skip to content

Commit

Permalink
Merge pull request #4374 from beutlich/fix-ComplexImpedance-ctor-call
Browse files Browse the repository at this point in the history
Fix ComplexImpedance ctor call Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance
  • Loading branch information
hubertus65 authored May 22, 2024
2 parents f5f4008 + 67b24fa commit ae3e79b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ within Modelica.Electrical.QuasiStatic.SinglePhase.Examples;
model MultipleResonance
"Demonstrates series and parallel resonance using a transformer"
extends Icons.Example;
import Modelica.ComplexMath.j;
import Modelica.Constants.small;
parameter Modelica.Units.SI.Voltage V=0.5 "Source rms voltage";
parameter Modelica.Units.SI.Frequency fLo=5.e6 "Lower source frequency";
parameter Modelica.Units.SI.Frequency fUp=15e6 "Upper source frequency";
parameter Modelica.Units.SI.ComplexImpedance Zi=Modelica.Units.SI.ComplexImpedance(100 +j*0) "Source inner impedance";
parameter Modelica.Units.SI.ComplexImpedance Zi=Modelica.Units.SI.ComplexImpedance(100) "Source inner impedance";
parameter Modelica.Units.SI.Inductance L1=30e-6 "Transformer primary inductance";
parameter Modelica.Units.SI.Inductance L2=1.e-6 "Transformer secondary inductance";
parameter Real k(min=small, max=1)=0.95 "Transformer coupling factor";
Expand Down

0 comments on commit ae3e79b

Please sign in to comment.