RWTH-EBC / BESMod

A Modelica library providing building energy system modules
Other
16 stars 0 forks source link

Error when assigning TSup_nominal in case of multiple zones #17

Closed larissakuehn closed 2 years ago

larissakuehn commented 2 years ago

If the model has multiple zones, there is an error in the assignment of TSup_nominal.

In the Transfer model there is a parameter TSup_nominal[nParallelSup]. In PartialBuildingEnergySystem, this is set equal to TSup_nominal = SystemParameters.THydSup_nom, which is originally defined as THydSup_nominal[nZones]. If nParallelSup and nZones are not equal, an error occurs.

To avoid the error, TSup_nom should be split into two parameters:

Within the Transfer model, the maximum temperature of the transmission systems should then be used for the temperature of the supply systems as follows: TSup_nominal[nParallelSup] = fill(max(TTran_nominal),nParallelSup)

Translated with www.DeepL.com/Translator (free version)

github-actions[bot] commented 2 years ago

Branch 17-Error-when-assigning-TSup_nominal-in-case-of-multiple-zones created!

FWuellhorst commented 2 years ago

This is not yet done, as Q_flow and m_flow are also affected.

FWuellhorst commented 2 years ago

Should be closed by #23