Hello!
I’m currently trying to add an output variable for Gas:Facility but it is not showing up in the rdd file, so I can’t get the results. Does anyone have any advice or guidance?
Thanks ahead of time!
-trevor
Hello!
I’m currently trying to add an output variable for Gas:Facility but it is not showing up in the rdd file, so I can’t get the results. Does anyone have any advice or guidance?
Hey @TrevorFedyna
I was just trying to do something similar the other day actually.
The solution I landed on was actually to pull the total Gas from the E+ SQL file output actually. If you use the ‘AnnualBuildingUtilityPerformanceSummary’ table in that file, you can get the total-facility summary of all building energy, by use and by fuel type. You can sort it and sum up the Gas total from that relatively easily.
You can use the SQL query:
SELECT ColumnName, RowName, Value, Units FROM TabularDataWithStrings "
WHERE TableName='End Uses By Subcategory' AND ReportName='AnnualBuildingUtilityPerformanceSummary'"
you can get all that summary data.
I think that is probably a more robust method vs. getting the various loads from the coils and the air-systems and trying to sum them all up (unless you need those all separated out for some reason).
I like your solution I think its more elegant than what I was trying to do.
I think it is not an output:variable, the class you are looking for, but an output:meter, so it should work:
Output:Meter,
Gas:Facility, !- Name
Hourly; !- Reporting Frequency
adding it as add_str
Then either read from .sql
Bye-bye
Massimiliano