VEApacheSystem not able to change profile in air supply
Posted: Thu Mar 20, 2025 9:01 am
Hi
I am trying out the new feature in IESVE 24.1, in particular the possibility to create gains, air exchanges and templates. I am having issues with setting the air supply temperature profile from the API. This is an example code i managed to isolate to recreate the issue:
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....
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....