DC voltage

An ideal constant DC voltage source.

  • electrical
  • Gradara equations
  • 2 ports
  • 1 parameter
BlockDC voltageKinddcSourceLibraryElectrical

Description

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
In Gradara, select a DC voltage block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:Voltage sensorConstantGroundSine waveResistorAC voltageAC currentDC currentRamp voltagePulse voltageControlled voltageControlled current

Ports

Conserving terminals 2

  • +p

    Positive terminal, V volts above n.

  • −n

    Negative terminal.

Parameters

  • VoltageV24 V

    Voltage, 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.