Direct current circuit solver

A local direct current solver using nodal analysis: resistors, voltage and current sources, node voltages, element currents and powers, a Kirchhoff check at every node and a power balance.