AcSource() Function

The AcSource() function changes the AC voltage and frequency of a AC line source, without changing the subcircuit definition used by the source symbol. This function can only be placed in the Source column.

The AcSource() function changes the AC_VOLTAGE1 and FREQUENCY parameters on the source, no other parameters are changed.

Testplan Entry

To set the voltage and frequency of a source, use the following syntax:

AcSource(REF, LINE_RANGE, VOLTAGE,FREQUENCY)  
Argument Range Description
REF n/a The actual reference designator of the DVM Source or the  more generic syntax of INPUT:n where n is an integer indicating a position in the list of Managed Sources and Loads
LINE_RANGE LL or HL The line range to select the correct symbolic voltage value. This can only be the two strings LL or HL.
VOLTAGE min:0 The RMS voltage for the input source. The voltage can be a numeric value or a Symbolic Values, such as a percentage of nominal input voltage. Symbolic values use the LINE_RANGE parameter to find the correct symbolic value.
FREQUENCY min: > 0 The AC line frequency of the input source. This is used to both set the frequency of the input source and to set the simulation timing. The frequency can be a numeric or a symbolic value, such as F_High or F_Low.