WOLFRAM SYSTEM MODELER

SeriesBode

Series circuit with Bode analysis

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

The frequency of the voltage source is varied by a logarithmic ramp, the supply voltage magnitude is constant.

Plot versus voltageSource.f on a logarithmic scale in order to determine the Bode diagrams of the ratio of the voltage of the resistor divided by the supply voltage:

  • Gain response: dB_y
  • Phase response: arg_y

Outputs (3)

abs_y

Default Value: bode.abs_y

Type: Real

Description: Magnitude of voltage ratio

dB_y

Default Value: bode.dB_y

Type: AmplitudeLevelDifference (dB)

Description: Log10 of magnitude of voltage ratio in dB

arg_y

Default Value: bode.arg_y

Type: Angle (rad)

Description: Angle of voltage ratio

Components (9)

frequencySweep

Type: LogFrequencySweep

Description: Logarithmic frequency sweep

voltageSource

Type: VariableVoltageSource

Description: Variable AC voltage

ground

Type: Ground

Description: Electrical ground

resistor

Type: Resistor

Description: Single-phase linear resistor

inductor

Type: Inductor

Description: Single-phase linear inductor

complexConst

Type: ComplexConstant

Description: Generate constant signal of type Complex

currentSensor

Type: CurrentSensor

Description: Current sensor

voltageSensor

Type: VoltageSensor

Description: Voltage sensor

bode

Type: Bode

Description: Calculate quantities to plot Bode diagram