Problem Description
There are several important differences in the documentation of the Twozone Apartment Hydronic use-case, and the implementation of the model in Modelica.
Differences
- The material matFlo is not specified in the documentation, screenshot below of the model implementation (line 67 in thermalZone in msl4 branch). Also the first layer has a heat capacity and density of zero, so can't this be removed as well?
Also, I can't find where this matFlo is actually used, or isn't it used at all? If not, I propose to remove it to avoid confusion.
- Wrong thickness of last ceiling layer (gypsum and sand plaster). The documentation reports a thickness of 0.2m while the model specifies 0.02m. Screenshots below of thermalZone model line 177.
The same issue holds for the floor slab construction, line 362.
- Wrong thickness of layer 3 in radiantslab construction (slaCon, Expanded polystyrene). Line 337 in ThermalZone. Model uses 0.0281m while documentation specifies 0.026m. Not a large difference, but it should be identical.
- thermalZone is used as a base for both dayZone and nightZone models (in this folder). nightZone extends from thermalZone without changing anything, so thermalZone should reflect all parameters from nightZone.
In thermalZone (line 94), some issues arise due to hardcoding dimensions. For example, the width of the exterior wall is taken to be 5.3m, but this is not correct for the night zone. I propose to replace the hardcoded dimensions by parameters that are given at the start of the model, as specified in the documentation by the apartment plan.
The boundary conditions datConBou also have wrong azimuths. The upper wall has both constructions 'Apartment separator' and 'Elevator separator', but this is not accounted for.
- dayZone extends from thermalZone with a wrong window dimension. Again I propose to not hardcode the dimensions in this part of the code, but specify them up front.
The boundary conditions are also different than the nightZone. dayZone considers the internal partition as a construction boundary ( datConBou ) while nightZone considers it as surBou.
Summary
I propose to adopt a more rigorous way of defining the building dimensions and parameters up front, instead of hardcoding them in the components themselves. Regarding the thickness of several layers (points 1-3), what is correct? The model or the documentation?
I'd be happy to fix all this in the om_msl4 branch, or elsewhere if preferred.
Problem Description
There are several important differences in the documentation of the Twozone Apartment Hydronic use-case, and the implementation of the model in Modelica.
Differences
Also, I can't find where this matFlo is actually used, or isn't it used at all? If not, I propose to remove it to avoid confusion.
The same issue holds for the floor slab construction, line 362.
In thermalZone (line 94), some issues arise due to hardcoding dimensions. For example, the width of the exterior wall is taken to be 5.3m, but this is not correct for the night zone. I propose to replace the hardcoded dimensions by parameters that are given at the start of the model, as specified in the documentation by the apartment plan.
The boundary conditions
datConBoualso have wrong azimuths. The upper wall has both constructions 'Apartment separator' and 'Elevator separator', but this is not accounted for.The boundary conditions are also different than the nightZone. dayZone considers the internal partition as a construction boundary (
datConBou) while nightZone considers it assurBou.Summary
I propose to adopt a more rigorous way of defining the building dimensions and parameters up front, instead of hardcoding them in the components themselves. Regarding the thickness of several layers (points 1-3), what is correct? The model or the documentation?
I'd be happy to fix all this in the om_msl4 branch, or elsewhere if preferred.