OpenDSSDirect.py v0.6.1
OpenDSSDirect.py version 0.6.1 upgrades to DSS_Python 0.10.7-1. The only difference from version 0.6.0 is that DSS_Python 0.10.7-1 corrects an issue with energy meter reports. If you don't use the reports, you don't need to upgrade to this version from 0.6.0.
OpenDSSDirect.py can be installed using pip. For more: http://dss-extensions.org/OpenDSSDirect.py/notebooks/Installation.html
We are also testing a conda package. You can use our dss-extensions channel, e.g. conda install -c dss-extensions opendssdirect.py=0.6.1.
As OpenDSSDirect.py accumulates changes from DSS_Python (all ported to OpenDSSDirect.py), DSS C-API and the official OpenDSS, read below for other important changes including bug-fixes.
Changes from DSS_Python 0.10.7-1
- Correct issue with energy meter reports.
Changes from DSS_Python 0.10.7
DSS_Python is the project that focuses on providing an interface, at Python level, that can be used as a drop-in replacement for the official OpenDSS COM interface. Users can combine both OpenDSSDirect.py and DSS_Python in the same application, sharing the same OpenDSS engine.
- Maintenance release.
- Updated to DSS C-API 0.10.7, which includes most changes up to OpenDSS v9.1.3.4.
- Includes an important bug fix related to the
CapRadiusDSS property. If your DSS scripts included the patternGMRac=... rad=...orGMRac=... diam=...(in this order and without specifyingCapRadius), you should upgrade and re-evaluate the results. - New API properties ported from the official COM interface:
Bus.AllPCEatBus,Bus.AllPDEatBus,CktElement.TotalPowers,Meters.ZonePCE
Changes from DSS C-API 0.10.7
- Simple maintenance release, which includes most changes up to OpenDSS v9.1.3.4 (revision 2963).
- Includes an important bug fix related to the
CapRadiusDSS property. If your DSS scripts included the patternGMRac=... rad=...orGMRac=... diam=...(in this order and without specifyingCapRadius), you should upgrade and re-evaluate the results. - This version should be fully API compatible with 0.10.3+.
- A reference document listing the DSS commands and properties for all DSS elements is now available at https://github.com/dss-extensions/dss_capi/blob/0.10.x/docs/dss_properties.md
- New functions API ported from the official OpenDSS include:
Bus_Get_AllPCEatBus,Bus_Get_AllPDEatBus,CktElement_Get_TotalPowers,Meters_Get_ZonePCE. - The changes ported from the official OpenDSS include the following (check the repository for more details):
- "Adds LineType property to LineCode and LineGeometry objects."
- "Correcting bug found in storage device when operating in idling mode. It was preventing the solution of other test feeders (IEEE 9500)"
- "Enabling fuel option for generator, fixing bug found in TotalPower command."
- "Adding kvar compensation calculation for normalizing reactive power at feeder head. v 9.1.2.4"
- "Adding: - Line type variable to line definition. - AllPCEatBus and AllPDEatBus commands to the executive command set. - AllPCEatBus and AllPDEatBus commands to bus interface in COM/DLL. (...)"
- "Adding capability to energy meter for getting the list of all PCE (shunt) within a zone. Interface "AllPCEatZone" for COM/DLL created."
- "Fixing bug found when calculating voltage bases with large amount of numbers (large array)."