modelACvoltage
Ideal AC voltage, 1-phase
Extends from Partials.ACvoltageBase (AC voltage base).
Information
AC voltage with constant amplitude and phase when 'vType' is 'parameter',
with variable amplitude and phase when 'vType' is 'signal'.
Optional input:
omega_in angular frequency (choose fType == "Signal")
vPhasor_in {eff(v), phase(v)}
vPhasor_in[1] in SI or pu, depending on choice of 'units'
vPhasor_in[2] in rad
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | pol (from VoltageBase) | -1 | grounding scheme |
| Boolean | use_vPhasor_in (from ACvoltageBase) | false | = true to use input signal vPhasor_in, otherwise use fixed values |
| SIpu.Voltage | v0eff | 1 | fixed effective voltage |
| SI.Angle | alpha0 | 0 | fixed phase angle |
| Parameter Scaling | |||
| Boolean | puUnits (from Nominal) | true | = true, if scaled with nom. values (pu), else scaled with 1 (SI) |
| Nominal | |||
| SI.Voltage | V_nom (from Nominal) | 1 | nominal Voltage (= base for pu) |
| SI.ApparentPower | S_nom (from Nominal) | 1 | nominal Power (= base for pu) |
| Frequency | |||
| Types.SourceFrequency | fType (from ACvoltageBase) | PowerSystems.Types.SourceFrequency.System | frequency type |
| SI.Frequency | f (from ACvoltageBase) | system.f | frequency if type is parameter |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Ports.TwoPin_n | term (from Port_n) | negative terminal | |
| Interfaces.Electric_p | neutral (from VoltageBase) | (use for grounding) | |
| Modelica.Blocks.Interfaces.RealInput | vPhasor_in (from ACvoltageBase) | {abs(voltage), phase(voltage)} | |
| Modelica.Blocks.Interfaces.RealInput | omega_in (from ACvoltageBase) | Angular frequency of source |