Skip to content

Commit

Permalink
Fix ComplexImpedance ctor call
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Apr 19, 2024
1 parent a877f52 commit 67b24fa
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 67b24fa

Please sign in to comment.