Metadata-Version: 2.4
Name: pydae-bps
Version: 1.4.4
Summary: Balanced power systems builder for pydae DAE solver
Project-URL: Homepage, https://github.com/pydae/pydae
Project-URL: Documentation, https://pydae-bps.readthedocs.io
Project-URL: Repository, https://github.com/pydae/pydae
Project-URL: Issues, https://github.com/pydae/pydae/issues
Author-email: Juan Manuel Mauricio <jmmauricio6@gmail.com>
License: MIT
License-File: LICENSE
Keywords: DAE,balanced,power-systems,simulation,transmission
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.10
Requires-Dist: hjson>=3.0.0
Requires-Dist: networkx>=3.2.0
Requires-Dist: pydae>=1.0.0
Description-Content-Type: text/markdown

# pydae-bps

Balanced Power Systems builder for the [pydae](https://github.com/pydae/pydae) DAE solver.

Reads JSON/HJSON power system network descriptions (similar to PSS/E or PSAT format) and constructs the symbolic DAE system dictionary for `pydae.core.Builder`.

## Installation

```bash
pip install pydae-bps   # automatically installs pydae as a dependency
```

## Quick start

```python
from pydae.bps import BpsBuilder
from pydae.core import Builder, Model

grid = BpsBuilder('ieee39.json')
grid.construct('ieee39')

bld = Builder(grid.sys_dict, target='ctypes')
bld.build()

model = Model('ieee39')
model.ini({}, xy_0=1)
model.run(10.0, {'p_c_30': 0.8})
model.post()
```
