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

Revision history [back]

click to hide/show revision 1
initial version

[E+, BCVTB] How to input dynamic data (for time t+1) into E+ that depends on the output variable (at time t)

I am new to the field. so please feel free to correct me if I'm wrong.

Say I have to simulate a model that has the requirement of getting dynamic inputs (after some pre-processing) My typical flow is:

At time t: After the output variables are generated, write them onto a file.

Retrieve data from the file, and based on this, generate parameters dynamically for the next timestep. Now write this onto a file

At time t+1: The newly generated parameters is used as input to E+ for the next time step.

... and so on.

Is this above design feasible in EnergyPlus? If yes, a detailed explanation will be hugely appreciated.


Note: The crux of the query is whether control can be transferred from E+ to external programs (say for each minute of simulation) to fetch the inputs for the next timestep (which also happens to depend on the previous timestep's output)

[E+, BCVTB] How to input dynamic data (for time t+1) into E+ that depends on the output variable (at time t)

I am new to the field. so please feel free to correct me if I'm wrong.

Say I have to simulate a model that has the requirement of getting dynamic inputs (after some pre-processing) My typical flow is:

At time t: After the output variables are generated, write them onto a file.

Retrieve data from the file, and based on this, generate parameters dynamically for the next timestep. Now write this onto a file

At time t+1: The newly generated parameters is used as input to E+ for the next time step.

... and so on.

Is this above design feasible in EnergyPlus? If yes, a detailed explanation will be hugely appreciated.


Note: The crux of the query is whether control can be transferred from E+ to external programs (say for each minute of simulation) to fetch the inputs for the next timestep (which also happens to depend on the previous timestep's output)