Skip to content

Commit

Permalink
Merge pull request #509 from CURENT/develop
Browse files Browse the repository at this point in the history
New minor release.
  • Loading branch information
cuihantao authored Feb 4, 2024
2 parents 00e2675 + 82ed415 commit 394dd0e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
mamba install -y nbmake pytest-xdist line_profiler # add'l packages for notebook tests.
mamba install --file requirements.txt --file requirements-extra.txt
python -m pip install -e .
- shell: bash -el {0}
name: Run pip check
run: |
pip check
- shell: bash -el {0}
name: Lint with flake8 for pull requests
if: github.event_name == 'pull_request'
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Python software for symbolic power system modeling and numerical analysis, servi
| Badges | | |
|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Downloads | [![PyPI Version](https://img.shields.io/pypi/v/andes.svg)](https://pypi.python.org/pypi/andes) | [![Conda Downloads](https://anaconda.org/conda-forge/andes/badges/downloads.svg)](https://anaconda.org/conda-forge/andes) |
| Try on Binder | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/cuihantao/andes/master) | |
| Code Quality | [![Codacy Badge](https://api.codacy.com/project/badge/Grade/17b8e8531af343a7a4351879c0e6b5da)](https://app.codacy.com/app/cuihantao/andes?utm_source=github.com&utm_medium=referral&utm_content=cuihantao/andes&utm_campaign=Badge_Grade_Dashboard) | [![Codecov Coverage](https://codecov.io/gh/cuihantao/andes/branch/master/graph/badge.svg)](https://codecov.io/gh/cuihantao/andes) |
| Build Status | [![GitHub Action Status](https://github.com/cuihantao/andes/workflows/Python%20application/badge.svg)](https://github.com/cuihantao/andes/actions) | [![Azure Pipeline build status](https://dev.azure.com/hcui7/hcui7/_apis/build/status/cuihantao.andes?branchName=master)](https://dev.azure.com/hcui7/hcui7/_build/latest?definitionId=1&branchName=master) |
| Try on Binder | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/curent/andes/master) | |
| Code Quality | [![Codacy Badge](https://api.codacy.com/project/badge/Grade/17b8e8531af343a7a4351879c0e6b5da)](https://app.codacy.com/app/curent/andes?utm_source=github.com&utm_medium=referral&utm_content=curent/andes&utm_campaign=Badge_Grade_Dashboard) | [![Codecov Coverage](https://codecov.io/gh/curent/andes/branch/master/graph/badge.svg)](https://codecov.io/gh/curent/andes) |
| Build Status | [![GitHub Action Status](https://github.com/curent/andes/workflows/Python%20application/badge.svg)](https://github.com/curent/andes/actions) | [![Azure Pipeline build status](https://dev.azure.com/hcui7/hcui7/_apis/build/status/curent.andes?branchName=master)](https://dev.azure.com/hcui7/hcui7/_build/latest?definitionId=1&branchName=master) |

# Why ANDES
This software could be of interest to you if you are working on
Expand Down Expand Up @@ -47,21 +47,21 @@ Note that TSAT and PSS/E results are not identical, either.

| NPCC Case Study | WECC Case Study |
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| ![](https://raw.githubusercontent.com/cuihantao/andes/master/docs/source/images/example-npcc/omega.png) | ![](https://raw.githubusercontent.com/cuihantao/andes/master/docs/source/images/example-wecc/omega.png) |
| ![](https://raw.githubusercontent.com/curent/andes/master/docs/source/images/example-npcc/omega.png) | ![](https://raw.githubusercontent.com/curent/andes/master/docs/source/images/example-wecc/omega.png) |

ANDES provides a descriptive modeling framework in a scripting environment.
Modeling DAE-based devices is as simple as describing the mathematical equations.
Numerical code will be automatically generated for fast simulation.

| Controller Model and Equation | ANDES Code |
| ----------------------------- | ---------- |
| Diagram: <br> ![](https://raw.githubusercontent.com/cuihantao/andes/master/docs/source/modeling/example-tgov1/tgov1.png) <br> Write into DAEs: <br> ![](https://raw.githubusercontent.com/cuihantao/andes/master/docs/source/modeling/example-tgov1/tgov1_eqns.png) | ![](https://raw.githubusercontent.com/cuihantao/andes/master/docs/source/modeling/example-tgov1/tgov1_class.png) |
| Diagram: <br> ![](https://raw.githubusercontent.com/curent/andes/master/docs/source/modeling/example-tgov1/tgov1.png) <br> Write into DAEs: <br> ![](https://raw.githubusercontent.com/curent/andes/master/docs/source/modeling/example-tgov1/tgov1_eqns.png) | ![](https://raw.githubusercontent.com/curent/andes/master/docs/source/modeling/example-tgov1/tgov1_class.png) |

In ANDES, what you simulate is what you document.
ANDES automatically generates model documentation, and the docs always stay up to date.
The screenshot below is the generated documentation for the implemented IEEEG1 model.

![](https://raw.githubusercontent.com/cuihantao/andes/master/docs/source/images/misc/ieeeg1-screenshot.png)
![](https://raw.githubusercontent.com/curent/andes/master/docs/source/images/misc/ieeeg1-screenshot.png)

In addition, ANDES features

Expand Down Expand Up @@ -137,5 +137,5 @@ ANDES is licensed under the [GPL v3 License](./LICENSE).
[tutorial]: https://andes.readthedocs.io/en/latest/tutorial.html#interactive-usage
[examples]: https://github.com/CURENT/andes/tree/master/examples
[verification]: https://github.com/CURENT/andes/tree/master/examples/verification
[Binder]: https://mybinder.org/v2/gh/cuihantao/andes/master
[LTB Repository]: https://github.com/CURENT
[Binder]: https://mybinder.org/v2/gh/curent/andes/master
[LTB Repositories]: https://github.com/CURENT
4 changes: 4 additions & 0 deletions docs/source/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ The APIs before v3.0.0 are in beta and may change without prior notice.
v1.9 Notes
==========

v1.3.1 (2024-02-04)
-------------------
This is a hotfix to pass ``pip check`` for KVXOPT version.

v1.9.0 (2024-02-01)
-------------------
- Initially, ``dae.t`` is set to ``-1.0`` during power flow calculation. TDS
Expand Down
1 change: 1 addition & 0 deletions requirements-extra.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ sphinx-panels # dev, doc
pydata-sphinx-theme # dev, doc
myst-parser>=0.15 # dev, doc
myst-nb>=0.13 # dev, doc
mdit-py-plugins>=0.3.1,<0.4 # dev, doc
pre-commit # dev

pandapower # interop
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kvxopt>=1.3
kvxopt>=1.3.2.0
numpy
scipy
sympy>=1.6,!=1.10.0
Expand Down

0 comments on commit 394dd0e

Please sign in to comment.