# The Physics of Physiology - Example 1: An electrical circuit

## Bond graph example: An electrical circuit

Here we show an electrical circuit with static storage (capacitor C), dynamic storage (inductor L) and dissipation (resistor R).
*v*^{e}_{in} and *v*^{e}_{out} are the input and output fluxes (electrical currents), respectively.
*v*^{e}_{C}, *v*^{e}_{R} and *v*^{e}_{L} are the currents flowing through capacitor C, resistor R and inductor L, respectively, and *u*^{e}_{C}, *u*^{e}_{R} and *u*^{e}_{L} are the electrical potentials across them.
Superscript ‘e’ indicates that the variables are electrical quantities; subscripts indicate the location in the circuit for each quantity.

There are two implementations of this model available:

- The standard BG model from the lecture notes: FAIRDO BG example 3.1; and
- A version with the full power and energy calculations shown: FAIRDO BG example 3.1.1