Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the radiative heat port of SPAWN thermal zones leads to the simulation failing midway. #3994

Closed
Mov0 opened this issue Sep 10, 2024 · 1 comment

Comments

@Mov0
Copy link

Mov0 commented Sep 10, 2024

dslog.txt
Describe the bug
When running Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.Radiator the simulation fails with the following error message:

... Error message from dymosim
At time T = 1.260000e+04 and stepsize
H = 1.370330e-10 the code had repeated error test failures
on the last attempted step. A singularity in the solution may be
present. (For DAEs: Provide initial values of X and of XD which
are consistent). Integration will be terminated.

The simulation analysis indicates that there is a problem with the radiative heat port in Buildings.ThermalZones.EnergyPlus_9_6_0.ThermalZone. When the radiative heat port of the radiator is connected with the heat port of the air volume instead of the radiative heat port of the zone, the simulation terminates successfully.

To Reproduce
Steps to reproduce the behavior:

  1. Download and unzip Buildings 11.0.0
  2. Remove space from directory name (see FMU instantiation in SPAWN fails if installation directory has space, even though the problem has been addressed in the past. #3993)
  3. Run Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.Radiator
  4. See error

Expected behavior
The simulation of the example should terminate successfully.

Screenshots
grafik

Version

  • Modelica Buildings Library: 11.0.0 (also tested with commit eadbd6c)
  • Modelica simulation environment: Dymola 2024x
  • Operating system: Windows: Windows 10 Education 22H2 64-bit
@mwetter
Copy link
Member

mwetter commented Nov 25, 2024

This model works (as tested on Linux). It is possible that on Windows the numerics is slightly different due to a different compiler.

The fact that the model works if you connect the radiation port differently is because this changes the set of equations which can -- and here will -- make the model work.

I suggest you try to change the tolerance and/or the solver and if the problem persists, report it to the Dymola support. I don't see what could/should be changed in the library.

@mwetter mwetter closed this as completed Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants