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

measure does not appear in library

asked 2019-05-21 07:21:18 -0500

Mamak's avatar

updated 2019-05-23 04:53:44 -0500

Hi Guys, I am trying to add the "AedgSlabAndBasement" measure yo my model.I downloaded if from the BCL, but it does not appear in my library. my open studio version in 2.8. Any idea how to solve this problem? Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-05-21 08:47:18 -0500

updated 2019-05-21 10:58:33 -0500

If you look at the measure on BCL in the small print at the bottom right it shows a minimum supported version as well as a maximum supported version. Often maximum supported version is empty but in this case it isn't. The measure used the Energy Plus slab and basement pre-processor which was only supported in the 1.x version of OpenStudio.

Our more recent ZEDG measures use the newer EnergyPlus Ground domain object and is called ZEDG K12 Insert Ground Domain E+ Kusdua.

We plan to use Kiva functionality in EnergyPlus for future ground modeling measures.

Updated regarding expected weather files:

@Mamak, you are right, I should document that better, Here is the relevant code. We use this to look pre-run CalcSoilSurfTemp results for specific cites we used for our analysis. City for lookup comes from the weather file

# hash for inputs for kusuda
# ran CalcSoilSurfTemp to generate these. Would be nice to do on the fly in measure

kusuda_input = {} # weather,soil_int, ground_int, ann_avg_soil_surf_temp, amplitude, phase_constant
kusuda_input["Fairbanks"] = [2,2,-1.1,20.5,20]
kusuda_input["Phoenix"] = [2,2,19.8,6.0,356]
kusuda_input["San Francisco"] = [2,2,13.9,3.2,29]
kusuda_input["Denver"] = [2,2,9.7,11.5,2]
kusuda_input["Miami"] = [2,2,23.5,4.8,38]
kusuda_input["Boise"] = [2,2,10.5,14.2,28]
kusuda_input["Chicago"] = [2,2,9.6,18.8,36]
kusuda_input["Boston"] = [2,2,9.6,17.1,30]
kusuda_input["Baltimore"] = [2,2,12.3,13.6,358]
kusuda_input["Duluth"] = [2,2,4.3,20.1,14]
kusuda_input["Helena"] = [2,2,7.0,20.3,67]
kusuda_input["Albuquerque"] = [2,2,12.1,10.2,339]
kusuda_input["Salem"] = [2,2,11.7,10.8,355]
kusuda_input["Memphis"] = [2,2,16.2,12.7,10]
kusuda_input["El Paso"] = [2,2,15.5,8.2,354]
kusuda_input["Houston"] = [2,2,19.9,12.9,56]
kusuda_input["Burlington"] = [2,2,7.5,17.9,33]

# new epws added in 2017
kusuda_input["Davis Monthan"] = [2,2,17.6,9.1,319]
kusuda_input["Chula Vista"] = [2,2,17.5,5.9,122]
kusuda_input["Honolulu"] = [2,2,23.4,1.8,65]
kusuda_input["Buffalo"] = [2,2,8.6,17.0,47]
kusuda_input["New York"] = [2,2,11.6,14.5,45]
kusuda_input["International Falls"] = [2,2,3.7,22.3,13]
kusuda_input["Great Falls"] = [2,2,6.0,18.7,8]
kusuda_input["Seattle"] = [2,2,10.8,9.3,71]
kusuda_input["Atlanta"] = [2,2,15.8,11.1,46]
kusuda_input["Macdill"] = [2,2,21.9,9.7,51]
kusuda_input["Rochester"] = [2,2,6.4,24.1,38]
kusuda_input["Aurora"] = [2,2,9.4,15.6,364]
kusuda_input["William R Fairchild"] = [2,2,10.2,7.5,28]
kusuda_input["New Delhi"] = [2,2,25.0,4.5,25]
kusuda_input["ABU DHABI"] = [2,2,25.5,7.3,18]
kusuda_input["HANOI"] = [2,2,24.9,6.9,60]

You are some options. 1. You could use one of these weather files 2. You could modify your weather ... (more)

edit flag offensive delete link more

Comments

Thank you very much for your response and help. I have applied the measure you have mentioned... but there is an error...

Applying ZEDGK12InsertGroundDomainEKusdua Result: Fail Error: Didn't find match for TORINO Error: undefined method `[]' for nil:NilClass

I think this is because of that the measure ( regarding its description) add code to lookup pre-calculated inputs for specific cities...Do you have any idea How can I pass this error? Thanks in advance

Mamak's avatar Mamak  ( 2019-05-21 09:29:16 -0500 )edit

Thank you so much for your help.As I am pretty new to open studio, can you tell me how can I change the measure? I have tried to do so, by creating a new measure and copying all the folders from the downloaded one ( Which I have edited the .RB file , copying values from similar city ) but I have faced with this error...

Error: undefined method `[]' for nil:NilClass

Thank you in Advance

Mamak's avatar Mamak  ( 2019-05-21 12:11:08 -0500 )edit

If one of these weather files (matching the list above) is close enough to your location, please try just using the weather file in your project without altering the measure. You could also alter your weather city name to match one of these but still run the simulation with your weather file. The last choice is to alter the measure, but that will also require you to run CalcSoilSurfTemp for your location.

David Goldwasser's avatar David Goldwasser  ( 2019-05-22 14:53:12 -0500 )edit

Dear David,Thanks for you help. I did exactly what you have explained here ( altering the weather city name) , but the simulation fails, with this error. I have no idea how to fix it.

**Applying ZEDGK12InsertGroundDomainEKusdua Result: Fail Error: undefined method []' for nil:NilClass C:/Users/ut/AppData/Local/Temp/OpenStudioApp.R44724/resources/measures/ZEDGK12InsertGroundDomainEKusdua 1 1/measure.rb:191:inrun' :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:469:in `apply_measure' :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workf

Mamak's avatar Mamak  ( 2019-05-23 04:53:38 -0500 )edit

@Mamak can you confirm if the ASHRAE climate zone is set in the model. If it is no set it. If it is set, can you email the model you are passing into this measure to openstudio@nrel.gov.

David Goldwasser's avatar David Goldwasser  ( 2019-05-23 22:04:49 -0500 )edit

Your Answer

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

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2019-05-21 07:21:18 -0500

Seen: 496 times

Last updated: May 23 '19