blockBode

Calculate quantities to plot Bode diagram

Extends from Modelica.ComplexBlocks.Icons.ComplexBlock (Basic graphical layout of Complex input/output block).

Information

This complex block is used to determine variables of a Bode diagram for the output y. The output y is calculated by u / divisor if useDivisor == true. Otherwise the output y = u.

  • abs_y Absolute value of y
  • arg_y Angle of y
  • dB_y Logarithm to the base 10 of the absolute value of y in dB

Parameters

TypeNameDefaultDescription
BooleanuseDivisortrueUse divisor input, if true
Modelica.Units.SI.AmplitudeLevelDifferencedB20Amplitude level difference

Connectors

TypeNameDefaultDescription
Interfaces.ComplexInputuDividend if useDivisor == true
Interfaces.ComplexInputdivisorDivisor
Blocks.Interfaces.RealOutputabs_yAbsolute value of ratio u / divisor
Blocks.Interfaces.RealOutputarg_yAngle of ratio u / divisor
Interfaces.ComplexOutputyQuotient y = u / divisor
Blocks.Interfaces.RealOutputdB_yLog10 of absolute value of ratio u / divisor

Components

TypeNameDefaultDescription
Sources.ComplexConstantcomplexOneComplex(1,0)
Divisiondivision
ComplexToPolarcomplexToPolar
Blocks.Math.Log10log10_y
Blocks.Math.Gaingain
Blocks.Nonlinear.Limiterlimiter