ltbams 1.0.9__py3-none-any.whl → 1.0.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ams/__init__.py +0 -1
- ams/_version.py +3 -3
- ams/cases/5bus/pjm5bus_demo.json +1324 -0
- ams/core/__init__.py +1 -0
- ams/core/common.py +30 -0
- ams/core/documenter.py +130 -62
- ams/core/model.py +1 -1
- ams/core/symprocessor.py +1 -1
- ams/extension/eva.py +1 -1
- ams/interface.py +42 -26
- ams/io/matpower.py +31 -17
- ams/io/psse.py +278 -1
- ams/main.py +2 -2
- ams/models/group.py +2 -1
- ams/models/static/pq.py +7 -3
- ams/opt/param.py +1 -2
- ams/routines/__init__.py +2 -3
- ams/routines/acopf.py +5 -108
- ams/routines/dcopf.py +8 -0
- ams/routines/dcpf.py +1 -1
- ams/routines/ed.py +4 -2
- ams/routines/grbopt.py +155 -0
- ams/routines/pflow.py +2 -2
- ams/routines/pypower.py +622 -0
- ams/routines/routine.py +4 -10
- ams/routines/uc.py +2 -2
- ams/shared.py +26 -43
- ams/system.py +120 -4
- ams/utils/paths.py +3 -3
- docs/source/api.rst +2 -0
- docs/source/examples/index.rst +2 -1
- docs/source/genroutineref.py +1 -1
- docs/source/getting_started/install.rst +9 -6
- docs/source/images/dcopf_time.png +0 -0
- docs/source/images/educ_pie.png +0 -0
- docs/source/release-notes.rst +37 -57
- {ltbams-1.0.9.dist-info → ltbams-1.0.11.dist-info}/METADATA +85 -48
- {ltbams-1.0.9.dist-info → ltbams-1.0.11.dist-info}/RECORD +58 -75
- {ltbams-1.0.9.dist-info → ltbams-1.0.11.dist-info}/WHEEL +1 -1
- tests/test_1st_system.py +2 -2
- tests/test_case.py +14 -14
- tests/test_export_csv.py +1 -1
- tests/test_interface.py +24 -2
- tests/test_io.py +50 -0
- tests/test_omodel.py +1 -1
- tests/test_report.py +6 -6
- tests/test_routine.py +2 -2
- tests/test_rtn_acopf.py +75 -0
- tests/test_rtn_dcopf.py +1 -1
- tests/test_rtn_dcopf2.py +1 -1
- tests/test_rtn_ed.py +9 -9
- tests/test_rtn_opf.py +142 -0
- tests/test_rtn_pflow.py +0 -72
- tests/test_rtn_pypower.py +315 -0
- tests/test_rtn_rted.py +8 -8
- tests/test_rtn_uc.py +18 -18
- ams/pypower/__init__.py +0 -8
- ams/pypower/_compat.py +0 -9
- ams/pypower/core/__init__.py +0 -8
- ams/pypower/core/pips.py +0 -894
- ams/pypower/core/ppoption.py +0 -244
- ams/pypower/core/ppver.py +0 -18
- ams/pypower/core/solver.py +0 -2451
- ams/pypower/eps.py +0 -6
- ams/pypower/idx.py +0 -174
- ams/pypower/io.py +0 -604
- ams/pypower/make/__init__.py +0 -11
- ams/pypower/make/matrices.py +0 -665
- ams/pypower/make/pdv.py +0 -506
- ams/pypower/routines/__init__.py +0 -7
- ams/pypower/routines/cpf.py +0 -513
- ams/pypower/routines/cpf_callbacks.py +0 -114
- ams/pypower/routines/opf.py +0 -1803
- ams/pypower/routines/opffcns.py +0 -1946
- ams/pypower/routines/pflow.py +0 -852
- ams/pypower/toggle.py +0 -1098
- ams/pypower/utils.py +0 -293
- ams/routines/cpf.py +0 -65
- ams/routines/dcpf0.py +0 -196
- ams/routines/pflow0.py +0 -113
- tests/test_rtn_dcpf.py +0 -77
- {ltbams-1.0.9.dist-info → ltbams-1.0.11.dist-info}/entry_points.txt +0 -0
- {ltbams-1.0.9.dist-info → ltbams-1.0.11.dist-info}/top_level.txt +0 -0
ams/shared.py
CHANGED
@@ -6,7 +6,6 @@ This module is supplementary to the ``andes.shared`` module.
|
|
6
6
|
import logging
|
7
7
|
import unittest
|
8
8
|
from functools import wraps
|
9
|
-
from collections import OrderedDict
|
10
9
|
from time import strftime
|
11
10
|
|
12
11
|
import cvxpy as cp
|
@@ -21,10 +20,16 @@ logger = logging.getLogger(__name__)
|
|
21
20
|
sps = LazyImport('import scipy.sparse as sps')
|
22
21
|
np = LazyImport('import numpy as np')
|
23
22
|
pd = LazyImport('import pandas as pd')
|
23
|
+
ppoption = LazyImport('from pypower.ppoption import ppoption')
|
24
|
+
runpf = LazyImport('from pypower.runpf import runpf')
|
25
|
+
runopf = LazyImport('from pypower.runopf import runopf')
|
26
|
+
opf = LazyImport('from gurobi_optimods import opf')
|
24
27
|
|
25
28
|
# --- an empty ANDES system ---
|
26
29
|
empty_adsys = adSystem(autogen_stale=False)
|
27
30
|
ad_models = list(empty_adsys.models.keys())
|
31
|
+
ad_pf_models = [mname for mname, model in empty_adsys.models.items() if model.flags.pflow]
|
32
|
+
ad_dyn_models = [mname for mname, model in empty_adsys.models.items() if model.flags.tds and not model.flags.pflow]
|
28
33
|
|
29
34
|
# --- NumPy constants ---
|
30
35
|
# NOTE: In NumPy 2.0, np.Inf and np.NaN are deprecated.
|
@@ -105,49 +110,27 @@ def skip_unittest_without_MISOCP(f):
|
|
105
110
|
return wrapper
|
106
111
|
|
107
112
|
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
(
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
'apf', 'mu_pmax', 'mu_pmin', 'mu_qmax', 'mu_qmin']),
|
120
|
-
('gencost', ['model', 'startup', 'shutdown', 'n', 'c2', 'c1', 'c0']),
|
121
|
-
])
|
113
|
+
def skip_unittest_without_PYPOWER(f):
|
114
|
+
"""
|
115
|
+
Decorator for skipping tests that require PYPOWER.
|
116
|
+
"""
|
117
|
+
def wrapper(*args, **kwargs):
|
118
|
+
try:
|
119
|
+
import pypower # NOQA
|
120
|
+
except ImportError:
|
121
|
+
raise unittest.SkipTest("PYPOWER is not installed.")
|
122
|
+
return f(*args, **kwargs)
|
123
|
+
return wrapper
|
122
124
|
|
123
125
|
|
124
|
-
def
|
126
|
+
def skip_unittest_without_gurobi_optimods(f):
|
125
127
|
"""
|
126
|
-
|
127
|
-
|
128
|
-
Parameters
|
129
|
-
----------
|
130
|
-
ppc : dict
|
131
|
-
PYPOWER case dict.
|
132
|
-
model : str
|
133
|
-
Model name.
|
134
|
-
ppc_cols : dict
|
135
|
-
Column names.
|
136
|
-
|
137
|
-
Returns
|
138
|
-
-------
|
139
|
-
pandas.DataFrame
|
140
|
-
DataFrame.
|
141
|
-
|
142
|
-
Examples
|
143
|
-
--------
|
144
|
-
>>> import ams
|
145
|
-
>>> sp = ams.system.example()
|
146
|
-
>>> ppc = ams.io.pypower.system2ppc(sp)
|
147
|
-
>>> ppc_bus = ams.shared.ppc2df(ppc, 'bus')
|
128
|
+
Decorator for skipping tests that require gurobi_optimods.
|
148
129
|
"""
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
130
|
+
def wrapper(*args, **kwargs):
|
131
|
+
try:
|
132
|
+
import gurobi_optimods # NOQA
|
133
|
+
except ImportError:
|
134
|
+
raise unittest.SkipTest("Gurobi is not installed.")
|
135
|
+
return f(*args, **kwargs)
|
136
|
+
return wrapper
|
ams/system.py
CHANGED
@@ -9,8 +9,7 @@ from typing import Dict, Optional
|
|
9
9
|
|
10
10
|
import numpy as np
|
11
11
|
|
12
|
-
from andes.
|
13
|
-
from andes.system import System as andes_System
|
12
|
+
from andes.system import System as adSystem
|
14
13
|
from andes.system import (_config_numpy, load_config_rc)
|
15
14
|
from andes.variables import FileMan
|
16
15
|
|
@@ -23,9 +22,17 @@ from ams.routines.type import TypeBase
|
|
23
22
|
from ams.models import file_classes
|
24
23
|
from ams.routines import all_routines
|
25
24
|
from ams.utils.paths import get_config_path
|
25
|
+
from ams.core import Config
|
26
26
|
from ams.core.matprocessor import MatProcessor
|
27
27
|
from ams.interface import to_andes
|
28
28
|
from ams.report import Report
|
29
|
+
from ams.shared import ad_dyn_models
|
30
|
+
|
31
|
+
from ams.io.matpower import system2mpc
|
32
|
+
from ams.io.matpower import write as wrtite_m
|
33
|
+
from ams.io.xlsx import write as write_xlsx
|
34
|
+
from ams.io.json import write as write_json
|
35
|
+
from ams.io.psse import write_raw
|
29
36
|
|
30
37
|
logger = logging.getLogger(__name__)
|
31
38
|
|
@@ -42,7 +49,7 @@ def disable_methods(methods):
|
|
42
49
|
setattr(System, method, disable_method(getattr(System, method)))
|
43
50
|
|
44
51
|
|
45
|
-
class System(
|
52
|
+
class System(adSystem):
|
46
53
|
"""
|
47
54
|
A subclass of ``andes.system.System``, this class encapsulates data, models,
|
48
55
|
and routines for scheduling modeling and analysis in power systems.
|
@@ -389,6 +396,43 @@ class System(andes_System):
|
|
389
396
|
self.is_setup = False
|
390
397
|
self.setup()
|
391
398
|
|
399
|
+
def add(self, model, param_dict=None, **kwargs):
|
400
|
+
"""
|
401
|
+
Add a device instance for an existing model.
|
402
|
+
|
403
|
+
Revised from ``andes.system.System.add()``.
|
404
|
+
"""
|
405
|
+
if model not in self.models and (model not in self.model_aliases):
|
406
|
+
if model in ad_dyn_models:
|
407
|
+
logger.debug("ANDES dynamic model <%s> is skipped.", model)
|
408
|
+
else:
|
409
|
+
logger.warning("<%s> is not an existing model.", model)
|
410
|
+
return
|
411
|
+
|
412
|
+
if self.is_setup:
|
413
|
+
raise NotImplementedError("Adding devices are not allowed after setup.")
|
414
|
+
|
415
|
+
group_name = self.__dict__[model].group
|
416
|
+
group = self.groups[group_name]
|
417
|
+
|
418
|
+
if param_dict is None:
|
419
|
+
param_dict = {}
|
420
|
+
if kwargs is not None:
|
421
|
+
param_dict.update(kwargs)
|
422
|
+
|
423
|
+
# remove `uid` field
|
424
|
+
param_dict.pop('uid', None)
|
425
|
+
|
426
|
+
idx = param_dict.pop('idx', None)
|
427
|
+
if idx is not None and (not isinstance(idx, str) and np.isnan(idx)):
|
428
|
+
idx = None
|
429
|
+
|
430
|
+
idx = group.get_next_idx(idx=idx, model_name=model)
|
431
|
+
self.__dict__[model].add(idx=idx, **param_dict)
|
432
|
+
group.add(idx=idx, model=self.__dict__[model])
|
433
|
+
|
434
|
+
return idx
|
435
|
+
|
392
436
|
def setup(self):
|
393
437
|
"""
|
394
438
|
Set up system for studies.
|
@@ -421,7 +465,16 @@ class System(andes_System):
|
|
421
465
|
adjusted_params_str = ', '.join(adjusted_params)
|
422
466
|
msg = f"Zero Line parameters detected, adjusted to default values: {adjusted_params_str}."
|
423
467
|
logger.info(msg)
|
424
|
-
|
468
|
+
# --- bus type correction ---
|
469
|
+
pq_bus = self.PQ.bus.v
|
470
|
+
pv_bus = self.PV.bus.v
|
471
|
+
slack_bus = self.Slack.bus.v
|
472
|
+
# TODO: how to include islanded buses?
|
473
|
+
if self.Bus.n > 0 and np.all(self.Bus.type.v == 1):
|
474
|
+
self.Bus.alter(src='type', idx=pq_bus, value=1)
|
475
|
+
self.Bus.alter(src='type', idx=pv_bus, value=2)
|
476
|
+
self.Bus.alter(src='type', idx=slack_bus, value=3)
|
477
|
+
logger.info("All bus type are PQ, adjusted given load and generator connection status.")
|
425
478
|
# === no device addition or removal after this point ===
|
426
479
|
self.calc_pu_coeff() # calculate parameters in system per units
|
427
480
|
|
@@ -662,10 +715,73 @@ class System(andes_System):
|
|
662
715
|
|
663
716
|
return False
|
664
717
|
|
718
|
+
def to_mpc(self):
|
719
|
+
"""
|
720
|
+
Export an AMS system to a MATPOWER dict.
|
721
|
+
|
722
|
+
Returns
|
723
|
+
-------
|
724
|
+
dict
|
725
|
+
A dictionary representing the MATPOWER case.
|
726
|
+
"""
|
727
|
+
return system2mpc(self)
|
728
|
+
|
729
|
+
def to_m(self, outfile: str, overwrite: bool = None):
|
730
|
+
"""
|
731
|
+
Export an AMS system to a MATPOWER M-file.
|
732
|
+
|
733
|
+
Parameters
|
734
|
+
----------
|
735
|
+
outfile : str
|
736
|
+
The output file name.
|
737
|
+
overwrite : bool, optional
|
738
|
+
If True, overwrite the existing file. Default is None.
|
739
|
+
"""
|
740
|
+
return wrtite_m(self, outfile=outfile, overwrite=overwrite)
|
741
|
+
|
742
|
+
def to_xlsx(self, outfile: str, overwrite: bool = None):
|
743
|
+
"""
|
744
|
+
Export an AMS system to an Excel file.
|
745
|
+
|
746
|
+
Parameters
|
747
|
+
----------
|
748
|
+
outfile : str
|
749
|
+
The output file name.
|
750
|
+
overwrite : bool, optional
|
751
|
+
If True, overwrite the existing file. Default is None.
|
752
|
+
"""
|
753
|
+
return write_xlsx(self, outfile=outfile, overwrite=overwrite)
|
754
|
+
|
755
|
+
def to_json(self, outfile: str, overwrite: bool = None):
|
756
|
+
"""
|
757
|
+
Export an AMS system to a JSON file.
|
758
|
+
|
759
|
+
Parameters
|
760
|
+
----------
|
761
|
+
outfile : str
|
762
|
+
The output file name.
|
763
|
+
overwrite : bool, optional
|
764
|
+
If True, overwrite the existing file. Default is None.
|
765
|
+
"""
|
766
|
+
return write_json(self, outfile=outfile, overwrite=overwrite)
|
767
|
+
|
768
|
+
def to_raw(self, outfile: str, overwrite: bool = None):
|
769
|
+
"""
|
770
|
+
Export an AMS system to a v33 PSS/E RAW file.
|
771
|
+
|
772
|
+
Parameters
|
773
|
+
----------
|
774
|
+
outfile : str
|
775
|
+
The output file name.
|
776
|
+
overwrite : bool, optional
|
777
|
+
If True, overwrite the existing file. Default is None.
|
778
|
+
"""
|
779
|
+
return write_raw(self, outfile=outfile, overwrite=overwrite)
|
665
780
|
|
666
781
|
# --------------- Helper Functions ---------------
|
667
782
|
# NOTE: _config_numpy, load_config_rc are imported from andes.system
|
668
783
|
|
784
|
+
|
669
785
|
def example(setup=True, no_output=True, **kwargs):
|
670
786
|
"""
|
671
787
|
Return an :py:class:`ams.system.System` object for the
|
ams/utils/paths.py
CHANGED
@@ -184,7 +184,7 @@ def get_pycode_path(pycode_path=None, mkdir=False):
|
|
184
184
|
"""
|
185
185
|
|
186
186
|
if pycode_path is None:
|
187
|
-
pycode_path = os.path.join(
|
187
|
+
pycode_path = os.path.join(get_dot_ams_path(), 'pycode')
|
188
188
|
|
189
189
|
if mkdir is True:
|
190
190
|
os.makedirs(pycode_path, exist_ok=True)
|
@@ -203,7 +203,7 @@ def get_pkl_path():
|
|
203
203
|
|
204
204
|
"""
|
205
205
|
pkl_name = 'calls.pkl'
|
206
|
-
ams_path =
|
206
|
+
ams_path = get_dot_ams_path()
|
207
207
|
|
208
208
|
if not os.path.exists(ams_path):
|
209
209
|
os.makedirs(ams_path)
|
@@ -213,7 +213,7 @@ def get_pkl_path():
|
|
213
213
|
return pkl_path
|
214
214
|
|
215
215
|
|
216
|
-
def
|
216
|
+
def get_dot_ams_path():
|
217
217
|
"""
|
218
218
|
Return the path to ``$HOME/.ams``
|
219
219
|
"""
|
docs/source/api.rst
CHANGED
docs/source/examples/index.rst
CHANGED
docs/source/genroutineref.py
CHANGED
@@ -43,7 +43,7 @@ Create an environment for AMS (recommended)
|
|
43
43
|
|
44
44
|
.. code:: bash
|
45
45
|
|
46
|
-
mamba create --name ams python=3.
|
46
|
+
mamba create --name ams python=3.10
|
47
47
|
|
48
48
|
Activate the new environment with
|
49
49
|
|
@@ -83,10 +83,7 @@ To install packages in the ``dev`` when installing AMS, do:
|
|
83
83
|
|
84
84
|
.. code:: bash
|
85
85
|
|
86
|
-
pip install
|
87
|
-
|
88
|
-
One can also inspect the ``requirements-dev.txt`` to identify the packages
|
89
|
-
for manual installation.
|
86
|
+
pip install .[dev]
|
90
87
|
|
91
88
|
.. _Develop Install:
|
92
89
|
|
@@ -131,6 +128,7 @@ Install dependencies with
|
|
131
128
|
mamba install --file requirements.txt
|
132
129
|
mamba install --file requirements-dev.txt
|
133
130
|
mamba install --file requirements-doc.txt
|
131
|
+
mamba install --file requirements-nlp.txt
|
134
132
|
|
135
133
|
Alternatively, you can install them with ``pip``:
|
136
134
|
|
@@ -139,12 +137,17 @@ Alternatively, you can install them with ``pip``:
|
|
139
137
|
pip install -r requirements.txt
|
140
138
|
pip install -r requirements-dev.txt
|
141
139
|
pip install -r requirements-doc.txt
|
140
|
+
pip install -r requirements-nlp.txt
|
141
|
+
|
142
|
+
Alternatively, if you have a modern version of pip (>=23.1), you can install all dependencies specified in ``pyproject.toml`` with:
|
143
|
+
|
144
|
+
pip install .[dev,doc,nlp]
|
142
145
|
|
143
146
|
Step 3: Install AMS in the development mode using
|
144
147
|
|
145
148
|
.. code:: bash
|
146
149
|
|
147
|
-
|
150
|
+
python3 -m pip install -e .
|
148
151
|
|
149
152
|
Note the dot at the end. Pip will take care of the rest.
|
150
153
|
|
Binary file
|
Binary file
|
docs/source/release-notes.rst
CHANGED
@@ -9,7 +9,34 @@ The APIs before v3.0.0 are in beta and may change without prior notice.
|
|
9
9
|
v1.0
|
10
10
|
==========
|
11
11
|
|
12
|
-
v1.0.
|
12
|
+
v1.0.11 (2025-05-23)
|
13
|
+
----------------------
|
14
|
+
|
15
|
+
- Refactor Documenter
|
16
|
+
- Fix bug in documentation building
|
17
|
+
|
18
|
+
v1.0.10 (2025-05-23)
|
19
|
+
----------------------
|
20
|
+
|
21
|
+
- Add bus type correction in ``system.System.setup()``
|
22
|
+
- Revise ``ams.io.psse.read`` to complete model Zone when necessary
|
23
|
+
- Use numerical Area and Zone idx in MATPOWER and PSSE RAW file conversion
|
24
|
+
- Support JSON format addfile when converting to ANDES case
|
25
|
+
- Add PSS/E v33 RAW file writer
|
26
|
+
- In class ``System``, add wrapper methods ``to_mpc``, ``to_m``, ``to_xlsx``,
|
27
|
+
``to_json``, and ``to_raw`` for easier case file export
|
28
|
+
- Add wrapper routines for PYPOWER: ``DCPF1``, ``PFlow1``, ``DCOPF1``, and ``ACOPF1``
|
29
|
+
- In routine ``DCOPF`` and its derivatives, add ExpressionCalc ``mu1`` ``mu2`` to
|
30
|
+
calculate Lagrange multipliers of line flow limits constraints
|
31
|
+
- Add wrapper routine ``OPF`` for gurobi_optimods
|
32
|
+
- Add a demo to show newly added wrapper routines, see
|
33
|
+
``examples/demonstration/demo_wrapper_routines.ipynb``
|
34
|
+
- Revise ``andes.common.config.Config.update`` to ensure configuration parameters
|
35
|
+
are consistently updated in both the object and its internal ``_dict``
|
36
|
+
- Remove legacy revised PYPOWER module
|
37
|
+
- Remove function ``ams.shared.ppc2df``
|
38
|
+
|
39
|
+
v1.0.9 (2025-04-23)
|
13
40
|
--------------------
|
14
41
|
|
15
42
|
Improve MATPOWER file converter:
|
@@ -17,7 +44,7 @@ Improve MATPOWER file converter:
|
|
17
44
|
- Add a M file case writer
|
18
45
|
- Include Area and Zone in both MATPOWER read and write
|
19
46
|
|
20
|
-
v1.0.8 (
|
47
|
+
v1.0.8 (2025-04-20)
|
21
48
|
--------------------
|
22
49
|
|
23
50
|
- Run workflow "Publish" only on push tag event
|
@@ -27,7 +54,7 @@ v1.0.8 (2024-04-20)
|
|
27
54
|
- Include ``gentype`` and ``genfuel`` when parsing MATPOWER cases
|
28
55
|
- Fix logging level in ``ACOPF.run``
|
29
56
|
|
30
|
-
v1.0.7 (
|
57
|
+
v1.0.7 (2025-04-14)
|
31
58
|
--------------------
|
32
59
|
|
33
60
|
- Address several wording issues in the documentation
|
@@ -41,44 +68,44 @@ v1.0.7 (2024-04-14)
|
|
41
68
|
parameters conversion
|
42
69
|
- Update case files
|
43
70
|
|
44
|
-
v1.0.6 (
|
71
|
+
v1.0.6 (2025-04-10)
|
45
72
|
--------------------
|
46
73
|
|
47
74
|
- Enhance handling of Type 1 gencost: Automatically fallback to Type 2 gencost
|
48
75
|
- Add parameter correction for zero line angle difference
|
49
76
|
|
50
|
-
v1.0.5 (
|
77
|
+
v1.0.5 (2025-04-09)
|
51
78
|
--------------------
|
52
79
|
|
53
80
|
- Include sensitivity matrices calculation demo in documentation
|
54
81
|
- Add ``DCOPF2``, a PTDF-based DCOPF routine
|
55
82
|
- Fix bug when update routine parameters before it is initialized
|
56
83
|
|
57
|
-
v1.0.4 (
|
84
|
+
v1.0.4 (2025-04-05)
|
58
85
|
--------------------
|
59
86
|
|
60
87
|
- Fix format in release notes
|
61
88
|
- Add badges of GitHub relesase and commits in README
|
62
89
|
- Add a demo to show sensitivity matrices calculation
|
63
90
|
|
64
|
-
v1.0.3 (
|
91
|
+
v1.0.3 (2025-03-17)
|
65
92
|
--------------------
|
66
93
|
|
67
94
|
- Bug fix in function ``ams.interface.parse_addfile``, released in v1.0.3a1
|
68
95
|
|
69
|
-
v1.0.2 (
|
96
|
+
v1.0.2 (2025-02-01)
|
70
97
|
--------------------
|
71
98
|
|
72
99
|
- Enhance the GitHub Actions workflow file
|
73
100
|
- Deprecate andes logger configuration in ``config_logger``
|
74
101
|
- Deprecate solver specification in ``demo_ESD1``
|
75
102
|
|
76
|
-
v1.0.1 (
|
103
|
+
v1.0.1 (2025-01-26)
|
77
104
|
--------------------
|
78
105
|
|
79
106
|
Hotfix: removed dependencies on `SCIP` and `pyscipopt` to resolve installation issues
|
80
107
|
|
81
|
-
v1.0.0 (
|
108
|
+
v1.0.0 (2025-01-24)
|
82
109
|
--------------------
|
83
110
|
|
84
111
|
- **Breaking Change**: rename model ``Region`` to ``Zone`` for clarity. Prior case
|
@@ -408,50 +435,3 @@ v0.4 (2023-01)
|
|
408
435
|
-------------------
|
409
436
|
|
410
437
|
This release outlines the package.
|
411
|
-
|
412
|
-
Known Limitations
|
413
|
-
=================
|
414
|
-
|
415
|
-
- For builit-in PYPOWER-based ACOPF, the known largest solvable case is "pglib_opf_case1354_pegase.m"
|
416
|
-
- Batch processing is not supported yet
|
417
|
-
- Routine ``DCOPF`` has been extensively benchmarked with pandapower and MATPOWER.
|
418
|
-
- Routines besides above mentioned are not fully benchmarked yet.
|
419
|
-
|
420
|
-
Roadmap
|
421
|
-
=======
|
422
|
-
|
423
|
-
This section lists out some potential features that may be added in the future.
|
424
|
-
Note that the proposed features are not guaranteed to be implemented and subject to change.
|
425
|
-
|
426
|
-
Electric Vehicle for Grid Service
|
427
|
-
------------------------------------------
|
428
|
-
|
429
|
-
A charging-time-constrained EV aggregation based on the state-space model
|
430
|
-
|
431
|
-
References:
|
432
|
-
|
433
|
-
[1] J. Wang et al., "Electric Vehicles Charging Time Constrained Deliverable Provision of Secondary
|
434
|
-
Frequency Regulation," in IEEE Transactions on Smart Grid, doi: 10.1109/TSG.2024.3356948.
|
435
|
-
|
436
|
-
[2] M. Wang et al., "State Space Model of Aggregated Electric Vehicles for Frequency Regulation," in
|
437
|
-
IEEE Transactions on Smart Grid, vol. 11, no. 2, pp. 981-994, March 2020, doi: 10.1109/TSG.2019.2929052.
|
438
|
-
|
439
|
-
Distribution OPF
|
440
|
-
--------------------------
|
441
|
-
|
442
|
-
- Distribution networks OPF and its LMP
|
443
|
-
- DG siting and sizing considering energy equity
|
444
|
-
|
445
|
-
References:
|
446
|
-
|
447
|
-
[1] H. Yuan, F. Li, Y. Wei and J. Zhu, "Novel Linearized Power Flow and Linearized OPF Models for
|
448
|
-
Active Distribution Networks With Application in Distribution LMP," in IEEE Transactions on Smart Grid,
|
449
|
-
vol. 9, no. 1, pp. 438-448, Jan. 2018, doi: 10.1109/TSG.2016.2594814.
|
450
|
-
|
451
|
-
[2] C. Li, F. Li, S. Jiang, X. Wang and J. Wang, "Siting and Sizing of DG Units Considering Energy
|
452
|
-
Equity: Model, Solution, and Guidelines," in IEEE Transactions on Smart Grid, doi: 10.1109/TSG.2024.3350914.
|
453
|
-
|
454
|
-
Planning
|
455
|
-
--------------------------
|
456
|
-
|
457
|
-
- Transmission expansion planning
|