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_yAbsolute value ofyarg_yAngle ofydB_yLogarithm to the base 10 of the absolute value ofyin dB
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useDivisor | true | Use divisor input, if true |
| Modelica.Units.SI.AmplitudeLevelDifference | dB | 20 | Amplitude level difference |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.ComplexInput | u | Dividend if useDivisor == true | |
| Interfaces.ComplexInput | divisor | Divisor | |
| Blocks.Interfaces.RealOutput | abs_y | Absolute value of ratio u / divisor | |
| Blocks.Interfaces.RealOutput | arg_y | Angle of ratio u / divisor | |
| Interfaces.ComplexOutput | y | Quotient y = u / divisor | |
| Blocks.Interfaces.RealOutput | dB_y | Log10 of absolute value of ratio u / divisor |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Sources.ComplexConstant | complexOne | Complex(1,0) | |
| Division | division | ||
| ComplexToPolar | complexToPolar | ||
| Blocks.Math.Log10 | log10_y | ||
| Blocks.Math.Gain | gain | ||
| Blocks.Nonlinear.Limiter | limiter |