Controlled current
Current equal to the input signal.
- signal
- electrical
- Modelica Standard Library
- 3 ports
signalCurrentLibraryElectricalDescription
An ideal current source whose current equals its input signal.
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:DC voltageVoltage sensorConstantGroundSine waveResistorAC voltageAC currentDC currentRamp voltagePulse voltageControlled voltage
Ports
Inputs 1
-
i
Commanded current p.i, in amperes.
Conserving terminals 2
-
+
pPositive pin. The commanded current flows into p, through the source, and out of n.
-
−
nNegative pin.
Equations
Modelica
p.i = i p.i + n.i = 0
Implementation
Modelica Standard Library 4.1.0
MSL documentation Modelica.Electrical.Analog.Sources.SignalCurrentAssumptions and limitations
- No voltage limit: the source produces whatever voltage the load requires.
Tips
- A positive input pushes current out of n into the circuit.
Used in
These larger examples use it too. Open them from Examples in the app.
- Data center cooling control
- EV drivetrain
See also
Select a block in Gradara and press F1 to open its page offline.