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))
Any advice would be greatly appreciated!



