First time here? Check our help page!
2

How can i adjust the timestep in bcvtb

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.

image description

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?

Byeongho's avatar
53
Byeongho
asked 2016-08-29 06:43:22 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

4

It seems that the timestep lag in passing data with bcvtb is an intentional part of the design of the co-simulation capability. The lagging makes the computing safer and more robust. Although you can shorten the timestep used to decrease the impact of the lag in data transfer, there is no way to remove the lag and get full communication within a single timestep.

Archmage's avatar
7.2k
Archmage
answered 2016-08-29 15:53:28 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments