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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scentree-0.0.3.tar.gz.
File metadata
- Download URL: scentree-0.0.3.tar.gz
- Upload date:
- Size: 38.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f33b76c0d02ae9760afe127e39e13840d33795073e9ee2d9895401024d55f8e
|
|
| MD5 |
075f6ad57f7a24d385ede51de8d5afbf
|
|
| BLAKE2b-256 |
a51be720356f00637bd124c7ede6716611391d9f185dd754e0d1f3a9b3c2511e
|
Provenance
The following attestation bundles were made for scentree-0.0.3.tar.gz:
Publisher:
publish.yml on mmobec/scentree-gen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scentree-0.0.3.tar.gz -
Subject digest:
7f33b76c0d02ae9760afe127e39e13840d33795073e9ee2d9895401024d55f8e - Sigstore transparency entry: 2062530246
- Sigstore integration time:
-
Permalink:
mmobec/scentree-gen@552422207e28089375d246843257e52342ccbec9 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/mmobec
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@552422207e28089375d246843257e52342ccbec9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file scentree-0.0.3-py3-none-any.whl.
File metadata
- Download URL: scentree-0.0.3-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.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d3d3650ae00da4a088fb61312c09051a5ceb980bcbd08939287add7f8454111
|
|
| MD5 |
f1b2eabddce908b68714992532cd3684
|
|
| BLAKE2b-256 |
fae728d8c9ab53199aa7a1d6272b901a47cb9e6628185cf621772a4e70bf9fd5
|
Provenance
The following attestation bundles were made for scentree-0.0.3-py3-none-any.whl:
Publisher:
publish.yml on mmobec/scentree-gen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scentree-0.0.3-py3-none-any.whl -
Subject digest:
5d3d3650ae00da4a088fb61312c09051a5ceb980bcbd08939287add7f8454111 - Sigstore transparency entry: 2062530563
- Sigstore integration time:
-
Permalink:
mmobec/scentree-gen@552422207e28089375d246843257e52342ccbec9 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/mmobec
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@552422207e28089375d246843257e52342ccbec9 -
Trigger Event:
release
-
Statement type: