semvec/pypi-packages huggingface dataset:
electricalsim-opf-quadratic 1.3
Optimal Power Flow calculation with quadratic costs for the Electrical Grid Simulator (EGS)
License: MIT
Requires Python: >=3.8
Keywords: Electrical Grid Simulator,electrical networks,energy,optimal power flow,pandapower,power systems,simulation

# electricalsim-opf-quadratic

Extension for solving the Optimal Power Flow calculation (OPF) with quadratic costs for the [Electrical Grid Simulator (EGS)](https://github.com/aloytag/electrical-grid-simulator).

This extension uses the `pandapower` capabilities for OPF through the `PYPOWER` solver, according to the `runopp()` and `rundcopp()` functions (AC OPF and DC OPF). For more details, see the `pandapower` documentation [here](https://pandapower.readthedocs.io/en/latest/opf.html).

## Intallation & updates

Using `pip`:

```bash
pip install electricalsim-opf-quadratic -U
```

On MS Windows you may prefer:
```bash
python -m pip install electricalsim-opf-quadratic -U
```