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

Revision history [back]

Energy transfer is the transfer of heat from one medium to another. For example, a coil can transfer energy to an air stream while using electricity to do so. It's easier to see how this is set up in code for the report variables. See how this coil sets up the total cooling energy on an Energy Transfer meter while the electricity use is set up on an electric meter.

SetupOutputVariable( "Cooling Coil Total Cooling Energy [J]", Coil.TotalCoolingEnergy, "System", "Sum", Coil.Name, _, "ENERGYTRANSFER", "COOLINGCOILS", _, "System" );

SetupOutputVariable( "Cooling Coil Electric Energy [J]", Coil.ElecCoolingConsumption, "System", "Sum", Coil.Name, _, "Electric", "COOLING", _, "System" );