A collection of small PSS/E utility scripts built on psse-model-util.
Project description
psse-utils
A collection of small PSS/E utility scripts built on
psse-model-util. Instead of a new
repo + PyPI project per script, scripts live here and ship as one package.
Installation
pip install --pre psse-utils
--pre is required while this package (and psse-model-util) are pre-releases.
Scripts
flowgate-key-facilities
Identify the key facilities for a set of PSS/E flowgates — the equipment
whose outage would most likely have a high impact on those flowgates. For each
flowgate in a .mon file, it keeps AC lines in a kV range and generators above a
PMax, all within n buses (hops) of the flowgate's elements, and writes the
results to CSVs.
flowgate-key-facilities \
--mon flowgates.mon --raw Model.raw \
--areas 1 2 3 --sc SCA --out-dir outputs/
Full options: flowgate-key-facilities --help. Outputs branches.csv,
generators.csv, transformers_3w.csv, unresolved.csv in --out-dir.
Adding a script
- Create
src/psse_utils/<name>.pywith the logic as importable functions plus a thinmain(argv=None) -> intthat parses args and calls them (keeping logic separate from the CLI leaves room for a future TUI/web UI). - Add a console command in
pyproject.toml:[project.scripts]→your-command = "psse_utils.<name>:main". - Add tests
tests/test_<name>_*.py(script-prefixed). - Put any heavy/extra dependencies behind an extra in
[project.optional-dependencies].
Development
python -m venv .venv
.venv\Scripts\python -m pip install --pre -e .
.venv\Scripts\python -m pip install pytest pytest-cov
.venv\Scripts\python -m pytest
Versioning is CalVer (YYYY.M.micro) from src/psse_utils/__about__.py.
Releases publish to PyPI via Trusted Publishing — see the team setup runbook and
psse-model-util's docs/PUBLISHING.md.
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 psse_utils-2026.6.0b1.tar.gz.
File metadata
- Download URL: psse_utils-2026.6.0b1.tar.gz
- Upload date:
- Size: 66.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdff0e68320d3cb2f6eca64760239fe902666356c94d6904fe8290fc978a4902
|
|
| MD5 |
82587a46b2d4206a6fdb539b0daf9cd3
|
|
| BLAKE2b-256 |
87e87b9d3442c2db9e6fea51a3bf4de057258f02650fcc46c188c2f26c7ae243
|
Provenance
The following attestation bundles were made for psse_utils-2026.6.0b1.tar.gz:
Publisher:
publish.yml on ppsyOps/psse_utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
psse_utils-2026.6.0b1.tar.gz -
Subject digest:
fdff0e68320d3cb2f6eca64760239fe902666356c94d6904fe8290fc978a4902 - Sigstore transparency entry: 1932503715
- Sigstore integration time:
-
Permalink:
ppsyOps/psse_utils@48702d886a6c93d9a6cf083c091f1308b7bb8bc3 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/ppsyOps
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@48702d886a6c93d9a6cf083c091f1308b7bb8bc3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file psse_utils-2026.6.0b1-py3-none-any.whl.
File metadata
- Download URL: psse_utils-2026.6.0b1-py3-none-any.whl
- Upload date:
- Size: 5.6 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 |
474640c970e37312f14f9a6e123e545b23b9ac6d77c050225bcfcf96c76ea026
|
|
| MD5 |
a5213f346a58cdd48fddf6207940d524
|
|
| BLAKE2b-256 |
7793187c218a91c033b816631263ff485917d03f44ead224495fd07c02d2547d
|
Provenance
The following attestation bundles were made for psse_utils-2026.6.0b1-py3-none-any.whl:
Publisher:
publish.yml on ppsyOps/psse_utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
psse_utils-2026.6.0b1-py3-none-any.whl -
Subject digest:
474640c970e37312f14f9a6e123e545b23b9ac6d77c050225bcfcf96c76ea026 - Sigstore transparency entry: 1932503836
- Sigstore integration time:
-
Permalink:
ppsyOps/psse_utils@48702d886a6c93d9a6cf083c091f1308b7bb8bc3 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/ppsyOps
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@48702d886a6c93d9a6cf083c091f1308b7bb8bc3 -
Trigger Event:
workflow_dispatch
-
Statement type: