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

asked 2022-09-13 14:30:40 -0600

mattkoch's avatar

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?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Aaron Boranian
close date 2022-09-13 17:38:25.301966

Comments

Duplicate of this post.

Aaron Boranian's avatar Aaron Boranian  ( 2022-09-13 17:38:37 -0600 )edit