\$ i=\frac{dq}{dt} \$

Is 'q' a state variable in general?

  • \$\begingroup\$ Charge is a physical quantity, a scalar. The number of free electrons in a given space at a given time. Static and not moving. \$\endgroup\$ – crowie Dec 24 '16 at 6:02
  • \$\begingroup\$ Anything can be a state variable, from a gps coordinate to a voltage to the position velocity or acceleration of a car \$\endgroup\$ – Voltage Spike Dec 24 '16 at 6:24

Yes, if we understand the same thing by state variable.

If we are trying to do a time-step by step simulation of a circuit, then we might proceed as follows

a) using the following initial conditions for each step

source voltages and currents
the ground voltage (=0)
the voltage across any capacitor (as it depends on the capacitor charge)
the current through any inductor (as it depends on the inductor flux)

b) now solve for all the remaining voltages and currents

c) now update the capacitor voltages due to the time integrated current that flows into them, and update the inductor currents due to the time integrated voltage across them, these become the initial conditions for the next step

A related notion is that charge in a capacitor, and current in an inductor, stores energy.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.