Revision history [back]
Does this help? It looks like it's hours, occupancy * hours, and occupancy when > 0 * hours. So total occupancy * hours and "occupied" occupancy * hours. But then why would that give a different answer for the last 2 reports?
ZoneHeatIndexHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] += state.dataGlobal->TimeStepZone;
ZoneHeatIndexOccuHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] +=
NumOcc * state.dataGlobal->TimeStepZone;
ZoneHeatIndexOccupiedHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] +=
(NumOcc > 0) * state.dataGlobal->TimeStepZone;
Does this help? It looks like it's hours, occupancy * hours, and occupancy when > 0 * hours. So total occupancy * hours and "occupied" occupancy * hours. But then why would that give a different answer for the last these 2 reports?
ZoneHeatIndexHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] += state.dataGlobal->TimeStepZone;
ZoneHeatIndexOccuHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] +=
NumOcc * state.dataGlobal->TimeStepZone;
ZoneHeatIndexOccupiedHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] +=
(NumOcc > 0) * state.dataGlobal->TimeStepZone;
Does this help? It looks like it's occupancy * hours, and occupancy when > 0 * hours. So total occupancy * hours and "occupied" occupancy * hours. But then why would that give a different answer for these 2 reports?
ZoneHeatIndexHourBinsRepPeriod(ZoneNum, state.dataHeatBalFanSys->ZoneHeatIndexHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] += state.dataGlobal->TimeStepZone;
ZoneHeatIndexOccuHourBinsRepPeriod(ZoneNum, state.dataHeatBalFanSys->ZoneHeatIndexOccuHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] +=
NumOcc * state.dataGlobal->TimeStepZone;
ZoneHeatIndexOccupiedHourBinsRepPeriod(ZoneNum, state.dataHeatBalFanSys->ZoneHeatIndexOccupiedHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] +=
(NumOcc > 0) * state.dataGlobal->TimeStepZone;
Does this help? It looks like it's occupancy * hours, and occupancy when > 0 * hours. So total occupancy * hours and "occupied" occupancy * hours. But then why would that give a different answer for these 2 reports?hours.
state.dataHeatBalFanSys->ZoneHeatIndexHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] += state.dataGlobal->TimeStepZone;
state.dataHeatBalFanSys->ZoneHeatIndexOccuHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] +=
NumOcc * state.dataGlobal->TimeStepZone;
state.dataHeatBalFanSys->ZoneHeatIndexOccupiedHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] +=
(NumOcc > 0) * state.dataGlobal->TimeStepZone;
Does this help? It looks like it's occupancy * hours, and occupancy when > 0 * hours. So total occupancy * hours and "occupied" occupancy * hours.help?
state.dataHeatBalFanSys->ZoneHeatIndexHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] += state.dataGlobal->TimeStepZone;
state.dataHeatBalFanSys->ZoneHeatIndexOccuHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] +=
NumOcc * state.dataGlobal->TimeStepZone;
state.dataHeatBalFanSys->ZoneHeatIndexOccupiedHourBinsRepPeriod(ZoneNum, ReportPeriodIdx)[0] +=
(NumOcc > 0) * state.dataGlobal->TimeStepZone;