-
Notifications
You must be signed in to change notification settings - Fork 6
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
Updates for DSS C-API 0.12.x #73
Conversation
Looks like there is an actual error on macOS related to meters (probably uninitialized memory), but the rest is a bunch of timeouts, e.g.
I'll try to fix the meter issue and rerun the tests later. |
Codecov Report
@@ Coverage Diff @@
## master #73 +/- ##
==========================================
+ Coverage 71.18% 71.23% +0.04%
==========================================
Files 44 44
Lines 5810 5813 +3
==========================================
+ Hits 4136 4141 +5
+ Misses 1674 1672 -2
Continue to review full report at Codecov.
|
Some old functions were still not exposed, this could be a good time to do it. |
b3c08ba
to
e35e49c
Compare
- Update version, use DSS_CAPI_TAG = "0.12.0" - Updated lib names - LoadShapes: migrate the spelling of SInterval C functions - Transformers: Xhl/Xht/Xlt and R are (correctly) percent values now. - In properties in general, DSS Objects are always lowercase now, since we don't keep copies of the original strings anymore in DSS C-API. - Monitors: Bytestream no longer contains header. - Some setters now throw instead of silently accepting invalid values. - LineCodes: C1, C0 in nF. - Loads: ZipV is always 7 elements. - tests/Executive: update number of commands - COMHelp was added in 0.12.0b4 - lib: Remove the old function aliases for LoadShapes - YMatrix: update API (to simple pointer); add `SolveSystem()` without params - tests/CktElement.AllVariableValues: make it a little lax (win32 failed) - tests/meters: Run "AllocateLoads" to populate CalcCurrent and AllocFactors - SwtControls: enable Idx getter and related tests - Add support for ARM64/M1 on macOS. Tested with Julia 1.8rc, tests pass. Linux added too, but untested currently. - deps: download help; use it (DSS_SetPropertiesMO)
I think we're safe to merge and release soon. I'll push another commit to set the version to 0.8.0 |
Thanks for making these changes! |
Main changes:
The unit changes were fixes ported from the main OpenDSS, as well as the Bytestream change.
Main DSS C-API PR was at dss-extensions/dss_capi#109, and the announcement at https://github.com/dss-extensions/dss_capi/releases/tag/0.12.0
On the Julia side, this is a conservative update. I opened #81, #82 and #83 regarding new features.