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

remove various warnings issued by Spawn #2220

Closed
mwetter opened this issue Nov 4, 2020 · 5 comments · Fixed by #2984
Closed

remove various warnings issued by Spawn #2220

mwetter opened this issue Nov 4, 2020 · 5 comments · Fixed by #2984
Assignees
Labels
spawn Development for Spawn of EnergyPlus
Milestone

Comments

@mwetter
Copy link
Member

mwetter commented Nov 4, 2020

Simulating Buildings.ThermalZones.EnergyPlus.Validation.Schedule.EquipmentSchedule in Dymola leads to the warnings below.
This issue is to remove them.

The output is from 753a530 (the current master).

In EquipmentSchedule.building: EnergyPlus Warning: ManageSizing: For a zone sizing run, there must be at least 1 Sizing:Zone input object. SimulationControl Zone Sizing option ignored.
In EquipmentSchedule.building: EnergyPlus Warning: ManageSizing: For a plant sizing run, there must be at least 1 Sizing:Plant object input. SimulationControl Plant Sizing option ignored.
In EquipmentSchedule.building: EnergyPlus Warning: ProcessScheduleInput: Schedule:Constant="SPAWN-RADIANTGAINS-SCHEDULE", Blank Schedule Type Limits Name input -- will not be validated.
Model: Buildings.ThermalZones.EnergyPlus.Validation.Schedule.EquipmentSchedule
Integration started at 0 using integration method:
cvode from sundials

In EquipmentSchedule.building: EnergyPlus Warning: Calculated Relative Humidity out of range (PsyRhFnTdbWPb) 
In EquipmentSchedule.building: EnergyPlus Warning:  Routine=Unknown, Environment=SPAWN-RUNPERIOD, at Simulation time=01/01 00:50 - 00:50
In EquipmentSchedule.building: EnergyPlus Warning:  Dry-Bulb= -7.72 Humidity Ratio= 2.083E-003 Calculated Relative Humidity [%]= 104.60
In EquipmentSchedule.building: EnergyPlus Warning: Relative Humidity being reset to 100.0%
@mwetter mwetter added the spawn Development for Spawn of EnergyPlus label Nov 4, 2020
@mwetter mwetter added this to the Release 8.0 milestone Mar 10, 2021
kbenne added a commit to NREL/Spawn that referenced this issue Apr 30, 2021
kbenne added a commit to NREL/Spawn that referenced this issue Apr 30, 2021
@mwetter
Copy link
Member Author

mwetter commented May 4, 2021

@kbenne : With Spawn-0.1.0-3ec0a1fa6e-Linux.tar.gz, the warning about the humidity is still there:

Model: Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.EquipmentSchedule
Integration started at 0 using integration method:
cvode from sundials

3600.000 EquipmentSchedule.building: Warning from EnergyPlus: Calculated Relative Humidity out of range (PsyRhFnTdbWPb) 
3600.000 EquipmentSchedule.building: Warning from EnergyPlus:  Routine=Unknown, Environment=SPAWN-RUNPERIOD, at Simulation time=01/01 00:50 - 00:50
3600.000 EquipmentSchedule.building: Warning from EnergyPlus:  Dry-Bulb= -7.89 Humidity Ratio= 2.083E-003 Calculated Relative Humidity [%]= 106.16
3600.000 EquipmentSchedule.building: Warning from EnergyPlus: Relative Humidity being reset to 100.0%
Integration terminated successfully at T = 172800
   CPU-time for integration                  : 0.623389 seconds
   CPU-time for initialization               : 1.33361 seconds
   Number of result points                   : 1075
   Number of grid points                     : 501
   Number of accepted steps                  : 2236
   Number of rejected steps                  : 242
   Number of f-evaluations (dynamics)        : 4643
   Number of non-linear iteration            : 3497
   Number of non-linear convergence failures : 0
   Number of Jacobian-evaluations            : 288
   Number of crossing function evaluations   : 2735
   Number of model time events               : 288
   Number of state events                    : 0
   Number of step events                     : 0
172800.000 EquipmentSchedule.building: Warning from EnergyPlus:  ** Warning ** Calculated Relative Humidity out of range (PsyRhFnTdbWPb)
172800.000 EquipmentSchedule.building: Warning from EnergyPlus: 

Is this checked and passes on your CI test?

@kbenne
Copy link
Contributor

kbenne commented May 4, 2021

The model I was testing didn't show that one. I think it was the small office reference building that I was using in Chicago. Anyway, I'll see what I can do. This one might not be addressed by release. I do not have automated tests to capture the warning count so CI is blissfully unaware.

@mwetter
Copy link
Member Author

mwetter commented May 5, 2021

This will be corrected after Buildings 8.0.0 release.

@mwetter mwetter removed this from the Release 8.0 milestone May 5, 2021
@mwetter
Copy link
Member Author

mwetter commented Oct 26, 2021

This is still an open issue, and now there is another warning about the W/person. The log is

0.000 EquipmentSchedule.building: Warning from EnergyPlus: GetInternalHeatGains: People="SPAWN-ZONE-LIVING ZONE-RADIANTGAINS", Activity Level Schedule Name values
0.000 EquipmentSchedule.building: Warning from EnergyPlus: fall outside typical range [70,1000] W/person for Thermal Comfort Reporting.
0.000 EquipmentSchedule.building: Warning from EnergyPlus: Odd comfort values may result; Schedule="SPAWN-PEOPLEACTIVITY-SCHEDULE".
0.000 EquipmentSchedule.building: Warning from EnergyPlus: Entered min/max range=[1.0,] W/person.1.0
Model: Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.EquipmentSchedule
Integration started at 0 using integration method:
cvode from sundials

3600.000 EquipmentSchedule.building: Warning from EnergyPlus: Calculated Relative Humidity out of range (PsyRhFnTdbWPb) 
3600.000 EquipmentSchedule.building: Warning from EnergyPlus:  Routine=Unknown, Environment=SPAWN-RUNPERIOD, at Simulation time=01/01 00:50 - 00:50
3600.000 EquipmentSchedule.building: Warning from EnergyPlus:  Dry-Bulb= -8.30 Humidity Ratio= 2.083E-003 Calculated Relative Humidity [%]= 110.02
3600.000 EquipmentSchedule.building: Warning from EnergyPlus: Relative Humidity being reset to 100.0%

...

SUCCESSFUL simulation of Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.EquipmentSchedule
172800.000 EquipmentSchedule.building: Warning from EnergyPlus:  ** Warning ** Calculated Relative Humidity out of range (PsyRhFnTdbWPb)

@mwetter mwetter added this to the Release 9.0 milestone Feb 9, 2022
kbenne added a commit to NREL/Spawn that referenced this issue Apr 13, 2022
kbenne added a commit to NREL/Spawn that referenced this issue Apr 14, 2022
There have been a couple of long standing issues related to Spawn's
zone air moisture calculation, which has manifested as several
EnergyPlus warnings. The warning has been a symptom of a more
fundamental issue that is resolved in this commit.

1. For zones connected to Modelica, there is a zone air humidity ratio
input exposed by the FMU, but this input was not connected to the
EnergyPlus state variables.

2. For zones *not* connected to Modelica, the zone air humidity ratio
needs to be updated internally, just as we do for the zone air
temperature of unconnected zones. This has not happening for zone air
humidity ratio.

This commit addresses both items 1 and 2, and as a result for the test
model
"Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating",
the warnings related to zone air humidity are cleared up.

ref lbl-srg/modelica-buildings#2220
kbenne added a commit to NREL/Spawn that referenced this issue Apr 14, 2022
A recent change to make the epfmi library unique caused the possiblity
of the library name starting with a numeric character, which triggers a
warning.

This change is to prefix the library name with "epfmi_"

ref lbl-srg/modelica-buildings#2956
ref lbl-srg/modelica-buildings#2220
@kbenne
Copy link
Contributor

kbenne commented Apr 14, 2022

@mwetter I've fixed two reoccurring warnings.

  1. Invalid people activity value
  2. Out of range humidity values

I've been specifically using the Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating model as a test case, but if you know of other models that are generating different warnings the let me know. I think this clears up the common warnings that we are seeing.

Note that item 2 is significant beyond simply fixing a warning. The warning was a symptom of the underlying problem that I was not updating the moisture balance correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spawn Development for Spawn of EnergyPlus
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants