I am trying to write a script to pull the system information from system parameters. It all goes well until I try to access the system parameters by layer number (last line in the code below) that's when I get "FileNotFoundError: Can't open HVAC network file" Error. However, if I use the same code with the results reader it works with no problems. Most of the time I want to get this information before running the simulation this is why I try to get it from the asp file.
Code: Select all
import iesve # the VE api
from ies_file_picker import IesFilePicker
# Open ASP file:
file_path = IesFilePicker.pick_asp_file()
# Load HVAC network
hvac = iesve.HVACNetwork
network = hvac.load_network(file_path)
all_systems = network.systems
for system in all_systems:
print(system.id)
print(system.reference)
sys_params = system.get_system_parameters()
tab_room_air_flows = sys_params.get_zone_airflows_turndown_engineering(0)