From 263b54555b0b3aab7a9d457fbf41466ddc342207 Mon Sep 17 00:00:00 2001 From: Hantao Cui Date: Fri, 2 Feb 2024 04:13:02 +0000 Subject: [PATCH 1/5] Update link ref to "curent". --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8562c1c1e..43fd4d219 100644 --- a/README.md +++ b/README.md @@ -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 @@ -47,7 +47,7 @@ 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. @@ -55,13 +55,13 @@ Numerical code will be automatically generated for fast simulation. | Controller Model and Equation | ANDES Code | | ----------------------------- | ---------- | -| Diagram:
![](https://raw.githubusercontent.com/cuihantao/andes/master/docs/source/modeling/example-tgov1/tgov1.png)
Write into DAEs:
![](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:
![](https://raw.githubusercontent.com/curent/andes/master/docs/source/modeling/example-tgov1/tgov1.png)
Write into DAEs:
![](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 @@ -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 \ No newline at end of file +[Binder]: https://mybinder.org/v2/gh/curent/andes/master +[LTB Repositories]: https://github.com/CURENT \ No newline at end of file From 8d8b8db9855d090927efbb4cdeb489dfbb091124 Mon Sep 17 00:00:00 2001 From: Hantao Cui Date: Sun, 4 Feb 2024 21:30:56 +0000 Subject: [PATCH 2/5] Pin version for kvxopt. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f418e61d2..b7f2ef4c5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -kvxopt>=1.3 +kvxopt>=1.3.2.0 numpy scipy sympy>=1.6,!=1.10.0 From 62db55d371c8c5db1fe88139ba82b822cd8eb803 Mon Sep 17 00:00:00 2001 From: Hantao Cui Date: Sun, 4 Feb 2024 21:31:43 +0000 Subject: [PATCH 3/5] Update --- docs/source/release-notes.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/release-notes.rst b/docs/source/release-notes.rst index 37af23050..92a524c54 100644 --- a/docs/source/release-notes.rst +++ b/docs/source/release-notes.rst @@ -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 From 5feb929897f1ebc8ed26dcca763f6f06b1d393b0 Mon Sep 17 00:00:00 2001 From: Hantao Cui Date: Sun, 4 Feb 2024 21:34:15 +0000 Subject: [PATCH 4/5] Run pip check. --- .github/workflows/pythonapp.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 30663dcb2..c5797d0a5 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -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' From 82ed41514aba24a98eacb76d505ee09845421531 Mon Sep 17 00:00:00 2001 From: Hantao Cui Date: Sun, 4 Feb 2024 21:43:38 +0000 Subject: [PATCH 5/5] Pin version of `mdit-py-plugins` due to requirement by `myst-parser`. --- requirements-extra.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements-extra.txt b/requirements-extra.txt index 8014404d7..0684a5384 100644 --- a/requirements-extra.txt +++ b/requirements-extra.txt @@ -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