Skip to content

Commit 7ecb05d

Browse files
authored
Merge pull request #133 from CURENT/misc
Address several wording issues in the documentation
2 parents 3dbdbfe + a0b206d commit 7ecb05d

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

ams/routines/dcopf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def __init__(self, system, config):
152152

153153
def dc2ac(self, kloss=1.0, **kwargs):
154154
"""
155-
Convert the RTED results with ACOPF.
155+
Convert the results using ACOPF.
156156
157157
Parameters
158158
----------

ams/routines/rted.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ class RTED(DCOPF, RTEDBase, SFRBase):
112112
DC-based real-time economic dispatch (RTED).
113113
RTED extends DCOPF with:
114114
115-
- Mapping dicts to interface with ANDES
116-
- Function ``dc2ac`` to do the AC conversion
117115
- Vars for SFR reserve: ``pru`` and ``prd``
118116
- Param for linear SFR cost: ``cru`` and ``crd``
119117
- Param for SFR requirement: ``du`` and ``dd``
@@ -127,8 +125,7 @@ class RTED(DCOPF, RTEDBase, SFRBase):
127125
Notes
128126
-----
129127
1. Formulations has been adjusted with interval ``config.t``, 5/60 [Hour] by default.
130-
131-
2. The tie-line flow has not been implemented in formulations.
128+
2. The tie-line flow related constraints are ommited in this formulation.
132129
"""
133130

134131
def __init__(self, system, config):
@@ -176,14 +173,6 @@ def __init__(self, system, config):
176173
self.obj.e_str = cost
177174

178175
def dc2ac(self, kloss=1.0, **kwargs):
179-
"""
180-
Convert the RTED results with ACOPF.
181-
182-
Parameters
183-
----------
184-
kloss : float, optional
185-
The loss factor for the conversion. Defaults to 1.2.
186-
"""
187176
exec_time = self.exec_time
188177
if self.exec_time == 0 or self.exit_code != 0:
189178
logger.warning(f'{self.class_name} is not executed successfully, quit conversion.')

docs/source/release-notes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ The APIs before v3.0.0 are in beta and may change without prior notice.
99
v1.0
1010
==========
1111

12+
v1.0.7 (2024-xx-xx)
13+
--------------------
14+
15+
- Address several wording issues in the documentation
16+
1217
v1.0.6 (2024-04-10)
1318
--------------------
1419

0 commit comments

Comments
 (0)