Skip to main content

A Python package to generate scenario trees for multi-stage stochastic programming problems.

Project description

About

scentree is a Python framework for generating scenario trees for multistage stochastic programming. It provides methods for generating a scenario fan using statistical models based on multivariate time series and machine learning techniques. The resulting scenario tree is then constructed using scenario reduction algorithms.

If the optimization problem to be solved is related to an energy community participating in electricity markets, the open-source secoem package can be used after generating the scenario tree with the scentree package.

Installation

The package is currently available only on PyPI and can be installed with:

pip install scentree

The package will be available on conda-forge soon.

How to use it

Visit the official documentation page for more details on how to use it.

Citation

@misc{scentree2026,
  author = {Cristian Pachón-García and Albert Solà Vilalta and F.-Javier Heredia},
  title = {{scentree}},
  subtitle = {a framework for generating scenario trees for multistage stochastic programming},
  url = {https://github.com/mmobec/scentree-gen},
  year = {2026}
}

Acknowledgements

This work has been supported with grants PID2022-139219OB-I00 and Cetp-FP-2023-00185 from the Spanish Ministerio de Ciencia, Innovación y Universidades. This research has been funded by CETPartnership, the Clean Energy Transition Partnership under the 2023 joint call for research proposals, co-funded by the European Commission (GA N°101069750) and with the funding organisations FFG (Austria), AEI (Spain) and MUR (Italy).

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

scentree-0.0.1.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

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

scentree-0.0.1-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

Details for the file scentree-0.0.1.tar.gz.

File metadata

  • Download URL: scentree-0.0.1.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scentree-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7c1de1699e1d12a376a36076bdfdeff148af4ec39e01b8b4a84e3929b2380cf6
MD5 82fab8ce21c7e1736454c15794529497
BLAKE2b-256 e34920412b12d2716e61d6649b13ef96e52ba0bd6154b3a3eba3b63cd951dd44

See more details on using hashes here.

Provenance

The following attestation bundles were made for scentree-0.0.1.tar.gz:

Publisher: publish.yml on mmobec/scentree-gen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scentree-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: scentree-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 41.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scentree-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff7c60859d10bade44e7cb92a92597b05f7dad37b473a8532af7734ea18ef291
MD5 ae1baa6f773585a8040d1adad9c56810
BLAKE2b-256 6589a071761e7f4f7ddf3cffef9a764aaaa0441ba53aa5bb5c4d2f09699ce067

See more details on using hashes here.

Provenance

The following attestation bundles were made for scentree-0.0.1-py3-none-any.whl:

Publisher: publish.yml on mmobec/scentree-gen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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