Skip to main content

Simulador de crecimiento y rendimiento forestal para evaluar políticas de manejo en la gestión de plantaciones

Project description

treemun: a growth and yield simulator for chilean plantation forest

A Python package that implements a discrete-time simulation framework for evaluating management policies in Pinus radiata and Eucalyptus globulus forest stands.

install

pip install treemun-sim

basic use

import treemun_sim as tm

# simulation with default parameters
bosque, resumen, biomasa_final, biomasa_estimada = tm.simular_bosque()

# custom simulation
bosque, resumen, biomasa_final, biomasa_estimada = tm.simular_bosque(
    policies_pino=[(9, 18), (10, 20), (11, 22)],
    policies_eucalyptus=[(9,), (10,), (11,)],
    horizonte=25,
    num_rodales=50,
    semilla=1234
)

print(f"Se generaron {len(bosque)} combinaciones rodal-política")

parameters

  • policies_pino: Lista de políticas para pino [(edad_raleo, edad_cosecha), ...]
  • policies_eucalyptus: Lista de políticas para eucalipto [(edad_cosecha,), ...]
  • horizonte: Horizonte temporal en años (default: 30)
  • num_rodales: Número de rodales a generar (default: 100)
  • semilla: Semilla para reproducibilidad (default: 5555)

outputs

  • bosque: Lista de DataFrames con simulación período a período
  • resumen: Lista de diccionarios con información de cada rodal
  • biomasa_final: Diccionario con biomasa al final del horizonte
  • biomasa_estimada: Diccionario optimizado para algoritmos de optimización

supported species

  • Pinus: Con políticas de raleo y cosecha
  • Eucalyptus: Con políticas de cosecha únicamente

author

Felipe Ulloa-Fierro

license

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

treemun_sim-1.0.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

treemun_sim-1.0.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file treemun_sim-1.0.0.tar.gz.

File metadata

  • Download URL: treemun_sim-1.0.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.7

File hashes

Hashes for treemun_sim-1.0.0.tar.gz
Algorithm Hash digest
SHA256 81f0a188decb76d4f459f46333516defb6eaa6b66e53a394ab20e183fe0220a3
MD5 949c5fd55fbd9b97f92a138032ef4674
BLAKE2b-256 55cc8f595b998eed2e1f3d9400d33e3843ecc643be59c0cd484ac7a186f4022f

See more details on using hashes here.

File details

Details for the file treemun_sim-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: treemun_sim-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.7

File hashes

Hashes for treemun_sim-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7177480e281af699cea6a491dbf575efae5f38d5ebeb7858da205100173f3b90
MD5 898fcace107abc29c6e688e935446783
BLAKE2b-256 d7416abaabed673f8125c98c73d5f45d851a02fbbfb934f86f7505e3b3f69e57

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page