You can model passive circuits with RLC ordinary differential equations (depending on the setup of the equations there's some algorithms such as Runge Kutta to solve them numerically). Afaik you can model some active components with ordinary differential equations, but I wouldn't be surprised if you had to resort to partial differential equations (More or less a "complete" electromagnetic simulation at that point).
the physical state of all them wires? not very portable