kw_report
Purpose:
-
Generate a facility wide utilization report for absorbing/motoring work.
Requirements:
For data to be collected at the test cell, the integer variable “pwr_meas_type” must have a value of “1”. This should be set in the /cell/cell_special file after the $PI line as follows:
22 pwr_meas_type none 1 OFF
Enter:
-
kw_report interval=[day—week—fin_week—month—fin_month—year] form=[1—2—3] n=X 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 => sorted by test cell number; this is the default
- 2 => sorted by power generated
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 several data files, including
/data/meters/power_report.NNN, when NNN is the test cell number of all the test cells at the site.