Bi-directional interface between PyPSA and SMS++
Project description
pypsa2smspp
This package aims at providing a python interface between PyPSA and SMS++ models using a simple python interface. The package aims to support:
- Convert a PyPSA model to SMS++
- Execute the optimization of the so-created SMS++ model
- Parse the solution from the SMS++ model to PyPSA
How to develop
-
First, clone the repository using git:
git clone https://github.com/SPSUnipi/pypsa2smspp
-
Create a virtual environment using venv or conda. For exaample, using venv:
python -m venv .venv source .venv/bin/activate
Alternatively, using conda:
conda create -n pypsa2smspp python=3.10 conda activate pypsa2smspp
-
Install the required packages and pre-commit hooks:
pip install -e .[dev] pre-commit install
Note that the
-ecommand line option installs the package in editable mode, so that changes to the source code are immediately available in the environment being used. The[dev]option installs the packages required for development. Thepre-commit installcommand installs the pre-commit hooks, which are used to check the code before committing to ensure code quality standards. -
Develop and test the code. For testing, please run:
pytest
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 pypsa2smspp-0.0.2.tar.gz.
File metadata
- Download URL: pypsa2smspp-0.0.2.tar.gz
- Upload date:
- Size: 78.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
618cf0b1c09ac1f337a2dd04db017e8db9bea529cbc3572d2a658c802cf8981b
|
|
| MD5 |
6ea40bedf80707986afede106dffafe1
|
|
| BLAKE2b-256 |
fe184b9c106cc5f801c96b97e2d7fea1a27e4af10ca7eb853da32934f8738fb3
|
Provenance
The following attestation bundles were made for pypsa2smspp-0.0.2.tar.gz:
Publisher:
release.yml on SPSUnipi/pypsa2smspp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypsa2smspp-0.0.2.tar.gz -
Subject digest:
618cf0b1c09ac1f337a2dd04db017e8db9bea529cbc3572d2a658c802cf8981b - Sigstore transparency entry: 855161574
- Sigstore integration time:
-
Permalink:
SPSUnipi/pypsa2smspp@2450aa20571e22420cb2c053bfd237ef3ca76b28 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/SPSUnipi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2450aa20571e22420cb2c053bfd237ef3ca76b28 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pypsa2smspp-0.0.2-py3-none-any.whl.
File metadata
- Download URL: pypsa2smspp-0.0.2-py3-none-any.whl
- Upload date:
- Size: 72.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b8ca0ecc5907fbb75b9e9436d593a7d250ed322de709c2443c7a8c6af3fa8df
|
|
| MD5 |
ea5273c4224d519226ac91fac784fafd
|
|
| BLAKE2b-256 |
6dd2d6513d9870dbae7dfea13f735b18f766c412421759a7e62ae25310dcdc1f
|
Provenance
The following attestation bundles were made for pypsa2smspp-0.0.2-py3-none-any.whl:
Publisher:
release.yml on SPSUnipi/pypsa2smspp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypsa2smspp-0.0.2-py3-none-any.whl -
Subject digest:
4b8ca0ecc5907fbb75b9e9436d593a7d250ed322de709c2443c7a8c6af3fa8df - Sigstore transparency entry: 855161575
- Sigstore integration time:
-
Permalink:
SPSUnipi/pypsa2smspp@2450aa20571e22420cb2c053bfd237ef3ca76b28 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/SPSUnipi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2450aa20571e22420cb2c053bfd237ef3ca76b28 -
Trigger Event:
push
-
Statement type: