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

Revision history [back]

Beopt, additional hourly output variables

Hello, back on the old forum we got some instructions for modifying the energyplus.py script so as to access additional output for hourly internal gains. We can't get this to work any more in version 2.8. Here is the old script fragment below. Should this still work? Should it go in someplace else now?

def _processReportHourly(self, sim):

    if not sim.simulation.GenerateHourlyOutput and not sim.simulation.CalculateUtilityBills:
        return
    # New lines here. -gw 4/2015
    self.addblock('Output:Variable')
    self.addline('*', 'Key Value')
    self.addline('Zone Total Internal Radiant Heating Rate', 'Variable Name')
    self.addline('Hourly', 'Reporting Frequency')
    self.addblock('Output:Variable')
    self.addline('*', 'Key Value')
    self.addline('Zone Total Internal Convective Heating Rate', 'Variable Name')
    self.addline('Hourly', 'Reporting Frequency')
    self.addblock('Output:Variable')
    self.addline('*', 'Key Value')
    self.addline('Zone Total Internal Latent Gain Rate', 'Variable Name')
    self.addline('Hourly', 'Reporting Frequency')

Beopt, additional hourly output variables

Hello, back on the old forum we got some instructions for modifying the energyplus.py script so as to access additional output for hourly internal gains. We can't get this to work any more in version 2.8. Here is the old script fragment below. Should this still work? Should it go in someplace else now?

def _processReportHourly(self, sim):

    if not sim.simulation.GenerateHourlyOutput and not sim.simulation.CalculateUtilityBills:
        return
    # New lines here. -gw 4/2015
    self.addblock('Output:Variable')
    self.addline('*', 'Key Value')
    self.addline('Zone Total Internal Radiant Heating Rate', 'Variable Name')
    self.addline('Hourly', 'Reporting Frequency')
    self.addblock('Output:Variable')
    self.addline('*', 'Key Value')
    self.addline('Zone Total Internal Convective Heating Rate', 'Variable Name')
    self.addline('Hourly', 'Reporting Frequency')
    self.addblock('Output:Variable')
    self.addline('*', 'Key Value')
    self.addline('Zone Total Internal Latent Gain Rate', 'Variable Name')
    self.addline('Hourly', 'Reporting Frequency')