Target Status Report

A Target Status Report is generated by Patchworks when a scenario is saved to capture exactly that: the status of all targets! This is a CSV file that contains raw data used to reset the model when a scenario is reloaded and keep a record of each target used in the analysis. This file contains the full name of the account, the number of periods, whether the target is active, and whether a minimum or maximum target level were active during the scenario.

A Target Status Report will automatically create a CSV format report. It is important that NO file extension is included when defining the filename parametre since the ".csv" file is automatically created. The file will appear in the scenario folder when the current scenario is saved. The layout of the Target Status Report is a CSV file and contains rows and columns of data from the target table. The table contains one record for each target.

All true/false values will be read as false unless explicitly stated to be true.

The CSV sub-report contains comma separated text values which can be read into a text editor or spreadsheet application. This sub-report contains the simplest formatting, with the first row containing the column headings and subsequent rows containing the status of each target. The first column in the table contains target name, and the second holds the period number, with a column heading of 'PERIOD'. Subsequent columns contain the unique attribute names sorted in alphabetical order.

The following is an example of a Target Status Report. Notice that the number of periods is 21, meaning there are 20 periods but also P:0 for initial conditions. In the Target Status report false indicates NOT active and true indicates the target or constraints were active. The first row of the report is the column headings, and each subsequent row represents a single account and the targets associated with that account.

	  TARGET,PERIODS,ACTIVE,MINACTIVE,MAXACTIVE
	  feature.Area.managed.DF,21,false,false,false
	  feature.Area.managed.LA,21,false,false,false
	  feature.Area.managed.PL,21,false,false,false
	  feature.Area.managed.SEFA,21,false,false,false
	  feature.Area.managed.SW,21,false,false,false
	  feature.Area.managed.SWWet,21,false,false,false
	  feature.Area.unmanaged.CDConMix,21,false,false,false
	  ...

	

Like other Scenario Reports there are more 'user friendly' tools available to access this information. In the case of the Target Status Report, all of the raw data is represented in easy to use Target Charts (see the section called “Target Charts”). Each account is represented by a single Target Chart that provides a number of tools to set values, weights and discount rates.

Figure 128. Target Status Report Constructor


	    public TargetStatusReport(String filename,                1
	    String title,                   2
	    AttributeStore as)              3
	    
	    
	  


1

filename - The basename to be used for output from this report. This name must be unique with respect to other reports added to the report writer. The name should NOT contain a filename extension since the report will automatically add ".csv". If the report is to be grouped into a folder, the folder should also appear here ("folder/subfolder/filename").

2

title - The report will appear in the directory tree with this title, as well as in the Index Report it belongs to.

3

as - A reference to the target table.