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

Alex Bennett's profile - activity

2022-10-02 05:52:33 -0500 marked best answer Setting SHGC in OpenStudio

I am trying to set the SHGC(Solar Heat Gain Coefficient) in OpenStudio for a Fixed Window under the category Simple Glazing System Window Materials using a ruby measure. I am using OpenStudio 1.6.0 and there is no method to set the SHGC using ruby that I can find. The only other way I have found to set SHGC is by translating the whole model to EnergyPlus, setting SHGC and bring it back to OpenStudio. The code for that method looks like this:

ft = OpenStudio::EnergyPlus::ForwardTranslator.new
workspace = ft.translateModel(model)
win = model.getObjectsByType("WindowMaterial:SimpleGlazingSystem".to_IddObjectType)
win[0].setDouble(2,shgc) 
bt = OpenStudio::EnergyPlus::ReverseTranslator.new
model = bt.translateWorkspace(workspace)

Unfortunately the above code seems to work in the cmd but the changes do not show up in OpenStudio. What should I try next to set the SHGC?

2021-01-28 11:42:13 -0500 received badge  Notable Question (source)
2021-01-28 11:42:13 -0500 received badge  Popular Question (source)
2018-11-26 04:50:23 -0500 asked a question How to get all the local results out of Parametric Analysis Tool (PAT)?

How to get all the local results out of Parametric Analysis Tool (PAT)? I am using PAT to run about 10,000 simulations a

2018-04-17 10:04:01 -0500 received badge  Enthusiast
2018-04-05 10:05:22 -0500 received badge  Popular Question (source)
2018-04-05 06:45:59 -0500 commented question Completed Datapoint Failure while running Latin Hypercube Sampling

We use version 2.4.0. You believe there is a bug in this version of OpenStudio?

2018-04-04 08:51:53 -0500 commented question Completed Datapoint Failure while running Latin Hypercube Sampling

Hi, Our error here doesn't appear to be in measures - when a local server was run, all the measures ran without errors.

2018-04-03 09:27:21 -0500 asked a question Completed Datapoint Failure while running Latin Hypercube Sampling

Completed Datapoint Failure while running Latin Hypercube Sampling Hello community, I am trying to run algorithmic simu

2018-04-03 09:17:49 -0500 asked a question Error in running simulation in Parametric Analysis Tool with HVAC measures on

Error in running simulation in Parametric Analysis Tool with HVAC measures on I am trying to run a simulation for a resi

2018-03-22 08:28:16 -0500 received badge  Teacher (source)
2018-03-22 07:54:45 -0500 marked best answer OpenStudio Residential HVAC Sizing measure not working

I have been trying to setup the OpenStudio residential workflow and am getting stuck on the final measure - HVAC Sizing. I setup the workflow as defined here: https://github.com/NREL/OpenStudio-BE... in PAT. The error I am getting states that:

"undefined method -' for nil:NilClass\n\tC:/AWS/Residential WorkFlow/temp_data/analysis_bfc74e65-b296-449b-9651-c706bc039376/measures/ResidentialHVACSizing/resources/geometry.rb:362:inget_height_of_spaces'

I dug deeper into it and it appears that none of the spaces are showing up as conditioned, so no height is populated meaning the system can't be properly sized. Has anyone run into this issue before or had issues with the HVAC sizing measure when trying to run the whole residential workflow?

2018-03-22 07:54:42 -0500 answered a question OpenStudio Residential HVAC Sizing measure not working

I realized yesterday that I had gotten all my measures from the BCL except the HVAC sizing measure which I got from the

2018-03-22 07:53:03 -0500 commented question OpenStudio Residential HVAC Sizing measure not working

I realized yesterday that I had gotten all my measures from the BCL except the HVAC sizing measure which I got from the

2018-03-21 15:18:49 -0500 commented question OpenStudio Residential HVAC Sizing measure not working

I used the one that could be synced directly off of the BCL from PAT. It is the same measure as that but from a differen

2018-03-21 15:17:26 -0500 commented question OpenStudio Residential HVAC Sizing measure not working

I used the one that could be synced directly off of the BCL from PAT

2018-03-21 12:10:40 -0500 asked a question OpenStudio Residential HVAC Sizing measure not working

OpenStudio Residential HVAC Sizing measure not working I have been trying to setup the OpenStudio residential workflow a

