DC voltage
An ideal constant DC voltage source.
- electrical
- Gradara equations
- 2 ports
- 1 parameter
dcSourceLibraryElectricalDescription
An ideal constant voltage source. Use it for DC supplies and buses.
Example
Electrical sources Every voltage and current source driving a resistor, each with a voltmeter across it.
DC 12 VLoad A 12 Ωv AGround ADC 1 ALoad B 10 Ωv BGround BSine 10 VLoad C 10 Ωv CGround CSine 1 ALoad D 10 Ωv DGround DRamp 10 VLoad E 10 Ωv EGround EPulse 5 VLoad F 10 Ωv FGround F3 sin(2π·50t)Signal voltageLoad G 10 Ωv GGround G0.5Signal currentLoad H 10 Ωv HGround H
Also in this example:Voltage sensorConstantGroundSine waveResistorAC voltageAC currentDC currentRamp voltagePulse voltageControlled voltageControlled current
Ports
Conserving terminals 2
-
+
pPositive terminal, V volts above n.
-
−
nNegative terminal.
Parameters
-
Voltage
V24 VVoltage, in volts. Any real number.
Equations
Modelica
p.v − n.v = V p.i + n.i = 0
Assumptions and limitations
- No internal resistance or current limit. For a source that sags under load, add a series Resistor or use Battery.
Tips
- Current flowing out of p into the circuit appears as a negative p.i: the source is delivering power.
Used in
These larger examples use it too. Open them from Examples in the app.
- Buck converter · Ideal switches
- Data center cooling control
See also
Select a block in Gradara and press F1 to open its page offline.