Skip to content

Commit 00e86ac

Browse files
committed
Docs and minor changes for 0.10.5
1 parent 9b80a57 commit 00e86ac

File tree

6 files changed

+41
-13
lines changed

6 files changed

+41
-13
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ matrix:
77
sudo: required
88
env:
99
- DOCKER_IMAGE=pmeira/manylinux_wheel_cmake_fpc
10-
- DSS_CAPI_TAG=0.10.5rc2
10+
- DSS_CAPI_TAG=0.10.5
1111
- LINUX_X64=1
1212
- CONDA_SUBDIR=linux-64
1313
services:
@@ -32,7 +32,7 @@ matrix:
3232
sudo: required
3333
env:
3434
- DOCKER_IMAGE=pmeira/manylinux_wheel_cmake_fpc_i686
35-
- DSS_CAPI_TAG=0.10.5rc2
35+
- DSS_CAPI_TAG=0.10.5
3636
- CONDA_SUBDIR=linux-32
3737
services:
3838
- docker
@@ -52,7 +52,7 @@ matrix:
5252
- name: "osx_x64"
5353
os: osx
5454
env:
55-
- DSS_CAPI_TAG=0.10.5rc2
55+
- DSS_CAPI_TAG=0.10.5
5656
script:
5757
- export TRAVIS_TAG_DSS_PYTHON=$TRAVIS_TAG
5858
- export TRAVIS_TAG=

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[![Travis-CI: Linux and macOS build status](https://travis-ci.com/dss-extensions/dss_python.svg?branch=master)](https://travis-ci.com/dss-extensions/dss_python)
2-
[![AppVeyor: Windows build status](https://ci.appveyor.com/api/projects/status/bvcbel63n5uf4yjk/branch/master?svg=true)](https://ci.appveyor.com/project/PMeira/dss-python-yyx2r/branch/master)
1+
[![Travis-CI: Linux and macOS build status](https://travis-ci.com/dss-extensions/dss_python.svg?branch=0.10.x)](https://travis-ci.com/dss-extensions/dss_python)
2+
[![AppVeyor: Windows build status](https://ci.appveyor.com/api/projects/status/bvcbel63n5uf4yjk/branch/0.10.x?svg=true)](https://ci.appveyor.com/project/PMeira/dss-python-yyx2r/branch/0.10.x)
33

44
# DSS Python: Unofficial bindings for EPRI's OpenDSS
55

@@ -13,7 +13,7 @@ See also the other projects from [DSS-Extensions.org](https://dss-extensions.org
1313
- [DSS Sharp](http://github.com/dss-extensions/dss_sharp/): available for .NET/C#, also mimics the COM classes, but Windows-only at the moment. Soon it will be possible to use it via COM too.
1414
- [DSS MATLAB](http://github.com/dss-extensions/dss_matlab/): presents multi-platform integration (Windows, Linux, MacOS) with DSS C-API and is also very compatible with the COM classes.
1515

16-
Version 0.10.3, based on OpenDSS revision 2609 (which is slightly newer than OpenDSS v8.5.9.1 and v7.6.5.86). While we plan to add a lot more funcionality into DSS Python, the main goal of creating a COM-compatible API has been reached. If you find an unexpected missing feature, please report it!
16+
Version 0.10.5, based on OpenDSS revision 2837 (which is slightly newer than OpenDSS v8.6.7.1). While we plan to add a lot more funcionality into DSS Python, the main goal of creating a COM-compatible API has been reached. If you find an unexpected missing feature, please report it!
1717

1818
This module mimics the COM structure (as exposed via `win32com` or `comtypes`), effectively enabling multi-platform compatibility at Python level.
1919
Most of the COM documentation can be used as-is, but instead of returning tuples or lists, this modules returns/accepts NumPy arrays for numeric data exchange.
@@ -22,9 +22,11 @@ The module depends on CFFI, NumPy and, optionally, SciPy.Sparse for reading the
2222

2323
## Recent changes
2424

25-
Check the [changelog](docs/changelog.md#0103) document for a detailed list.
25+
Check the [changelog](docs/changelog.md#0105) document for a detailed list.
2626

27-
- **2019-05-22 / version 0.10.3: Some important fixes, better general performance, new API extensions, new features ported from COM and the OpenDSS version 8 codebase.**
27+
- *2020-03-03 / version 0.10.5: Maintenance release to match DSS C-API 0.10.5, basedon on OpenDSS revision 2837. Temporarily drops the v8 parallel-machine functions, as well as conda packages on Windows.*
28+
- 2019-11-16 / version 0.10.4: Maintenance release to match DSS C-API 0.10.4.
29+
- 2019-05-22 / version 0.10.3: Some important fixes, better general performance, new API extensions, new features ported from COM and the OpenDSS version 8 codebase.
2830
- 2019-02-28 / version 0.10.2: Some small fixes, adds the missing `CtrlQueue.Push`, faster LoadShapes and new property `DSS.AllowEditor` to toggle editor calls.
2931
- 2019-02-17 / version 0.10.1: Integrate DSS C-API changes/fix, some small fixes, and more error-checking.
3032
- 2018-11-17 / version 0.10.0: Lots of changes, fixes and new features. Check the new [changelog](docs/changelog.md#0100) document for a list.
@@ -136,16 +138,16 @@ for i in range(len(voltages) // 2):
136138
```
137139

138140

139-
If you want to play with the experimental OpenDSS-PM interface (from OpenDSS v8), it is installed side-by-side and you can import it as:
141+
~~If you want to play with the experimental OpenDSS-PM interface (from OpenDSS v8), it is installed side-by-side and you can import it as:~~ -- temporarily disabled in DSS Python 0.10.5. Check back in a few months.
140142

141143
```python
142144
import dss.v8
143145
dss_engine = dss.v8.DSS
144146
```
145147

146-
Although it is experimental, most of its funcionality is working. Depending on your use-case, the parallel interface can be an easy way of better using your machine resources. Otherwise, you can always use general distributed computing resources via Python.
148+
~~Although it is experimental, most of its funcionality is working. Depending on your use-case, the parallel interface can be an easy way of better using your machine resources. Otherwise, you can always use general distributed computing resources via Python.~~
147149

148-
Beware the v8 alternative can present issues and it should be removed as soon as all OpenDSS 8+ features are integrated into the default version.
150+
~~Beware the v8 alternative can present issues and it should be removed as soon as all OpenDSS 8+ features are integrated into the default version.~~
149151

150152
Testing
151153
=======
@@ -162,6 +164,7 @@ Besides bug fixes, the main funcionality of this library is mostly done. Notable
162164

163165
- More and better documentation
164166
- Plotting and reports integrated in Python.
167+
- Parallel-machine properties (disabled in DSS Python 0.10.5, to be reworked).
165168

166169
Expect news about these items by version 0.11.
167170

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ clone_folder: c:\projects\dss_python
55
cache:
66
- c:\projects\VCForPython27.msi
77
environment:
8-
DSS_CAPI_TAG: 0.10.5rc2
8+
DSS_CAPI_TAG: 0.10.5
99
DSS_CAPI_PATH: c:\projects\dss_capi
1010
ANACONDA_API_TOKEN:
1111
secure: Pcm5IXFi4ZUsi1ue5QvPNASDo1Ns1REYbAwDJXRd3FRn2CfKbNPgnPda6fxoN6wG

docs/changelog.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# 0.10.5
2+
3+
Released on 2020-03-03. This is a maintenance release.
4+
5+
- Updated to DSS C-API 0.10.5, which includes most changes up to OpenDSS v8.6.7.1. Includes new properties and new experimental components (under testing).
6+
- New properties exposed: `ActiveClass.ActiveClassParent`, `PVSystems.Pmpp`, `PVSystems.IrradianceNow`.
7+
- For the time being, `dss.v8` doesn't use the parallel-machine version anymore. This will be addressed in a future release, most likely in the 0.11.x series coming in the following months.
8+
9+
DSS C-API 0.10.5 changes:
10+
11+
- Disable builds and distribution of v8-only variation -- the extra/missing parallel-machine will be completely merged in a mixed (v7+v8) codebase in the coming months.
12+
- This version should be fully API compatible with 0.10.3+.
13+
- `Bus` and `CktElement` API functions reworked with some more checks.
14+
- Updated up to revision 2837 of the official OpenDSS code:
15+
- Ported changes from SVN (v7 and v8) into DSS C-API v7 variation (v8 was left untouched).
16+
- 4 new API level functions (`ActiveClass_Get_ActiveClassParent`, `PVSystems_Get_Pmpp`, `PVSystems_Set_Pmpp`, `PVSystems_Get_IrradianceNow`)
17+
- 4 new components: `PVsystem2`, `Storage2`, `InvControl2`, `StorageController2` -- *added for early testing, no dedicated API functions yet*. At the moment, please consider them experimental features subject to change.
18+
- `CIM100`: several changes
19+
- `ExpControl`: new `Tresponse` property
20+
- `ConductorData`, `LineConstants`, `LineGeometry`: new `Capradius` property
21+
- `XfmrCode`, `Transformer`: new Seasons and Ratings properties
22+
- `Bus_Get_puVLL` and `Bus_Get_VLL` -- see revision 2836 (official SVN). Included an extra fix in DSS C-API to avoid some corner cases.
23+
- Other small bug fixes like the Full Carson fix -- see https://sourceforge.net/p/electricdss/discussion/861976/thread/2de01d0cdb/ and revision 2805 (official SVN)
24+
125
# 0.10.4
226

327
Released on 2019-11-16. This is a maintenance release.

dss/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
from .v7 import *
77
from .patch_dss_com import patch_dss_com
88

9-
__version__ = '0.10.5rc2'
9+
__version__ = '0.10.5'

dss/v8.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
'''
44
from __future__ import absolute_import
55
from .v7 import *
6+
import warnings
67

78
warnings.warn('This module (dss.v8) is deprecated. Most parallel-machine functions are planned to be integrated in a future version.')
89

0 commit comments

Comments
 (0)