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

BCVTB: How to log E variables into csv?

asked 2016-06-27 15:49:40 -0500

updated 2016-06-27 17:17:47 -0500

How do you log E+ variables into a csv file using the BCVTB?

I've tried to use the CSVWriter, but I get an input type error no matter what I've tried (can't seem to figure out how to create "record-valued input tokens") and I also cannot figure out how to input the fileName.

For example I tried using "ArrayAccumulate" to store my data into an array before linking that output to the CSVWriter. That failed, bad type too (plus, that wouldn't have worked since I would need to be able to fire CSV generation only at my end timestep)

Error

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-06-27 16:22:26 -0500

I think I've just figured it out.

I've found a RecordAssembler under Flow Control > Aggregator.

For the filename I used a StringConst under Sources > Generic Source.

CSVWriter setup

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

 

Question Tools

1 follower

Stats

Asked: 2016-06-27 15:49:40 -0500

Seen: 110 times

Last updated: Jun 27 '16