.DisHeatLib.Examples.PrepareForCoSim

Information

This example extendends baseLowTemQT such that it can be linked to an electric simulation by using the model "FMIhelper" which takes averages of power consumption values over 15 minutes, to communicate those with an electric steady-state simulation.

Before simulating it is recommended to type "Advanced.SparseActivate=true" into the commands to reduce computation time substantially.

Available commands:


After simulating there are 8 different plot commands available to better understand this example:

  1. This plot compares the demand to the actual supply of space heating each building is receiving by both overlapping the two curves and plotting their difference below. After a short starting period the difference is negligibly small, since space heating demand is quite smooth.
  2. This plot compares the demand to the actual supply of domestic hot water each building is receiving by both overlapping the two curves and plotting their difference below. The difference isn't negligible as domestic hot water demand can change rapidly and by great amounts, but still is rather small compared to the values of the demand. (To highlight the differences in the plot click on peaks dipping below the x-axis.)
  3. This plot compares the temperature of the water flowing in and out of the building therefor showing how the consumption affects the temperature in the supply.
  4. This plot shows the difference in pressure of the water in the buildings before and after consumption.
  5. This plot shows the mass flow of the water in the buildings before and after consumption.
  6. This plot shows the losses of heat through the pipes and the temperature of the water returning to the supply station, for reference the supply temperature is plotted aswell.
  7. This plot compares the mass flow and the heat flow of the two different supplies.
  8. This plot shows how the FMIHelper takes the average of the power concumption of a building in short time windows to allow a co-simulation with an electric simulation.

Generated at 2024-04-25T18:15:59Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos