Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Cannot Run Unmet Load Hours Troubleshooting Measure

asked 2024-09-22 14:09:27 -0500

DariusLuo's avatar

updated 2024-09-23 09:23:41 -0500

My model has a lot of unmet load hours, but the simulation fails when I apply the Unmet Load Hours Troubleshooting reporting measure. Here is the link to my .osm file. https://drive.google.com/file/d/1cwh1...

Here are the error messages I receive.

Found error in state 'ReportingMeasures' with message: 'Runner error: Measure 'C:/Users/DARIUS~1/AppData/Local/Temp/osmodel-565e-2c55-775f-1946-1726977606-0/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb' reported an error with [SWIG director method error. NoMethodError: undefined method `iddObjectType' for nil:NilClass

This error message appears after it gathers reports.

stderr: Failed to run workflow. Last Error:
stderr: Found error in state 'ReportingMeasures' with message: 'Runner error: Measure 'C:/Users/DARIUS~1/AppData/Local/Temp/osmodel-565e-2c55-775f-1946-1726977606-0/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb' reported an error with [SWIG director method error. NoMethodError: undefined method `iddObjectType' for nil:NilClass
stderr: Traceback (most recent call last):
stderr: C:/Users/DARIUS~1/AppData/Local/Temp/osmodel-565e-2c55-775f-1946-1726977606-0/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:165:in `unmet_hrs_from_slave_zones'
stderr: C:/Users/DARIUS~1/AppData/Local/Temp/osmodel-565e-2c55-775f-1946-1726977606-0/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:517:in `block in run'
stderr: C:/Users/DARIUS~1/AppData/Local/Temp/osmodel-565e-2c55-775f-1946-1726977606-0/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:512:in `each'
stderr: C:/Users/DARIUS~1/AppData/Local/Temp/osmodel-565e-2c55-775f-1946-1726977606-0/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:512:in `run']'
Simulation failed to run, with exit code 1

I appreciate any insight anyone can provide! Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2024-09-23 03:59:47 -0500

updated 2024-09-23 04:08:37 -0500

The measure assumes you have a SetpointManager assigned to the supplyOutletNode of your AirLoopHVACs. Which you apparently do not have.

https://github.com/NREL/openstudio-co...

You probably should... I fail to see any valid case where you would not.

I filed https://github.com/NREL/openstudio-co... so the error handling gets improved.


Edit: I opened your model, I see you placed a SPM:Coldest after the heating coil and a SPM:Warmest after the cooling coil.

image description

I don't think this is going to work like this. AFAIK, if you want to use both, you should probably use a Dual Duct AirLoopHVAC, similar to the DualDuctConstVolDamper.idf EnergyPlus example file (https://github.com/NREL/EnergyPlus/bl...)

It'll look something like this:

image description

edit flag offensive delete link more

Comments

Thank you for taking a look and providing your input! It is not supposed to be a dual duct system so I removed the existing SPMs and now only have the SPM:Warmest at the end. However, I still cannot seem to get the reporting measure to run. Here is the updated model: https://drive.google.com/file/d/1on4F...

DariusLuo's avatar DariusLuo  ( 2024-09-23 15:07:31 -0500 )edit

No data found for 'Zone Mean Air Temperature' 'THERMAL ZONE: 2FL_OFFICE203,204,205' SWIG director method error. NoMethodError: undefined method map!' for nil:NilClass Traceback (most recent call last): /tmp/osmodel-c616-91e0-d2d2-bb62-1727164398-0/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:591:ininitZoneMetric

Julien Marrec's avatar Julien Marrec  ( 2024-09-24 03:09:40 -0500 )edit

You see where it fails, you can track the line it throws on and figure it out. It happens here: https://github.com/NREL/openstudio-co...

Do yourself a favor, and stop using special chars in your object names (and file names), in particular DO NOT use commas. You can manage to do everything with [a-zA-Z0-9] and - and _ and you'll avoid a lot of problems. If I name the zone Thermal Zone: 2FL_Office203-204-205 instead it works (1/2)

Julien Marrec's avatar Julien Marrec  ( 2024-09-24 03:21:19 -0500 )edit

It will fail later anyways because this measure is not compatible with 3.0.0. cf https://github.com/NREL/openstudio-co... and https://github.com/NREL/openstudio-co...

Julien Marrec's avatar Julien Marrec  ( 2024-09-24 03:22:53 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2024-09-22 14:09:27 -0500

Seen: 41 times

Last updated: Sep 23