Download Latest Version dss_capi_0.14.5_win_x86.zip (16.2 MB)
Email in envelope

Get an email when there's a new version of dss_capi

Home / 0.10.7
Name Modified Size InfoDownloads / Week
Parent folder
dss_capi_0.10.7_darwin_x64.tar.gz 2020-12-29 3.9 MB
dss_capi_0.10.7_win_x64.zip 2020-12-29 4.9 MB
dss_capi_0.10.7_win_x86.zip 2020-12-29 4.2 MB
dss_capi_0.10.7_linux_x86.tar.gz 2020-12-29 6.5 MB
dss_capi_0.10.7_linux_x64.tar.gz 2020-12-29 6.2 MB
DSS C-API 0.10.7.tar.gz 2020-12-29 3.2 MB
DSS C-API 0.10.7.zip 2020-12-29 3.7 MB
README.md 2020-12-29 3.1 kB
Totals: 8 Items   32.8 MB 0

DSS C-API is a library that exposes an unofficial C API for OpenDSS, the Distribution System Simulator from EPRI (the Electric Power Research Institute), aiming for full COM compatibility and beyond. It allows using OpenDSS on Windows, Linux and macOS with compatible behavior. It is the lower level API used by the other projects in DSS Extensions: DSS Python, OpenDSSDirect.py, OpenDSSDirect.jl (Julia language), DSS# (.NET/C# bindings) and DSS MATLAB.

Version 0.10.7 contains mostly bugfixes and ported changes from the upstream/official OpenDSS code, based on OpenDSS version 9.x (up to revision 2963).

See the changelog for a complete list of changes since 0.10.0. One important change deserves special attention: - Includes an important bug fix related to the CapRadius DSS property. If your DSS scripts included the pattern GMRac=... rad=... or GMRac=... diam=... (in this order and without specifying CapRadius), you should upgrade and re-evaluate the results.

See also the updated "Known Differences" document, which lists the main differences between the DSS C-API codebase and the main/official OpenDSS.

Changes since 0.10.6

  • 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 pattern GMRac=... rad=... or GMRac=... diam=... (in this order and without specifying CapRadius), 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)."
Source: README.md, updated 2020-12-29