Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 2.54 KB

README.md

File metadata and controls

62 lines (47 loc) · 2.54 KB

GROWTH SIMULATOR

A timber plantation growth simulator, with stands and management policies options.

Based on "Modelos de predicción de biomasa a nivel de rodal en plantaciones de Eucalyptus globulus y Pinus radiata en Zona centro sur de en Chile". By: Alejandro Miranda, Blas Mola and Víctor Hinojosa

  1. For 34 types of eucalyptus and pinus plantations in the central-south of Chile, a statistical study fitted the following power law (tabla.csv):

$$ biomass(t) = \alpha \cdot t^\beta + \gamma $$

  1. A template for generating a timber plantation and different management policies was made (config.toml)
    horizonte = 10 # number of years to generate
    rodales = 36 # number of stands, choosing one model at random
    
    [random]
    # random number generator seed: omit or comment for different results each run
    seed = 5
    # `low` (inclusive) to `high` (exclusive)
    # n, n+1 for getting a single value: n
    # see np.random.randint
    edades = [1, 18] # min, max age of generated stands
    has = [5, 15] #  min, max hectares of generated stands
    
    # ranges: start, stop, step
    # n, n+1 for getting a single value range: [n]
    # see np.arange
    [eucalyptus]
    cosechas = [10, 20, 3] # for each Eucalyptus stand, generate different biomass histories harvesting in the year 10, 13, 16 and 19 (4 histories) 
    
    [pino]
    raleos = [6, 11, 2] # thinning policies in the years 6, 8, 10.
    cosechas = [18, 29, 3] # harvesting policies in the years 18, 21, 24, ... (every 3 years)
    # all feasible histories combining thinning and harvesting policies will be generated

quick start

  1. Clone, download or just get simulator.py, tabla.csv and config.toml
  2. Have numpy installed (and toml if python version < 3.11)
  3. Console run: python simulator.py to generate csv files
  4. Scripting/Interactive use:
    import simulator
    rodales = simulator.main(['-s'])

more info

  1. python simulator.py --help
  2. See example folder
  3. Read simulator.py __doc__s
  4. Read config.toml
  5. Read Methodoly section of "Modelos de predicción de biomasa a nivel de rodal en plantaciones de Eucalyptus globulus y Pinus radiata en Zona centro sur de en Chile"

models plots

models tabla