DSS Python 0.10.1
This is a minor DSS Python release that contains lots of changes from DSS C-API. See the changes from DSS C-API for details, including changes from the official OpenDSS code since 0.10.0.
DSS Python has recently moved from https://github.com/PMeira/dss_python/ to https://github.com/dss-extensions/dss_python/
Major changes:
- More and faster error-checking! Python exception will be raised for more errors and with a lower overhead.
- Fix for
YMatrix.getIandYMatrix.getV(ported from OpenDSSDirect.py) - Fix for
ActiveCircuit.ActiveCktElement.VariableandActiveCircuit.ActiveCktElement.Variablei: now returns a tuple of(value, errorcode), compatible with COM. - New
DSS.Error.EarlyAbort: controls whether all errors halts the DSS script processing (Compile/Redirect), defaults to True.
Reminder: mixed-case handling
If you were using use_com_compat to allow mixed-cased attributes, it should work better than before. You may now use use_com_compat(warn=True) to warn when you use an attribute that wouldn't exist without calling use_com_compat. The intention is that the user should run their code to get a list of warnings, fix it, and then remove use_com_compat since it does have a small performance impact.
Installation
Install it with conda:
conda install -c pmeira dss_python=0.10.1
Or via pip:
pip install dss_python==0.10.1