PaulWAdams
New Member
- Joined
- Nov 13, 2019
- Messages
- 2
I need help to get a calculation of run hours per day for 3 units, based on generator breaker shut/open times. We currently use an integration over time to count the time for the breakers closed, but this gets messed up when the computer is rebooted or updated. I need to calculate the decimal run time hours for each of 3 units for each calendar day- with a time that may have started with bkr closed from previous month, until output bkr finally opens within the current month, sometimes several days later. Sometimes we shutdown a unit after midnight, and start it back up in the morning, and so have 2 separate run times within the same day. Our current spreadsheet looks something like this: columns FGHIJK are direct times that generator output bkrs are shut or opened, and BCDE are the daily runtime hours for each unit. The integrated times in B-E can be off by an hour or so on some days due to other activity on the computer- and we need the runtime hours calculated each day. I usually have to manually resolve conflicts by working out the daily hours from the breaker close/open times, but need help breaking it up for the separate days with something close to this table:
[TABLE="width: 500"]
<tbody style="border-collapse: collapse; width: auto;">[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[TD="align: center"]K[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]date[/TD]
[TD="align: center"]GT1 online[/TD]
[TD="align: center"]GT2 online[/TD]
[TD="align: center"]ST3 online[/TD]
[TD="align: center"]Total Plant online[/TD]
[TD="align: center"]GT1 bkr shut[/TD]
[TD="align: center"]GT1 bkr open[/TD]
[TD="align: center"]GT2 bkr shut[/TD]
[TD="align: center"]GT2 bkr open[/TD]
[TD="align: center"]ST3 bkr shut[/TD]
[TD="align: center"]ST3 bkr open[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]15.62[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]11/03/19 10:01:00[/TD]
[TD="align: center"]11/03/19 00:48:00[/TD]
[TD="align: center"]11/01/19 06:01:00[/TD]
[TD="align: center"]11/01/19 21:38:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]11/05/19 22:41:00[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]17.98[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]11/04/19 07:01:00[/TD]
[TD="align: center"]11/03/19 21:52:00[/TD]
[TD="align: center"]11/02/19 06:01:00[/TD]
[TD="align: center"]11/05/19 22:41:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]15.65[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"][/TD]
[TD="align: center"]11/05/19 22:41:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]16.98[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]22.68[/TD]
[TD="align: center"]22.68[/TD]
[TD="align: center"]22.68[/TD]
[TD="align: center"]22.68[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody style="border-collapse: collapse; width: auto;">[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[TD="align: center"]K[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]date[/TD]
[TD="align: center"]GT1 online[/TD]
[TD="align: center"]GT2 online[/TD]
[TD="align: center"]ST3 online[/TD]
[TD="align: center"]Total Plant online[/TD]
[TD="align: center"]GT1 bkr shut[/TD]
[TD="align: center"]GT1 bkr open[/TD]
[TD="align: center"]GT2 bkr shut[/TD]
[TD="align: center"]GT2 bkr open[/TD]
[TD="align: center"]ST3 bkr shut[/TD]
[TD="align: center"]ST3 bkr open[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]15.62[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]11/03/19 10:01:00[/TD]
[TD="align: center"]11/03/19 00:48:00[/TD]
[TD="align: center"]11/01/19 06:01:00[/TD]
[TD="align: center"]11/01/19 21:38:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]11/05/19 22:41:00[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]17.98[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]11/04/19 07:01:00[/TD]
[TD="align: center"]11/03/19 21:52:00[/TD]
[TD="align: center"]11/02/19 06:01:00[/TD]
[TD="align: center"]11/05/19 22:41:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]15.65[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"][/TD]
[TD="align: center"]11/05/19 22:41:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]16.98[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]22.68[/TD]
[TD="align: center"]22.68[/TD]
[TD="align: center"]22.68[/TD]
[TD="align: center"]22.68[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]