Implement sinusoidal voltage source
The AC Voltage Source block implements an ideal AC voltage source. The generated voltage U is described by the following relationship:
Negative values are allowed for amplitude and phase. A frequency of 0 and phase equal to 90 degrees specify a DC voltage source. Negative frequency is not allowed; otherwise the software signals an error, and the block displays a question mark in the block icon.
The peak amplitude of the generated voltage, in volts (V).
The phase in degrees (deg).
The source frequency in hertz (Hz).
The sample period in seconds (s). The default is 0, corresponding to a continuous source.
Select Voltage to measure the voltage across the terminals of the AC Voltage Source block.
Place a Multimeter block in your model to display the selected measurements during the simulation. In the Available Measurements list box of the Multimeter block, the measurement is identified by a label followed by the block name.
The power_acvoltagepower_acvoltage example uses two AC Voltage Source blocks at different frequencies connected in series across a resistor. The sum of the two voltages is read by a Voltage Measurement block.