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.12 pip 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
Metadata
Release files for pypsa2smspp 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pypsa2smspp-0.0.5.tar.gz | 108.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pypsa2smspp-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 209.5 kB
Release files / pypsa2smspp-0.0.5.tar.gz
| Download URL | pypsa2smspp-0.0.5.tar.gz |
|---|---|
| Size | 108.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb0c025ea408a76e81d922e7a1e841fef0dee4df7be8552d1c3988d76d9f50d8
|
|
BLAKE2b-256 checksum How to use checksums |
bc94a6ab305b7520ed06a616813d1cf6b8d9a5300a016f56de65db2d527a3db1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.
Transparency logRelease files / pypsa2smspp-0.0.5-py3-none-any.whl
| Download URL | pypsa2smspp-0.0.5-py3-none-any.whl |
|---|---|
| Size | 101.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38773bd82c018b6ceeb30c8ca9dcaed03858f841191791200b92b1832e032db8
|
|
BLAKE2b-256 checksum How to use checksums |
4bc7a454056839b44ed36b88446db7eaeba762767da8b25b9e72fe233823930f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.
Transparency log