From 44b98b4bfb0b2cdbbe6aad5ed4fb593f92ba2cff Mon Sep 17 00:00:00 2001 From: Paulo Meira <10246101+PMeira@users.noreply.github.com> Date: Mon, 12 Jun 2023 05:36:23 -0300 Subject: [PATCH] Prepare v0.13.3 - Enums: Add DSSCompatFlags.SaveCalcVoltageBases - Upgrade DSS C-API - Tweak README.md --- +DSS_MATLAB/DSSCompatFlags.m | 11 +++++++++-- .github/workflows/builds.yml | 4 ++-- README.md | 6 +++--- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/+DSS_MATLAB/DSSCompatFlags.m b/+DSS_MATLAB/DSSCompatFlags.m index a32d6a4..acd386c 100644 --- a/+DSS_MATLAB/DSSCompatFlags.m +++ b/+DSS_MATLAB/DSSCompatFlags.m @@ -5,6 +5,7 @@ % NoSolverFloatChecks(0x00000001) % BadPrecision(0x00000002) % InvControl9611(0x00000004) + % SaveCalcVoltageBases(0x00000008) % % Descriptions: % @@ -24,11 +25,17 @@ % InvControl9611: % Toggle some InvControl behavior introduced in OpenDSS 9.6.1.1. It could be a regression % but needs further investigation, so we added this flag in the time being. - - + % + % SaveCalcVoltageBases: + % When using "save circuit", the official OpenDSS always includes the "CalcVoltageBases" command in the + % saved script. We found that it is not always a good idea, so we removed the command (leaving it commented). + % Use this flag to enable the command in the saved script. + % + enumeration NoSolverFloatChecks(0x00000001) BadPrecision(0x00000002) InvControl9611(0x00000004) + SaveCalcVoltageBases(0x00000008) end end diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index dfb00c7..0d23d05 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -6,8 +6,8 @@ on: push: env: - DSS_CAPI_VERSION: '0.13.2' - DSS_MATLAB_VERSION: '0.13.2' + DSS_CAPI_VERSION: '0.13.3' + DSS_MATLAB_VERSION: '0.13.3' jobs: linux_x64: diff --git a/README.md b/README.md index dea3bd0..fbe6a23 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# DSS MATLAB: a multi-platform MATLAB package for DSS C-API, an unofficial implementation of EPRI's OpenDSS +# DSS MATLAB: a multi-platform MATLAB package for DSS C-API, an alternative implementation of EPRI's OpenDSS --- @@ -23,10 +23,10 @@ Related projects: - [`OpenDSSDirect.jl`](http://github.com/dss-extensions/OpenDSSDirect.jl): Julia bindings to DSS C-API (originally based on the DCSL/OpenDSSDirect.DLL). - [`DSS Sharp`](http://github.com/dss-extensions/dss_sharp/): .NET assembly to use the native DLL, mimics the COM object as used in .NET. -Version 0.13.0, released on 2023-03, covers most of the COM functions and classes, besides some extensions from DSS C-API. If you find a missing function or unexpected behavior, please open an issue on GitHub to both help us track and hopefully fix it, and also inform other users. This project currently uses the [DSS C-API library version 0.13.0](https://github.com/dss-extensions/dss_capi/blob/master/docs/changelog.md#version-0130), based on OpenDSS revision 3595 (few commits after OpenDSS v9.6.1.1). +Currently, this package covers most of the COM functions and classes, besides some extensions from DSS C-API. If you find a missing function or unexpected behavior, please open an issue on GitHub to both help us track and hopefully fix it, and also inform other users. This project currently uses the [DSS C-API library version 0.13.x](https://github.com/dss-extensions/dss_capi/blob/master/docs/changelog.md). -## Highlights from 0.13.0 +## Highlights from 0.13.x Port updates from DSS-Python 0.13, integrating our base library, DSS C-API 0.13. Specific to DSS_MATLAB: