OpenDSSDirect.py v0.6.0
OpenDSSDirect.py version 0.6.0 upgrades to DSS_Python 0.10.7. The version was bumped to v0.6.0 to reflect that support for Python 2.7 was dropped (at the moment, you can still build DSS_Python from source for Python 2.7 if you need it) and Python 3.9 was added.
This release includes bugfixes and new features, among them:
- Bug fix related to the
CapRadius
DSS 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. The issue also affect the official OpenDSS package.
OpenDSSDirect.py can be installed using pip. For more: http://dss-extensions.org/OpenDSSDirect.py/notebooks/Installation.html
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
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
CapRadius
DSS 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
CapRadius
DSS 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)."