Modelica models used in blog post about electrical engineering