ifference between revisions of "EMK:Output Specs"
Line 86: | Line 86: | ||
As a result, the final output will be the '''Average weekly price at Benmore for each inflow year.''' | As a result, the final output will be the '''Average weekly price at Benmore for each inflow year.''' | ||
+ | |||
+ | |||
+ | '''Output Spec functions:''' | ||
+ | *Ave() - Average value, weighted by time. | ||
+ | *Tot() - Total value, summed by hour. | ||
+ | *Max() - Maximum value in a sample. | ||
+ | *Min() - Minimum value in a sample. | ||
+ | |||
+ | '''Main Date/Time Divisions:''' | ||
+ | *hh - half hourly | ||
+ | *4h - 4 hourly | ||
+ | *DN - Day Night (12pm-8am, 8am-12pm) or DN6 (12pm-6am, 6am-12pm) | ||
+ | *WODN - Weekday, Other day, Week night, Other night | ||
+ | *Day, Week, Month | ||
+ | *Version - Version represents the inflows used. | ||
+ | |||
+ | |||
[[EMK:Outputs | Back to Outputs]] | [[EMK:Outputs | Back to Outputs]] |
Revision as of 09:51, 13 November 2012
An Output specification (OS) Resource allows you to define custom Reports in a tabular form using Run Output data. Reports generated using OS Resources are in text based, comma separated (csv) form. This is how results are exported for external analyses. Any element shown in the results window can be exported via the Output Spec.
The Output Specs window has the following components:
- The 'OS Details Box:' Used to identify (Name) and describe (Description) the OS Resource.
- Two 'Formatting Check Boxes:' Repeat Column headings and Repeat Row headings - which determine whether the parent column and row headings appear once per column or row (Boxes unchecked), or for every column and row of the columns they apply to (Boxes checked) respectively.
- The 'OS Partition Box:' Specifies how the results data will be summarised and presented.
Note: OS Reports can be produced from previously generated data from the 'Results window' or 'Results Menu'.
The Output Specs Details Box
OS Details Box Fields
Name | OS Resource name - used to reference the OS in other Resources. |
Description | Free text field for supplementary information.' |
Prefilters | Specifies a date range that the OS will only process data for - this allows the OS to be used on multiple Results sets covering disparate date ranges and only extract results for a common period. |
Formatting Check Boxes
The Formatting Check Boxes are used to control the output of headers in columns and rows in the output. If the OS Resource is used when both boxes are left unchecked, then a heading only appears once in the output. For example a parent row heading will only appear with the first child row heading as in the table below:
Parent Row Heading 1 | Child Row Heading 1 |
Child Row Heading 2 | |
Child Row Heading 3 | |
Parent Row Heading 2 | Child Row Heading 1 |
Child Row Heading 2 | |
Child Row Heading 3 |
Running the same OS with the 'Repeat Row Headings' box checked would produce a heading configuration as below:
Parent Row Heading 1 | Child Row Heading 1 |
Parent Row Heading 1 | Child Row Heading 2 |
Parent Row Heading 1 | Child Row Heading 3 |
Parent Row Heading 2 | Child Row Heading 1 |
Parent Row Heading 2 | Child Row Heading 2 |
Parent Row Heading 2 | Child Row Heading 3 |
Note: Repeating the headers is useful for automatic post-processing and when viewing large output files with multiple row partitions.
Output Specification Partitions
To create an Output Spec, columns and rows need to be defined. These are defined using a function description and the element that is to be reported. This allows the output to be exported as a grid (similar to the way a pivot table is displayed, or a crosstab query).
An Output Specification Partition is a concept used in structuring the contents of a Report. Partitions are user-defined and must be one of the following types:
Partitions Type | Purpose |
Entity | Describes type of data in the results set that is to be processed with the OS. |
Function | Describes the processing to be carried out on the data defined by an Entity partition. |
Version | Allows Output to be broken down by versions in the Volatility Matrix. |
Date/Time | Allows data to be aggregated by specified time periods. |
In the example to the right, the 'Column definition' is for the Average Nodal Price at BEN by each inflow year.
The 'Row Definition' is defined as 'week:All' which will display the average weekly value.
As a result, the final output will be the Average weekly price at Benmore for each inflow year.
Output Spec functions:
- Ave() - Average value, weighted by time.
- Tot() - Total value, summed by hour.
- Max() - Maximum value in a sample.
- Min() - Minimum value in a sample.
Main Date/Time Divisions:
- hh - half hourly
- 4h - 4 hourly
- DN - Day Night (12pm-8am, 8am-12pm) or DN6 (12pm-6am, 6am-12pm)
- WODN - Weekday, Other day, Week night, Other night
- Day, Week, Month
- Version - Version represents the inflows used.