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 angular frequency (choose fType == "sig")
vPhasor {eff(v), phase(v)}
vPhasor[1] in SI or pu, depending on choice of 'units'
vPhasor[2] in rad
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Base.Types.FreqType | fType (from ACvoltageBase) | Base.Types.sys | f: system, parameter, signal |
| SI.Frequency | f (from ACvoltageBase) | system.f | frequency |
| Integer | pol (from VoltageBase) | -1 | grounding scheme |
| Base.Types.SourceType | scType (from VoltageBase) | Base.Types.par | v: parameter or signal |
| SIpu.Voltage | veff | 1 | eff voltage |
| SI.Angle | alpha0 | 0 | phase angle |
| Nominal | |||
| Base.Types.Units | units (from Nominal) | Types.pu | SI | pu |
| SI.Voltage | V_nom (from Nominal) | 1 | nom Voltage (= base if pu) |
| SI.ApparentPower | S_nom (from Nominal) | 1 | nom Power (= base if pu) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Base.Interfaces.ElectricV_n | term (from Port_n) | negative terminal | |
| Base.Interfaces.Electric_p | neutral (from VoltageBase) | (use for grounding) | |
| Modelica.Blocks.Interfaces.RealInput | vPhasor (from ACvoltageBase) | {abs(voltage), phase(voltage)} | |
| Modelica.Blocks.Interfaces.RealInput | omega (from ACvoltageBase) | ang frequency |