refactor, extract analysis class for (modified) nodal analysis