I want to do co-simulation between EnergyPlus and Matlab, and I can do that without any errors.
But one trouble occurred in co-simulation, which is as below.
The data which was sented to Matlab from EnergyPlus takes two time-step until the data returns to Energyplus.
As shown in attached picture, first row data of EnergyPlus is same with second row data of EP-Matlab data and third row of EP-Matlap-EnergyPlus data. where, each column names mean the exchange history.
Using current data, I want to control next time-step in EnergyPlus through Matlab.
How can i adjust the timestep in bcvtb?