Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opendssdirect v0.5.0 changed parameter names #33

Open
daniel-thom opened this issue Aug 28, 2020 · 3 comments
Open

opendssdirect v0.5.0 changed parameter names #33

daniel-thom opened this issue Aug 28, 2020 · 3 comments
Assignees

Comments

@daniel-thom
Copy link
Collaborator

Parameter names for PVSystems changed between opendssdirect versions 0.3.7 and 0.5.0. v0.5.0 adds, among other things, better error handling, so we should move to it. However, PyDSS will need to first be made compatible.

Here are the PVSystems changes:

  1. pctPmpp -> %Pmpp
  2. kvarLimit -> kvarMax

New fields: %PminNoVars, %PminkvarMax, %Pmpp, PFPriority, kvarMaxAbs

There may be changes for other elements.

@PMeira
Copy link

PMeira commented Jan 5, 2021

(Hope you don't mind if I add some notes here)

In this case whole models were replaced, following what was done in OpenDSS 9.0. Please check the "Legacy Models" section on the changelog at https://github.com/dss-extensions/dss_capi/blob/master/docs/changelog.md#version-0106 (it's listed in the GitHub releases of OpenDSSDirect.py too).

You could toggle the legacy models to make an upgrade to ODD.py 0.6.0 feasible using https://dss-extensions.org/OpenDSSDirect.py/opendssdirect.html#opendssdirect.Basic.LegacyModels

@AadilLatif
Copy link
Collaborator

(Hope you don't mind if I add some notes here)

In this case whole models were replaced, following what was done in OpenDSS 9.0. Please check the "Legacy Models" section on the changelog at https://github.com/dss-extensions/dss_capi/blob/master/docs/changelog.md#version-0106 (it's listed in the GitHub releases of OpenDSSDirect.py too).

You could toggle the legacy models to make an upgrade to ODD.py 0.6.0 feasible using https://dss-extensions.org/OpenDSSDirect.py/opendssdirect.html#opendssdirect.Basic.LegacyModels

Thank you for the input. Expect to port to the new version in 2-3 months time

@AadilLatif
Copy link
Collaborator

@daniel-thom I will start working on this once the merge is complete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants