Page 1 of 1

get_all_room_results not working for comfort related variables.

Posted: Wed May 19, 2021 4:53 pm
by DimitrisMantas
Hi,

I building a program which needs to grab the total electricity consumption of the model (EC) and the mean PPD from a simulation file.

For testing purposes, I have created a simple testbed model, which is nothing the "Primary School" reference model, from New Project > Create from Starter Geometry. I decided to not mess with model at all, and just proceeded to perform an one-day dynamic simulation using ApacheSim using the otherwise default settings throughout the whole process.

While I can get EC, just fine, the recommended way to get room-level variables does not appear to work. More precicely,

Code: Select all

room_IDs = GetRoomIDs(simulation_file)

__PPD__ = FindVariable(simulation_file, "People dissatisfied", "z")

PPD = []
for room_ID in room_IDs:
	variable_data = simulation_file.get_all_room_results(room_ID, __PPD__['aps_varname'], __PPD__['model_level'])
	PPD.append(variable_data)
print(PPD)
returns a list of empty dictionaries. Note that the same is also true for all other models I tried. To demonstrate that my script is probably fine, the above code works fine for the mean radiant temperature or any other non-comfort related variable.

Using the get_room_results method returns a list of None values, but it is my understanding that using get_all_room_results is the best practice for variables with composite .APS names. Actually, the problem persists not just with PMV, the comfort index, and CLO.

Kind regards.
Dimitris

Re: get_all_room_results not working for comfort related variables.

Posted: Sat May 22, 2021 10:11 pm
by DimitrisMantas
I know IES is made up of like 50 people, but considering the fact that Tech Support sent me here, I thought I would have received an answer to this question. However, looking at other posts in this dead forum, I noticed a particular trend, which made me believe that this is probably not going to happen.

As a final note, I would advise all IESVE users with a similar problem to mine to look into a certain thermal comfort module, which gives very similar results to ApacheSim, and stop wasting productive time.

Re: get_all_room_results not working for comfort related variables.

Posted: Thu Jul 17, 2025 10:35 am
by katarzyna_m
Hi,
Has anyone found a solution to this issue since 2021? The problem still persists, and I could really use this functionality.