How have I only now discovered #openmodelica and #modelica?! Incredible #opensource software for #simulation of systems.