2017-10-24 09:28:06 -0500 commented answer Issue Downloading OSMs from PAT 2.0

This is perfect for right now. Thanks!

2017-10-24 08:20:16 -0500 marked best answer Issue Downloading OSMs from PAT 2.0

I ran analysis with 1600 models using PATs algorithmic mode in LHS. The results CSV was populated properly but when I tried to download all the OSMs(by pressing the OSM cloud download button), PAT only downloaded 200. It appears to only be downloading the ones shown on the main PAT page but I want to download all of them. Is there an easy way to do this? I looked at the Server but it appeared to only let you download one at a time to. Thanks for the help!

2017-10-23 16:35:22 -0500 asked a question Issue Downloading OSMs from PAT 2.0

Issue Downloading OSMs from PAT 2.0 I ran analysis with 1600 models using PATs algorithmic mode in LHS. The results CSV

2017-10-13 10:25:22 -0500 commented answer PAT 2.0 AWS capping at 50 runs

Thanks, the issue lay in the non unique values for my second variable. It runs fine now.

2017-10-13 10:24:45 -0500 marked best answer PAT 2.0 AWS capping at 50 runs

I am trying to run ~2000 models through PAT. I have set it up using the Algorithmic method DOE and it works for small batches(~50 models), but fails at anything larger. I have the server and worker setup to be c3.8xlarge giving me plently of cores for the simulations. The issue is it just doesn't seem to que up the runs when there are greater than 50 design alternatives. What can I do to fix this? Below are the two error messages I found in the logs:

Error 1:

/opt/openstudio/server/lib/analysis_library/doe.rb failed with voidEval failed: Packet[cmd=2130771970,len=<nil>, con='<nil>', status=error:'Unknown variable/method'(127)]

Error 2:

Error in contr.poly(nlevels[i], scores = factor.names[[i]]) : 
orthogonal polynomials cannot be represented accurately enough for 1530 degrees of freedom
2017-10-06 13:31:19 -0500 commented question PAT 2.0 AWS capping at 50 runs

Same issue with the new version, any ideas?

2017-10-06 13:31:19 -0500 received badge  Commentator
2017-10-06 09:50:18 -0500 commented question PAT 2.0 AWS capping at 50 runs

I am using PAT 2.2.0, so I will try updating. Did the latest updates address issues like the one seen above? And sorry w

2017-10-06 09:18:10 -0500 edited question PAT 2.0 AWS capping at 50 runs

PAT 2.0 AWS capping at 50 runs I am trying to run ~2000 models through PAT. I have set it up using the Algorithmic metho

2017-10-06 09:17:51 -0500 asked a question PAT 2.0 AWS capping at 50 runs

PAT 2.0 AWS capping at 50 runs I am trying to run ~2000 models through PAT. I have set it up using the Algorithmic metho

2017-09-25 10:27:06 -0500 commented answer PAT 2.0 Summary Reporting

Alright I will check that directory out. I also discovered though just through the OpenStudio Results measure that speci

2017-09-25 10:25:24 -0500 commented answer PAT 2.0 Summary Reporting

Alright I will check that directory out. I also discovered though just through the OpenStudio Results measure that speci

2017-09-25 10:11:06 -0500 marked best answer PAT 2.0 Batch Running

I'm just starting to use PAT 2.0 after using the OpenStudio analysis spreadsheet in the past. The one function I am looking for in PAT from the spreadsheet and cannot find is the Parallel Batch Running. What I am trying to do is run a series of unique scenarios (so something like the full_factorial analysis doesn't work) from a list created in Excel. Is there a way to do this in PAT 2.0?

2017-09-25 10:10:31 -0500 marked best answer PAT 2.0 Summary Reporting

I'm running different design alternatives in PAT and gotten output results using the OpenStudio Report measure. Is there a summary reporting measure that will compile all the Design Alternative results into one table? For example it would be useful to have all the end uses consumption for each design alternative in a summary table. Is this possible? And if so is it possible to get it in CSV format?

2017-09-21 10:38:28 -0500 received badge  Editor (source)
2017-09-21 10:38:28 -0500 edited question PAT 2.0 Summary Reporting

PAT 2.0 Summary Reporting I'm running different design alternatives in PAT and gotten output results using the OpenStud