Page 1 of 1

Extract hvac component hourly results

Posted: Tue Jun 17, 2025 12:23 am
by Tom B
I am trying to use VEScript to extract HVAC component level results from an aps file – specifically I want the “Load” from a chiller by reference to its ID.
I can get various data out following the API examples, such as energy results, but there is not much guidance on how to get the “Load” from a given Chiller.
I would expect the following to work, but I get empty results;

Code: Select all

## get HVAC data 
hvac = iesve.HVACNetwork
network = hvac.load_network(aps_file.hvac_file)
model_level = "h"
all_variables = [x for x in aps_file.get_variables()] 
print(f"h all_variables {all_variables}")
# the all_variables contains no variables with model_level == “h” which is weird and suggests 
# something I am missing and something not documented.

for cwl in network.chilled_water_loops:
    for chiller in cwl.chillers:
        # why is this returning empty?
        chiller_results = aps_file.get_hvac_component_results(chiller.id, chiller.chiller_type, "Load")