kw_report

Purpose:

Generate a report of test cell utilization including motoring and absorbing power based on specified time intervals.

Enter:

kw_reportĀ [interval=<day|week|fin_week|month|fin_month|year>] [form=1|2|3] [n=<number>] [units=<units of energy>]

Where:

interval

Optional. Specify one of the following time interval report options:

  • day
  • week (Sun-Sun)
  • fin_week (Mon-Mon); this is the default
    month (1st-end)
  • fin_month (Financial month – 4 or 5 weeks)
  • year

form

Optional. Specify one of the following report format options:

  • 1 to sort by test cell number; this is the default
  • 2 to sort by power generated
  • 3 to sort by user

n

Optional. Specify the number of intervals to report starting from the most recent and going backward. The default is 1.

units

Optional. Specify the units of the “work” output. The default is [mw-h].

Example:

kw_report interval=fin_week form=2 > /data/util/KW_REPORT

Notes:

This program relies on the existence of meterlog files for each test cell in the cell_map.

See Also:

metrlogall, gp_utl