The Advanced Controls Test Bed (ACTB) is a virtual buildings test bed that interfaces external controllers to high-fidelity Spawn of EnergyPlus models.
26
stars
9
forks
source link
wetcoil.mo: TADP out of bounds when simulated with JModelica #5
The current implementation of SOM3 crashes because the value of TADP drops below the lower bound.
The error could be related to the MBL.
Dymola:
The simulation works flawlessly.
JModelica:
The simulation crashes before completing the first step.
The log gives a warning and an error:
1) mod.system3CAV.sinSpeDX.dxCoo.wetCoi.appDewPt.m_flow_nonzero becomes zero, even if I manually set up a nonzero Mdot in the .mo file. This leads to a warning because of a division by zero.
2) mod.system3CAV.sinSpeDX.dxCoo.wetCoi.appDewPt.TADP decreases until it breaks a lower bound. The simulation crashes afterwards.
Debug
[x] review changes to the dxCoo model, revert if necessary
[ ] update HRG's fork with the upstream branch
[x] test the dxCoo model without SoEP, in Dymola
[x] test the dxCoo model without SoEP, in JModelica
The current implementation of SOM3 crashes because the value of TADP drops below the lower bound. The error could be related to the MBL.
Dymola:
The simulation works flawlessly.
JModelica:
The simulation crashes before completing the first step. The log gives a warning and an error: 1) mod.system3CAV.sinSpeDX.dxCoo.wetCoi.appDewPt.m_flow_nonzero becomes zero, even if I manually set up a nonzero Mdot in the .mo file. This leads to a warning because of a division by zero. 2) mod.system3CAV.sinSpeDX.dxCoo.wetCoi.appDewPt.TADP decreases until it breaks a lower bound. The simulation crashes afterwards.
Debug