AC Voltage Source
Ideal constant voltage source
Simscape / Foundation Library / Electrical / Electrical Sources
The AC Voltage Source block represents an ideal voltage source that maintains sinusoidal voltage across its output terminals, independent of the current flowing through the source.
The output voltage is defined by the following equation:
V is voltage.
V0 is peak amplitude.
f is frequency.
φ is phase shift.
t is time.
Connections + and - are conserving electrical ports corresponding to the positive and negative terminals of the voltage source, respectively. The current is positive if it flows from positive to negative, and the voltage across the source is equal to the difference between the voltage at the positive and the negative terminal, V(+) – V(-).
+ — Positive terminal
Electrical conserving port associated with the source positive terminal.
- — Negative terminal
Electrical conserving port associated with the source negative terminal.
Peak amplitude — Peak voltage amplitude
1 V (default) | scalar
Peak voltage amplitude.
Phase shift — Phase shift in angular units
0 deg (default) | scalar
Phase shift in angular units.
Frequency — Voltage frequency
60 Hz (default) | positive scalar
Voltage frequency, specified in Hz or units directly convertible to Hz (where Hz is defined as 1/s). For example, kHz and MHz are valid units, but rad/s is not.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2007a