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

Get Autosized IDF File (After Sizing Runs)

asked 2017-11-22 22:28:15 -0500

bbrannon4's avatar

updated 2017-11-23 08:05:15 -0500

I'd like to run a simulation that has several values being autosized, but then get an idf file out that is exactly the same, but has the autosized values hard entered. EnergyPlus must have those values to be able to run, but I don't know if it's ever in an IDF format, or they are just adding in after the input file has been processed. If the former, then there must at least be a temporary file somewhere that would serve my needs, right?

This is related to this previous question, but hopefully with a different answer: use autosizing values for next simulations.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2017-11-23 08:18:36 -0500

(I'm not sure if I should answer this question since I think it's exactly the same question as the one linked except you ask about an "intermediate IDF", but here it is anwyays)

No, there isn't an "intermediate IDF" file with the autosized values. What E+ does is two fold:

  • If autosize, it autosizes it during the run of the program and uses that in subsequent calculations
  • It also exports it for review

The autosized values are for example stored in the eplusout.sql file (if you request it), so you could use a script to fetch and replace them.

openstudio-standards actually uses this logic to apply sizing values to the model, see for yourself:

If you dig a mininum in the code base of openstudio-standards, you'll realize it's a lot of work to define it for every possible type of component (and it's actually not implemented for a bunch of components right now, the ones that aren't mandatory for baseline generation).

So if you only want to get a few autosized values (say for any Boiler:HotWater of Chiller:ElectricEIR only), then a quick python script querying the SQL file is the way to go, couple that with eppy for eg.

If you want to do it for a ton of components, a good idea might be to use OpenStudio with openstudio-standards.

edit flag offensive delete link more

Comments

2

FWIW, methods to get all autosizable fields in all objects supported by OpenStudio should be included in OpenStudio 2.4.0, including a method to apply all autosized values back to the model.

aparker's avatar aparker  ( 2017-11-25 11:01:44 -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

2 followers

Stats

Asked: 2017-11-22 22:28:15 -0500

Seen: 101 times

Last updated: Nov 23 '17