Search code examples
modelicadymolaheat

Heat Regeneration in Dymola/Modelica


I want to build a system which consists of solar thermal collectors and ground source heat exchanger. I have a whole season weather data, which is connected with solar thermal collectors. I want to see how much heat will be released during the whole season from solar collectors to the ground by ground source heat exchanger respectively borehole, and the increased ground temperature by heat release.

Although I have the same number of unknowns and equations, the singularity error comes up.

Is there any missing process element?

Screenshot of model


Solution

  • The thermo-hydraulic part of your model needs a "ground" component to provide the reference pressure and enthalpy, since the heat exchanger components only describe changes in pressure/enthalpy.

    You could use, e.g., a Modelica.Fluid.Sources.Boundary_pT, Modelica.Fluid.Sources.Boundary_ph or Buildings.Fluid.Storage.ExpansionVessel component for that.