Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I254 set expandobjects #254

Merged

Conversation

jamiebull1
Copy link
Collaborator

Often users have HVACTemplate objects in their IDF, but don't set the expandobjects flag when using IDF.run, leading to an EnergyPlusRunError.

I think we should just fix it automatically, by checking if there are any HVACTemplate objects, and setting the flag to True if needed.

The only negative impact I see is that there is a cost to reading the IDF, which may add up on multiprocessing jobs, but it's miniscule compared to the actual EnergyPlus running time.

@santoshphilip
Copy link
Owner

@jamiebull1 , It looks good. I am going to merge. Apologies for the delay. I was distracted by another project that was turning out to be diffcult.

I have some thoughts on this change from a higher API level. I'll open that discussion in a seperate issue.

@santoshphilip santoshphilip merged commit deca838 into santoshphilip:develop Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants