import iesve
project = iesve.VEProject.get_current_project()
current_systems = project.apache_systems()
print (current_systems[0].air_supply())
print(project.group_profile('WEEK0024').reference)
air_supply_data = { 'OA_max_flow': 0.0,
'condition': 2,
'cooling_max_flow': 0.0,
'temperature_difference': 8.0,
'profile': "WEEK0024"}
current_systems[0].set_air_supply(air_supply_data)
print (current_systems[0].air_supply())
The result i get is:
{'condition': iesve.Conditioning_type.temperature_from_schedule, 'profile': '0', 'OA_max_flow': 0.0, 'temperature_difference': 8.0, 'cooling_max_flow': 0.0}
Weekly Office CLO summer
{'condition': iesve.Conditioning_type.temperature_from_schedule, 'profile': '0', 'OA_max_flow': 0.0, 'temperature_difference': 8.0, 'cooling_max_flow': 0.0}
So as you can see, it starts with the constant 0 profile, I try to update it with a profile that is recognized (Weekly Office CLO summer in this case (please do not mind what it is it's just to show the principle) and it does not update it....
