A parameter record always needs default values
Describe the bug
AixLib.Utilities.Sources.HeaterCooler.PartialHeaterCoolerPI
does not have a default parameter selected.
For instance see model AixLib.ThermalZones.HighOrder.Validation.ASHRAE140.Case620
.
The parameter zoneParam
is empty (by default). Normally this should be no problem since no parameter of this record is used.
According to this section in the Modelica Specs a model needs to be locally balanced, which is the reason for this issue.
To Reproduce Steps to reproduce the behavior:
- Go to
AixLib.ThermalZones.HighOrder.Validation.ASHRAE140.Case620
- Simulate
- See error message
Expected behavior
Although, recOrSep
is on "Separate", a default parameter for zoneParam
must be selected.
Desktop (please complete the following information):
- Windows 10, Dymola 2020
Additional context
Although this is a bug report, I woul recommend to merge later into development
Approach to solve issue
- Create a dummy record with non-physical parameters that is then the by default selected record
zoneParam
inAixLib.Utilities.Sources.HeaterCooler.PartialHeaterCoolerPI
.