Search found 6 matches

by DanielCooke
Fri Feb 12, 2021 10:38 am
Forum: VE Python API
Topic: Large data export for multiple building IES model
Replies: 11
Views: 6247

Re: Large data export for multiple building IES model

How do i loop through the rooms in a sub group in that case, extract all the results and then add them to a variable to print as one column per group? Do you have any example code please?
by DanielCooke
Fri Feb 12, 2021 9:44 am
Forum: VE Python API
Topic: Large data export for multiple building IES model
Replies: 11
Views: 6247

Re: Large data export for multiple building IES model

Hello,

As you can see I am using both of those grouping collections in my code, but I cannot see any examples or descriptions around how you use the get_all _room_results with a group of rooms, not just a single room ID?

This line does not seem to work:

heat_data = aps_file.get_all_room_results ...
by DanielCooke
Thu Feb 11, 2021 3:45 pm
Forum: VE Python API
Topic: Large data export for multiple building IES model
Replies: 11
Views: 6247

Re: Large data export for multiple building IES model

Hello,

Thanks for the updated code, I have modified it to export each group per column, as using a row per group does not have enough columns to export all the data (17000+ rows of data if exporting half hourly for the year).

The next issue is that the get_all_results call seems to be combining ...
by DanielCooke
Wed Feb 10, 2021 3:51 pm
Forum: VE Python API
Topic: Large data export for multiple building IES model
Replies: 11
Views: 6247

Re: Large data export for multiple building IES model

I have modified my code (below), so it runs but I am not getting the data I need, its printing the title cell one letter at a time in each column. I need to export the standard columns we would get in VistaPro:
- Column A - date
- Column B - time (in half hour steps)
- Column C - heating plant ...
by DanielCooke
Wed Feb 10, 2021 3:23 pm
Forum: VE Python API
Topic: Large data export for multiple building IES model
Replies: 11
Views: 6247

Re: Large data export for multiple building IES model

I am having issues using the ResultsReader and RoomGroups API. I am trying to export the half hourly data for the 'heating plant sensible load' for a group of rooms combined. I am getting an error on the below code on the line where I am trying to get the results. I want the standard VistaPro output ...
by DanielCooke
Wed Dec 02, 2020 12:49 pm
Forum: VE Python API
Topic: Large data export for multiple building IES model
Replies: 11
Views: 6247

Large data export for multiple building IES model

Hello,

I am trying to create a script to automate export of a lot of data from a large IES model with multiple buildings. The model will be ran multiple times with lots of different weather tapes, so I would like to automate the export of results as much as I can into excel documents to ensure ...