Metadata-Version: 2.2
Name: amplpower
Version: 0.0.15
Summary: AMPL package for power systems
Home-page: https://github.com/salvapineda/amplpower
Author: Salvador Pineda Morente
Author-email: spineda@uma.es
License: MIT
Project-URL: Documentation, https://amplpower.readthedocs.io/
Project-URL: Changelog, https://amplpower.readthedocs.io/en/latest/changelog.html
Project-URL: Issue Tracker, https://github.com/salvapineda/amplpower/issues
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Utilities
Requires-Python: >=3.9
License-File: LICENSE
License-File: AUTHORS.rst
Requires-Dist: amplpy>=0.14.0
Requires-Dist: matpowercaseframes==1.1.2
Requires-Dist: numpy>=1.26.4
Requires-Dist: pandas>=2.2.3
Requires-Dist: scipy>=1.7.3
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: license
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

========
Overview
========



AMPL package for power systems

* Free software: MIT license

Installation
============

::

    pip install amplpower

You can also install the in-development version with::

    pip install https://github.com/salvapineda/amplpower/archive/main.zip


Documentation
=============


https://amplpower.readthedocs.io/


Development
===========

To run all the tests run::

    tox

Note, to combine the coverage data from all the tox environments run:

.. list-table::
    :widths: 10 90
    :stub-columns: 1

    - - Windows
      - ::

            set PYTEST_ADDOPTS=--cov-append
            tox

    - - Other
      - ::

            PYTEST_ADDOPTS=--cov-append tox

Changelog
=========

0.0.15 (2025-04-04)
-------------------

* Bus mapping for some pglib networks
* Compute Bigm for AC OTS only if needed

0.0.14 (2025-04-04)
-------------------

* Bug in solver status

0.0.13 (2025-04-04)
-------------------

* Bug options solver

0.0.12 (2025-04-04)
-------------------

* Modify option solver input

0.0.11 (2025-04-01)
-------------------

* Return results for any status

0.0.10 (2025-04-01)
-------------------

* Add formulations of OPF to docs

0.0.9 (2025-03-26)
------------------

* Tightest computation of bigMs for AC OTS.
* Tightest bounds for variables cosft and sinft.
* Add violations of AC constraints to results.
* Test use open-source solvers.

0.0.8 (2025-03-25)
------------------

* Corrected voltage results for AC jabr relaxation (acjabr).

0.0.7 (2025-03-25)
------------------

* Included default COST2 for generators (gencos) if not provided.
* Corrected voltage results for AC rectangular (acrect).

0.0.6 (2025-03-21)
------------------

* Added support for solving optimal power flow (OPF) problems: DC OPF, AC OPF (both rectangular and polar coordinates) and AC relaxation proposed by Jabr.
* Added functionality for solving the optimal transmission switching (OTS) problem: Big-M and non-linear formulations. Option to include or exclude connectivity constraints for the OTS problem

0.0.0 (2025-03-14)
------------------

* First release on PyPI.
