Extract hvac component hourly results

The VE Python API allows users create simple programs using the Python Programming Language, to interact with a VE Model and/or Vista Results File
Post Reply
Tom B
VE Newbie
VE Newbie
Posts: 1
Joined: Tue Jun 17, 2025 12:12 am

Extract hvac component hourly results

Post 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")
Post Reply