Specialized Tool for INverter-based Grids
Project description
:zap:sting:zap:
Welcome! This repository contains sting—Specialized Tool for INverter-based Grids. STING is an open-source software that is able to run:
- AC Power Flow
- Stochastic capacity expansion
- Kron reduction
- Large-scale model reduction
- Small-signal modeling
- Electromagnetic simulation
Installation
- Download STING: Make sure you have python3.13 installed on your computer. Using
pyenvcan be helpful for managing multiple versions of python on your PC. Start by cloning this repository and navigating into the STING directory.
Next, create a virtual environment and download all required packages.$ git clone https://github.com/REAM-lab/sting $ cd sting$ python3.13 -m venv .venv $ source .venv/bin/activate (.venv)$ pip install -e .
To install all optional dependencies, run pip install -e ".[all]". This will install extra packages necessary for optimization solvers, model_reduction, and sting development.
- Run sting: To ensure that sting was installed correctly navigate to the examples folder. You will see examples for different modules. Find the file
run.pyand execute it.
Solvers
Most of modules additionally require commercial or open-source solvers to run various optimization models. For example, solving optimal power flow is needed to find an equilibrium point for small-signal modeling. We currently support and use the following libraries
| Solver | How to install in your python environment | Use |
|---|---|---|
| IPOPT | brew install ipopt + pip install cyipopt |
ACOPF |
| Gurobi | pip install gurobipy |
Capacity expansion |
| MOSEK | pip install mosek |
Capacity expansion |
| SLICOT | pip install slycot + brew install gcc |
Model Reduction |
Citing
@misc{STING,
author = {{Renewable Energy + Advanced Mathematics Lab (REAM)}},
title = {Specialized tool for inverter-based grids},
year = {2025},
publisher = {GitHub},
journal = {GitHub repository},
url = {https://github.com/REAM-lab/sting}
}
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 sting_py-0.1.0.tar.gz.
File metadata
- Download URL: sting_py-0.1.0.tar.gz
- Upload date:
- Size: 103.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e11b807139eb18639a5c25172338de631371afa5a21e422106c35d02f36d85af
|
|
| MD5 |
4b47fb6468bf2d6d30d97c604ad58ec6
|
|
| BLAKE2b-256 |
e06a80a1830524d510d117ac9b19a0f84a5718b5b9dcd55d8bdc97be50776569
|
File details
Details for the file sting_py-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sting_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 154.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54b8d2f67954099c83e8384bb269c288a1a4be448e41a108f9599014ea125d4a
|
|
| MD5 |
eb00e2dafe93637366215105822cf39b
|
|
| BLAKE2b-256 |
b979335d443bbd9c31a88606474853791d4cce04807e58754287650dfc98cd1e
|