1

Severe error calculated density of air is negative

Hello everyone! I am modeling a solar cooling system in EnergyPlus and while running the simulation I've got this severe error:

** Severe  ** PsyRhoAirFnPbTdbW: RhoAir (Density of Air) is calculated <= 0 [-9.04677].
**   ~~~   ** pb =[101100.00], tdb=[-312.09], w=[0.0000000].
**   ~~~   **  Routine=CorrectZoneHumRat, During Warmup, Environment=DSDAYTANGIER COOLING 0.4%, at Simulation time=08/21 00:12 - 00:13
**  Fatal  ** Program terminates due to preceding condition.

I also got a warning that the calculated cooling load is zero, and also the water heater's Recovery Efficiency and Energy Factor could not be calculated during the test for standard ratings.

I tried to hard size the cooling coil but the results are the same.

If anyone could help I'll be grateful. For more details you could find my IDF file in this link: https://drive.google.com/file/d/15HFw...

maria123098's avatar
43
maria123098
asked 2020-12-04 02:33:16 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2020-12-07 09:31:34 -0500
edit flag offensive 0 remove flag close merge delete

Comments

tdb=[-312.09]. That is quite cold. Especially when you consider that absolute zero is 0 K = -273.15 °C :)

Julien Marrec's avatar Julien Marrec (2020-12-08 04:34:19 -0500) edit
add a comment see more comments

1 Answer

1

I have upgraded the provided defect file (v8.7) to energyplus v9.4.0 and got an actual hard crash. So I went ahead and created an issue at NREL/EnergyPlus#8412. I will report back if a resolution is found.


Workaround: The problem is explained in more details on https://github.com/NREL/EnergyPlus/is..., but basically you want to NOT autosize the tank (volume and height at least) for now.

For eg, given that your WaterHeater:Sizing objects indicate "Nominal Tank Volume for Autosizing Plant Connections" of 30 m3 for HW ST and 0.1 m3 for HW Aux, do something like this in the WaterHeater:Stratified:

  WaterHeater:Stratified,
    HW ST,                   !- Name
    General,                 !- End-Use Subcategory
    30.0    ,                !- Tank Volume {m3} <= Enter hard value
    2.0,                     !- Tank Height {m} <= Enter hard value
    [...]

  WaterHeater:Stratified,
    HW Aux,                  !- Name
    General,                 !- End-Use Subcategory
    0.1,                     !- Tank Volume {m3} <= Enter hard value
    1,                       !- Tank Height {m} <= Enter hard value
    [...]

With that change, the file wile run to completion.

Julien Marrec's avatar
29.7k
Julien Marrec
answered 2020-12-08 04:47:44 -0500, updated 2020-12-08 08:19:53 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you for your contribution, it was very helpful

maria123098's avatar maria123098 (2020-12-08 13:19:50 -0500) edit
add a comment see more comments