DC Voltage Source
Ideal constant voltage source
Simscape / Foundation Library / Electrical / Electrical Sources
The DC Voltage Source block represents an ideal voltage source that is powerful enough to maintain specified voltage across its terminals regardless of the current flowing through the source.
You specify the output voltage by using the Constant voltage parameter, which can be positive or negative.
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.
Constant voltage — Output voltage
1 V (default) | scalar
Voltage across the source. You can specify positive or negative values.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2007a