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

How can i adjust the timestep in bcvtb

asked 2016-08-29 06:43:22 -0600

Byeongho's avatar

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2016-08-29 15:53:28 -0600

Archmage's avatar

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2016-08-29 06:43:22 -0600

Seen: 322 times

Last updated: Aug 29 '16