AC single-phase sources
This package hosts sources for quasi-static single-phase circuits. Quasi-static theory for single-phase circuits can be found in the references.
Extends from Modelica.Icons.SourcesPackage (Icon for packages containing sources).
| Name | Description |
|---|---|
| Constant AC voltage | |
| Variable AC voltage | |
| Voltage source with integrated frequency sweep | |
| Constant AC current | |
| Variable AC current | |
| Current source with integrated frequency sweep |
Modelica.Electrical.QuasiStatic.SinglePhase.Sources.VoltageSourceConstant AC voltage
This is a constant voltage source, specifying the complex voltage by the RMS voltage and the phase shift.
VariableVoltageSource, CurrentSource, VariableCurrentSource
Extends from Interfaces.Source (Partial voltage / current source).
| Name | Description |
|---|---|
| f | Frequency of the source [Hz] |
| V | RMS voltage of the source [V] |
| phi | Phase shift of the source [rad] |
| Initialization | |
| gamma | [rad] |
| Name | Description |
|---|---|
| pin_p | Positive quasi-static single-phase pin |
| pin_n | Negative quasi-static single-phase pin |
Modelica.Electrical.QuasiStatic.SinglePhase.Sources.VariableVoltageSourceVariable AC voltage
This is a voltage source with a complex signal input, specifying the complex voltage by the complex RMS voltage components. Additionally, the frequency of the voltage source is defined by a real signal input.
VoltageSource, CurrentSource, VariableCurrentSource
Extends from Interfaces.Source (Partial voltage / current source).
| Name | Description |
|---|---|
| Initialization | |
| gamma | [rad] |
| Name | Description |
|---|---|
| pin_p | Positive quasi-static single-phase pin |
| pin_n | Negative quasi-static single-phase pin |
| f | [Hz] |
| V |
Modelica.Electrical.QuasiStatic.SinglePhase.Sources.FrequencySweepVoltageSourceVoltage source with integrated frequency sweep
This source provides a constant RMS phase voltage V and phase angle phi,
whereas the frequency sweeps from
fStart to fStop with duration. The frequency sweeps such
way that on a logarithmic frequency scale, the frequency curve appears linear.

Extends from Interfaces.TwoPin (Two pins).
| Name | Description |
|---|---|
| fStart | Start sweep frequency [Hz] |
| fStop | Stop sweep frequency [Hz] |
| startTime | Start time of frequency sweep [s] |
| duration | Duration of frequency sweep [s] |
| V | RMS voltage of the source [V] |
| phi | Phase shift of the source [rad] |
| Name | Description |
|---|---|
| pin_p | Positive quasi-static single-phase pin |
| pin_n | Negative quasi-static single-phase pin |
Modelica.Electrical.QuasiStatic.SinglePhase.Sources.CurrentSourceConstant AC current
This is a constant current source, specifying the complex current by the RMS current and the phase shift.
VoltageSource, VariableVoltageSource, VariableCurrentSource
Extends from Interfaces.Source (Partial voltage / current source).
| Name | Description |
|---|---|
| f | Frequency of the source [Hz] |
| I | RMS current of the source [A] |
| phi | Phase shift of the source [rad] |
| Initialization | |
| gamma | [rad] |
| Name | Description |
|---|---|
| pin_p | Positive quasi-static single-phase pin |
| pin_n | Negative quasi-static single-phase pin |
Modelica.Electrical.QuasiStatic.SinglePhase.Sources.VariableCurrentSourceVariable AC current
This is a current source with a complex signal input, specifying the complex current by the complex RMS current components. Additionally, the frequency of the voltage source is defined by a real signal input.
VoltageSource, VariableVoltageSource, CurrentSource,
Extends from Interfaces.Source (Partial voltage / current source).
| Name | Description |
|---|---|
| Initialization | |
| gamma | [rad] |
| Name | Description |
|---|---|
| pin_p | Positive quasi-static single-phase pin |
| pin_n | Negative quasi-static single-phase pin |
| f | [Hz] |
| I |
Modelica.Electrical.QuasiStatic.SinglePhase.Sources.FrequencySweepCurrentSourceCurrent source with integrated frequency sweep
This source provides a constant RMS phase current I and phase angle phi,
whereas the frequency sweeps from
fStart to fStop with duration. The frequency sweeps such
way that on a logarithmic frequency scale, the frequency curve appears linear.

Extends from Interfaces.TwoPin (Two pins).
| Name | Description |
|---|---|
| fStart | Start sweep frequency [Hz] |
| fStop | Stop sweep frequency [Hz] |
| startTime | Start time of frequency sweep [s] |
| duration | Duration of frequency sweep [s] |
| I | RMS current of the source [A] |
| phi | Phase shift of the source [rad] |
| Name | Description |
|---|---|
| pin_p | Positive quasi-static single-phase pin |
| pin_n | Negative quasi-static single-phase pin |