Consider the electrical circuit in Fig. 5. When the switch, Sw, is open, the parallel RLC circuit on its right exhibits damped oscillatory behavior and both the energy storing elements, C2 and L are independent. When the switch is closed, vC2 is forced to equal vC1 which may call for an instantaneous redistribution of charge between C1 and C2 based on the conservation principle. The inductor, L, remains independent, and, therefore, does not partake in the state redistribution.
The system of
equations that describes the behavior after the switch is
closed can be compiled as
The algebraic constraint in the equation on the bottom row captures
the voltage dependency between the two capacitors C1 and C2.
The equation on the one but last row describes the nodal equation that
all currents sum to . These two equations form h.
The first three rows form the equations that
capture the time-derivative constituent
behavior of C1, C2, and L1, and are part of f.
Therefore,
The remaining variable and its derivative are not part of algebraic
constraints, and, therefore, continuous. They belong to
The equation on the bottom row contains algebraic contraints in x only,
and forms . The equation on the one but last row contains
the algebraic variables
Partitioning F and H results in
and
From this, the pseudo-inverse of F' is
Therefore,
which results in the projection equation based on conservation
principles (Eq. (22))
Given Eq. (8) through (10),
the right-hand terms
are for . The remainder can be written as
(v = v(t+) and v0 = v(t-))
Along with the algebraic
equations, , this yields the system of equations