Abstract. A modeling framework is proposed for circuits that are subject to both time and state events. The framework applies to switched networks with linear and piecewise linear elements including diodes and switches. We show that the linear complementarity formulation, which already has proved effective for piecewise linear networks, can be extended in a natural way to cover also switching circuits. We show that the proposed framework is sound in the sense that existence and uniqueness of solutions is guaranteed under a passivity assumption. We prove that only first-order impulses occur and characterize all situations that give rise to a state jump; moreover, we provide rules that determine the jump. Finally, we derive a stability result. Hence, for a subclass of hybrid dynamical systems, the issues of well-posedness, regularity of trajectories, jump rules, consistent states and stability are resolved.