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

TypeNameDefaultDescription
Base.Types.FreqTypefType (from ACvoltageBase)Base.Types.sysf: system, parameter, signal
SI.Frequencyf (from ACvoltageBase)system.ffrequency
Integerpol (from VoltageBase)-1grounding scheme
Base.Types.SourceTypescType (from VoltageBase)Base.Types.parv: parameter or signal
SIpu.Voltageveff1eff voltage
SI.Anglealpha00phase angle
Nominal
Base.Types.Unitsunits (from Nominal)Types.puSI | pu
SI.VoltageV_nom (from Nominal)1nom Voltage (= base if pu)
SI.ApparentPowerS_nom (from Nominal)1nom Power (= base if pu)

Connectors

TypeNameDefaultDescription
Base.Interfaces.ElectricV_nterm (from Port_n)negative terminal
Base.Interfaces.Electric_pneutral (from VoltageBase)(use for grounding)
Modelica.Blocks.Interfaces.RealInputvPhasor (from ACvoltageBase){abs(voltage), phase(voltage)}
Modelica.Blocks.Interfaces.RealInputomega (from ACvoltageBase)ang frequency