#11123 - Document that api_data_fully_ready is probably not need for Construction actuators #11177
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


Pull request overview
Description of the purpose of this PR
This comes after a long investigation. You can find a notebook that demonstrates the investigation at https://github.com/NREL/EnergyPlusDevSupport/blob/master/DefectFiles/11000s/11123/11123_Reproducer.ipynb (Public Gist version here)
I took 5ZoneAirCooled.idf and added another construction =>
base.idf.Then I made several variations that use a ConstructionIndexVariable with a Surface "Construction State Actuator", and changes the construction for all windows on
BeginTimestepBeforePredictor, like the original defect file.The python_plugin.py goes somethng like
I was getting different total site energy, and could see that the Zone Sizing in eplusout.eio was different.
And then I realized, via a debugger, that the issue was that
api.exchange.api_data_fully_readyis set MUCH later, so that Zone Sizing happens with the construction switch for the EMS case but not the PythonPlugin/API VersionEnergyPlus/src/EnergyPlus/SimulationManager.cc
Line 343 in 446b7cf
The EMS goes:
The PythonPlugin goes
Pull Request Author
Reviewer