Modelica is a free language used for modelling multiphysical systems including electrical, thermal, mechanical and hydraulic components. Thanks to a simple syntax, it is possible to directly implement system equations.