Index of /tcl/ftparchive/sorted/databases/sdb-0.1/examples/budworm

      Name                   Last modified     Size  Description

[DIR] Parent Directory 29-Jan-99 12:24 - [   ] README 07-Nov-95 14:26 1k

This directory contains a sample implementation of the spruce budworm
impact model designed by Dave Maclean and originally implemented
in 'C' by Ian Desmerchant.  

This model reads FORMAN+1 - style datasets, and set up dynamic links
between pest outbreak time, outbreak severity, species composition,
an impact matrix, and the yield curves.

Comments included in the file 'ips.tcl' describe the operation
of the model.

To operate the model:

1) 'source convert.tcl'
   This converts the FORMAN+1 datasets into format suitable for the
   SDB model.

2) 'source ips.tcl'
   This loads in the datasets and defines the relationships between
   fields.

3) To begin forecasting enter the command:
      ips_forecast 'StartYear' 'OBYear' 'EndYear' 'Severity'
   where
     StartYear is the starting year for the forecast,
     OBYear is the year when the outbreak is scheduled to occur,
     EndYear is the ending year for the forecast, and
     Severity is the severity of the outbreak, which can be one
     of 'Moderate', 'Severe', or any other value which indicates
     no outbreak.
 
   To reset the simulation database to initial conditions use the
   command:
     ips_reset