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

PAT 2.0 AWS capping at 50 runs

asked 7 years ago

Alex Bennett's avatar

updated 7 years ago

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
Preview: (hide)

Comments

What specific version of PAT are you using? Try upgrading to OpenStudio 2.3.0 and see if you have the same issue. You also tagged this as analysis spreadsheet. Are you using that or PAT?

David Goldwasser's avatar David Goldwasser  ( 7 years ago )

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 was just tagging similar/relevant items.

Alex Bennett's avatar Alex Bennett  ( 7 years ago )

Same issue with the new version, any ideas?

Alex Bennett's avatar Alex Bennett  ( 7 years ago )

1 Answer

Sort by » oldest newest most voted
5

answered 7 years ago

The R package used to generate the full factorial design is the DoE.Base package. It calls contr.poly to help generate the design of experiments. here is the line thats stopping your analysis.

This type of analysis requires at least 2 variables to work (with unique values).

Preview: (hide)
link

Comments

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

Alex Bennett's avatar Alex Bennett  ( 7 years ago )

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: 7 years ago

Seen: 8,280 times

Last updated: Oct 13 '17