sql_file.endUses.get.subCategories() fails? [closed]

I have a simulation for which I know there are sub-categories, such as "CHW Pumps" and "HW Pumps" under the "Pumps" category - eplustbl.html tells me so. Yet,

sql_file.endUses.get.subCategories()

reports "General" as the the only sub-category, and

sql_file.endUses.get.getEndUse(fuel_type,category_type,"HW Pumps")

reports 0. And obviously,

sql_file.endUses.get.getEndUse(fuel_type,category_type)

reports the right value, but only the total of "CHW Pumps" and "HW Pumps". How can I get to the sub-category values? Also, the OpenStudio 3.4.0 SDK documentation for the EndUses class lists a categories() and a fuelTypes() method as Static Public Member Functions, yet calling, for example:

sql_file.endUses.get.fuelTypes()

crashes the measure? Do Static Public Member Functions not get called that way?

mattkoch's avatar
1.1k
mattkoch
asked 2022-09-13 14:30:40 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "duplicate question" by Aaron Boranian 2022-09-13 17:38:25 -0500

Comments

Duplicate of this post.

Aaron Boranian's avatar Aaron Boranian (2022-09-13 17:38:37 -0500) edit
add a comment see more comments