Skip to main content

Solverz Utilities

This lib provides the simulation routines for integrated energy systems, including electric power, natural gas and heat.

A simple usage of this library can be

from SolUtil import GasFlow
gf = GasFlow('belgium.xlsx')
gf.run()
print(gf.Pi) # get the node Pressure results
print(gf.f) # get the pipe mass-flow results

The required .xlsx data format can be found in SolUtil/energyflow/test directory for reference.

Installation

pip install SolUtil

Requirements

This package requires the ipopt optimization solver.

On windows, download the latest release here. Then add the bin directory to the system path. Make sure that you can call ipopt in your terminal.

On macos, use brew install ipopt to perform the installation.

MATPOWER case files

The power flow also reads a MATPOWER case file directly:

from SolUtil import PowerFlow
pf = PowerFlow('case118.m')
pf.run()
print(pf.Vm, pf.Va) # get the bus voltage magnitudes and angles

A .m file is parsed with matpowercaseframes and prepared as MATPOWER runpf prepares it: generators out of service are dropped, the generators in service at one bus are summed, a PV or reference bus without a generator in service becomes a PQ bus, and every generator bus starts at its voltage setpoint. For large cases it is much faster to read than the .xlsx format.

Metadata

Release files for SolUtil 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SolUtil 0.1.1
File Size Uploaded Provenance Actions
solutil-0.1.1.tar.gz 140.8 kB With provenance Details for solutil-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for SolUtil 0.1.1
File Interpreter ABI Platform Actions
solutil-0.1.1-py3-none-any.whl Python 3 none any Details for solutil-0.1.1-py3-none-any.whl

Total release size: 294.5 kB

Release files / solutil-0.1.1.tar.gz

Download URL solutil-0.1.1.tar.gz
Size 140.8 kB
Tags Source
SHA-256 checksum
How to use checksums
758dacab2f72d3b89c621658e5df7740a534361d66f7b1aff50209d642c7fcaf
BLAKE2b-256 checksum
How to use checksums
f00348bac01c0b7c7276ec7f4bb220cc0fe7fd172ad71e6d0420ff5fa2b0f6dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 29, 2026.

Transparency log

Release files / solutil-0.1.1-py3-none-any.whl

Download URL solutil-0.1.1-py3-none-any.whl
Size 153.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a632226900a68de743e3348ef09dddcf41aa34151ee67a48b7572c99d8f0aa2
BLAKE2b-256 checksum
How to use checksums
7e1911c0199e061264b8243066c4e916c0b9304a01430020cfa3e5899c8f6a12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 29, 2026.

Transparency log

Security for SolUtil 0.1.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for solutil-0.1.1.tar.gz

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 Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

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