Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

The ZoneHVAC:IdealLoadsAirSystem always reports to the Discrict Cooling and Heating report. Since this is an ideal air system there is no electricity or fuel use, only energy transfer.

    SetupOutputVariable(state,on
                        "Zone Ideal Loads Supply Air Total Heating Energy",
                        OutputProcessor::Unit::J,
                        PurchAir(PurchAirNum).TotHeatEnergy,
                        "System",
                        "Sum",
                        PurchAir(PurchAirNum).Name,
                        _,
                        "DISTRICTHEATING",
                        "Heating",
                        _,
                        "System");

    SetupOutputVariable(state,
                        "Zone Ideal Loads Supply Air Total Cooling Energy",
                        OutputProcessor::Unit::J,
                        PurchAir(PurchAirNum).TotCoolEnergy,
                        "System",
                        "Sum",
                        PurchAir(PurchAirNum).Name,
                        _,
                        "DISTRICTCOOLING",
                        "Cooling",
                        _,
                        "System");