Setting RoomData (Air Exchanges and Internal Gains)

The VE Python API allows users create simple programs using the Python Programming Language, to interact with a VE Model and/or Vista Results File
Post Reply
izzylys
VE Newbie
VE Newbie
Posts: 7
Joined: Fri May 03, 2019 3:45 pm

Setting RoomData (Air Exchanges and Internal Gains)

Post by izzylys »

Hello,

I have been trying to set RoomData using VEScripts and am a bit stuck.

I have collected a list of all the bodies in the model and have set room conditions using `set_room_conditions()`.

Code: Select all

def set_rm_data(body, cooling, heating):
    '''set cooling and heating setpoint'''
    rm_data = body.get_room_data()
    temp = {
        'cooling_setpoint': cooling,
        'heating_setpoint': heating,
    }
    rm_data.set_room_conditions(temp)
    print('Successfully set cooling and heating setpoints for space {}'.format(
        body.id))
However, I don't see an obvious way to set internal gains and air exchanges. I know you can `get()` these parameters from the room data, but I'm looking for a way to set them. I can't use thermal templates as I need to be able to set each room individually like you would using the tabular space data in the GUI.

Any advice would be greatly appreciated!
User avatar
Rhind
IES Staff
IES Staff
Posts: 87
Joined: Fri Mar 22, 2013 5:06 pm

Re: Setting RoomData (Air Exchanges and Internal Gains)

Post by Rhind »

You can't currently modify gains and air exchanges through the API.
izzylys
VE Newbie
VE Newbie
Posts: 7
Joined: Fri May 03, 2019 3:45 pm

Re: Setting RoomData (Air Exchanges and Internal Gains)

Post by izzylys »

This seems like a real shame; especially since setting these in the GUI is basically the same process as setting the room conditions (using the table view). Do you happen to know if there is any planned development for integrating this feature in the API?
LeightonSS55
VE Beginner
VE Beginner
Posts: 10
Joined: Mon Aug 22, 2016 1:50 pm

Re: Setting RoomData (Air Exchanges and Internal Gains)

Post by LeightonSS55 »

Hi Rhind,

I am after this functionality also - without the ability to edit air exchanges and internal gains, we are being forced to use a mix and match approach for setting data in the VE, which undermines a lot of the potential use cases for VE scripts.

Please can you provide an update on whether this will be incorporated any time soon?

Thanks,
User avatar
Rhind
IES Staff
IES Staff
Posts: 87
Joined: Fri Mar 22, 2013 5:06 pm

Re: Setting RoomData (Air Exchanges and Internal Gains)

Post by Rhind »

The VE API is an active area of development that is community-led and I know this feature is being actively considered by the VE development product managers (who decide the development team priorities) but I don't know when it might appear. I recommend asking your account manager about it if you want to support it's inclusion.
ashley111
VE Newbie
VE Newbie
Posts: 1
Joined: Mon Jan 06, 2020 7:23 pm

Re: Setting RoomData (Air Exchanges and Internal Gains)

Post by ashley111 »

Hi Rhind,

Since the latest discussion was post in May 2019, I want to follow up now to see if there are any updates on developing this feature. I don't know how the product managers in IES decide the priorities, but I really hope that they are aware of the demand for this feature. And I'm not sure about what you mean by saying contacting the account manager. I'm not aware of whom my account manager refers to. But I'm willing to support its inclusion. Please let me know.

Thanks,
User avatar
PCully
Site Admin
Site Admin
Posts: 1465
Joined: Tue Sep 09, 2008 9:52 am

Re: Setting RoomData (Air Exchanges and Internal Gains)

Post by PCully »

Hi,

thanks for this, we will alert our team of the continued support for this request. we still don't have an eta on when this development would be done, it is not targeted for the next feature pack as other high priority requests are ahead in the queue for development.

Your account manager will be the sales person in IES responsible for managing your account, often we will seek feedback and requests from our clients as part of the ongoing relationship between you and the software so it's worth raising this internally to find out if such an arrangement is in place for your account as well

Phil
IES Worldwide Technical Support
katarzyna_m
VE Newbie
VE Newbie
Posts: 6
Joined: Wed Jun 14, 2023 11:33 am

Re: Setting RoomData (Air Exchanges and Internal Gains)

Post by katarzyna_m »

Hi,
are there any updates on this topic?
Thanks,
Post Reply