Skip to main content

Scentree logo

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},
  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).

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.4.tar.gz (38.3 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.4-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for scentree-0.0.4.tar.gz
Algorithm Hash digest
SHA256 86f4177bafc199959ddb365802cf55fe471783e6093620f5a6b59dfeae88a733
MD5 8c6b4dda8c68a932142573ad897f1841
BLAKE2b-256 c542fc528d7dc62b4514af52a5f70c78c10b6f12190cc97e8be4c5d44cb4f5e9

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on mmobec/scentree

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.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for scentree-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c4967ba23b5c5883d82c446f415282faf0d871def3c4f63f218768588cfa02f5
MD5 3bc4290d42090cf1e7d54f75c2bf92cd
BLAKE2b-256 0d2eb726139fa900d9c2309f66a85759d612a34e87ed539e8482b08a5fa2386d

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on mmobec/scentree

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

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page