modelRLSeriesFrequencySweep
Series circuit with Bode analysis
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Description
The frequency of the voltage source of an R-L series circuit is varied by a logaithmic ramp. The supply voltage magnitude is constant.
Plot the following variable(s)
dB_yagainstvoltageSource.f(logarithmic scale): gain responsearg_yagainstvoltageSource.f(logarithmic scale): phase responsevoltageSensor.y.imagainstvoltageSensor.y.re: locus of resistor voltage
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | abs_y | bode.abs_y | Magnitude of voltage ratio |
| Modelica.Units.SI.AmplitudeLevelDifference | dB_y | bode.dB_y | Log10 of magnitude of voltage ratio in dB |
| Modelica.Units.SI.Angle | arg_y | bode.arg_y | Angle of voltage ratio |
| Modelica.Blocks.Sources.LogFrequencySweep | frequencySweep | ||
| Modelica.Electrical.QuasiStatic.SinglePhase.Sources.VariableVoltageSource | voltageSource | ||
| Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Ground | ground | ||
| Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Resistor | resistor | ||
| Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Inductor | inductor | ||
| Modelica.ComplexBlocks.Sources.ComplexConstant | complexConst | ||
| Modelica.Electrical.QuasiStatic.SinglePhase.Sensors.CurrentSensor | currentSensor | ||
| Modelica.Electrical.QuasiStatic.SinglePhase.Sensors.VoltageSensor | voltageSensor | ||
| MoveTo_Modelica.ComplexBlocks.ComplexMath.Bode | bode |