How to connect a database to E+ using BCVTB in each timestep

asked 2016-06-28 15:40:19 -0600

NasimMirian's avatar

updated 2016-06-28 17:54:22 -0600

I am trying to receive data from a database (PostgreSQL)( each row in each time step) and send it to Eplus model. I am using SQLStatement in BCVTB to retrieve data. However it brings the entire 8760 row in each time step. Any suggestion how can I get the first row of data in first time step, the second row in the second time step and the same for other rows?image description

The picture shows how data converted from string to Array of doubles but still time step is the main problem.

edit retag flag offensive close merge delete

Comments

Glad to see some traffic on the Building Virtual Control Test Bed on Unmet Hours :)

Julien Marrec's avatar Julien Marrec  ( 2016-06-28 16:21:29 -0600 )edit