Package sequences file

The packagesequences.csv file describes the second and subsequent treatments that make up a treatment package.

See the section called “Packages file” for a detailed description of the packages file.

Table 14. Package sequences file format

AttributeData TypeDescription
PACKAGEStringA label that matches a package label from the packages file (see the section called “Packages file”).
TREATMENTString A label that identifies the next treatment to be applied in the treatment package. This treatment must be defined in the treatments.csv file (see the section called “Treatments”) for this track, which a matching operability range and cycle number.
DELAYIntegerThe number of years after the previous treatment in the package when this treatment must be applied.

The timing of when the first treatment in the package may be chosen by the scheduler, but all subsequent treatments in the package are applied in a fixed timing as specified by the DELAY value. The DELAY value applies to the previously applied treatment in the sequence.

The Patchworks model will select a chain of treatments matching the sequence records according to the following algorithm:

  1. The algorithm is started with the current track to search on being the track associated with the initial treatment for the package, as defined in the package.csv file, and the current treatment to search for being the first treatment in the sequence;

  2. The current treatment to search for is looked up in the list of available treatments list for the current track. An appropriate age adjustment is made for the previous renewal age plus the delay age. The selected treatment must have a cycle value of 0 (meaning that is from the original post-treatment stand condition and not having gone through any successional process);

  3. If the lookup fails then an error condition is raised. Otherwise, if there are no more sequences the algorithm is finished. Otherwise the response from the selected treatment becomes the current track, and the next treatment to search for is the next treatment in the sequence;

  4. The algorithm continues at step 2.