Skip to content

Commit

Permalink
refs #2761: Add component descriptions (#2767)
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Nov 8, 2018
1 parent 3b221e6 commit 3dbfde8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Modelica/ComplexBlocks.mo
Expand Up @@ -91,14 +91,14 @@ Plotting the imaginary part versus the real part, you will see an Archimedean sp

model ShowTransferFunction "Test Complex Transfer Function Block"
extends Modelica.Icons.Example;
parameter Real d=1/sqrt(2);
parameter Real b[:]={1};
parameter Real a[:]={1,2*d,1};
parameter Real wMin=0.01;
parameter Real wMax=100;
Real lg_w=log10(logFrequencySweep.y);
Real dB=20*log10(complexToPolar.len);
Modelica.SIunits.Angle phi(displayUnit="deg")=complexToPolar.phi;
parameter Real d=1/sqrt(2) "Damping coefficient";
parameter Real b[:]={1} "Numerator polynomial coefficients of the transfer function";
parameter Real a[:]={1,2*d,1} "Denominator polynomial coefficients of the transfer function";
parameter Real wMin=0.01 "Lower bound for frequency sweep";
parameter Real wMax=100 "Upper bound for frequency sweep";
Real lg_w=log10(logFrequencySweep.y) "Logarithm of frequency";
Real dB=20*log10(complexToPolar.len) "Magnitude of the transfer function in decibel";
Modelica.SIunits.Angle phi(displayUnit="deg")=complexToPolar.phi "Argument of the transfer function";
Modelica.ComplexBlocks.Sources.LogFrequencySweep logFrequencySweep(
duration=1,
wMin=wMin,
Expand Down

0 comments on commit 3dbfde8

Please sign in to comment.