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