Ohm's Law Model  

STELLA models for circuits require a little finesse. As seen in the capacitance model, current is the rate of change of charge. For consistency with the earlier models, charge remains a stock here.

THE MODEL
Vensim Version STELLA Version

[Diagram Level | Equations Level | Graphs ]




Transferred_Charge(t) = Transferred_Charge(t - dt) + (Current) * dt
INIT Transferred_Charge = 0
Current = Voltage/Resistance
Transferred_Energy(t) = Transferred_Energy(t - dt) + (Power) * dt
INIT Transferred_Energy = 0
Power = (Voltage^2)/Resistance
Resistance = 10
Voltage = 12
Time Specs
Range: 0-12, dT = 0.25, Integration Method = Runge-Kutta 2





Home | Contact | Site Map | Search