Development, validation and demonstration of a new Modelica pit thermal energy storage model for system simulation and optimization | Synapse