Skip to content

Commit

Permalink
Prepare for 0.15.4
Browse files Browse the repository at this point in the history
  • Loading branch information
PMeira committed Mar 13, 2024
1 parent 7539046 commit 323aa2e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
18 changes: 12 additions & 6 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,25 @@ relevant. See [DSS C-API's repository](https://github.com/dss-extensions/dss_cap

## 0.15.x

### 0.15.4

Released on 2024-03-13.

- Upgrade the backend to [**AltDSS/DSS C-API 0.14.3**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.3). There are few fixes that affect DSS-Python.

### 0.15.3

Released on 2024-02-26.

- Upgrade the backend to [**DSS C-API 0.14.2**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.2). There are a couple of minor fixes, including for `Lines.Parent`.
- Upgrade the backend to [**AltDSS/DSS C-API 0.14.2**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.2). There are a couple of minor fixes, including for `Lines.Parent`.
- `patch_dss_com`: Allow the DSS instance to be callable for better compatibility with our DSS engine. Note that this won't have performance benefits nor handles complex scripts.
- Fix Bus callback integration with AltDSS-Python. The relevant code should be moved there later.

### 0.15.2

Released on 2024-02-16.

- Upgrade the backend to [**DSS C-API 0.14.1**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.1). Mostly for AltDSS-Python as it shouldn't affect the DSS-Python or OpenDSSDirect.py's classic API.
- Upgrade the backend to [**AltDSS/DSS C-API 0.14.1**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.1). Mostly for AltDSS-Python as it shouldn't affect the DSS-Python or OpenDSSDirect.py's classic API.

### 0.15.1

Expand All @@ -29,7 +35,7 @@ Released on 2024-02-12.

Released on 2024-02-09.

- Upgrade the backend to [**DSS C-API 0.14.0**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.0). **A lot** of changes there, please check the changelog. Includes many small bugfixes, improvements, and ports of a few changes from the official OpenDSS codebase, matching OpenDSS v9.8.0.1.
- Upgrade the backend to [**AltDSS/DSS C-API 0.14.0**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.0). **A lot** of changes there, please check the changelog. Includes many small bugfixes, improvements, and ports of a few changes from the official OpenDSS codebase, matching OpenDSS v9.8.0.1.

- Enums:
- Move to DSS-Python-Backend to allow easier sharing among all Python packages from DSS-Extensions.
Expand Down Expand Up @@ -57,7 +63,7 @@ Released on 2024-02-09.

Released on 2023-06-27.

- Upgrade the backend to [**DSS C-API 0.13.4**](https://github.com/dss-extensions/dss_capi/releases/tag/0.13.4). Includes a bugfix to CapControl, some more error handling, DSSEvents backend functions. This matches the changes in OpenDSS v9.6.1.3, plus our custom changes as usual.
- Upgrade the backend to [**AltDSS/DSS C-API 0.13.4**](https://github.com/dss-extensions/dss_capi/releases/tag/0.13.4). Includes a bugfix to CapControl, some more error handling, DSSEvents backend functions. This matches the changes in OpenDSS v9.6.1.3, plus our custom changes as usual.
- Use better DSSContext pointer to IDSS mapping.
- Plotting: handle empty monitors better, ignore invalid channels.
- Documentation updated.
Expand All @@ -67,7 +73,7 @@ Released on 2023-06-27.

Released on 2023-06-12.

- Upgrade the backend to [**DSS C-API 0.13.3**](https://github.com/dss-extensions/dss_capi/releases/tag/0.13.3). Includes important fixes to some OpenDSS components affected by bugs for several years. This matches the changes in OpenDSS v9.6.1.2, plus our custom changes as usual.
- Upgrade the backend to [**AltDSS/DSS C-API 0.13.3**](https://github.com/dss-extensions/dss_capi/releases/tag/0.13.3). Includes important fixes to some OpenDSS components affected by bugs for several years. This matches the changes in OpenDSS v9.6.1.2, plus our custom changes as usual.
- Add `DSS.Error.UseExceptions` to allow disabling the automatic mapping of error numbers to Python exceptions. When disabling, users take full responsibility to actually check for errors through the `DSS.Error` interface.
- Add `DSSCompatFlags.SaveCalcVoltageBases`.
- Transformers: add a warning in the docstrings of `WdgCurrents`, `WdgVoltages` (these don't work well when the transformer has open terminals).
Expand Down Expand Up @@ -106,7 +112,7 @@ We introduced the new package `dss_python_backend` that will contain all native

Released on 2023-04-02.

- Engine updated to [**DSS C-API 0.13.1**](https://github.com/dss-extensions/dss_capi/releases/tag/0.13.1). Contains tiny changes to address potential issues with a few PVSystem properties (which passed undetected by our tests).
- Engine updated to [**AltDSS/DSS C-API 0.13.1**](https://github.com/dss-extensions/dss_capi/releases/tag/0.13.1). Contains tiny changes to address potential issues with a few PVSystem properties (which passed undetected by our tests).
- `DSS.AdvancedTypes`: fix `Lines.Yprim` and `PDElements.AllCurrentsMagAng` when `AdvancedTypes` is enabled.

### 0.13.0
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DSS-Python

[![PyPI](https://img.shields.io/pypi/v/dss_python)](https://pypi.org/project/dss-python/) [![PyPI Download stats](https://img.shields.io/pypi/dw/dss-python)](https://pypi.org/project/dss-python/) <img alt="Supports Linux" src="https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black"> <img alt="Supports macOS" src="https://img.shields.io/badge/macOS-000000?logo=apple&logoColor=white"> <img alt="Supports Microsoft Windows" src="https://img.shields.io/badge/Windows-0078D6?logo=windows&logoColor=white">
[![PyPI](https://img.shields.io/pypi/v/dss_python)](https://pypi.org/project/dss-python/) [![PyPI Download stats](https://static.pepy.tech/badge/dss-python/month)](https://pepy.tech/project/dss-python) <img alt="Supports Linux" src="https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black"> <img alt="Supports macOS" src="https://img.shields.io/badge/macOS-000000?logo=apple&logoColor=white"> <img alt="Supports Microsoft Windows" src="https://img.shields.io/badge/Windows-0078D6?logo=windows&logoColor=white">

DSS-Python uses CFFI and NumPy to expose the OpenDSS engine, as implemented in our alternative engine (AltDSS) through the [AltDSS/DSS C-API](https://github.com/dss-extensions/dss_capi) library. OpenDSS is an open-source electric power distribution system simulator [distributed by EPRI](https://sourceforge.net/p/electricdss/).

Expand Down
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ packages = ["dss"]
name = "dss-python"
dynamic = ["version"]
dependencies = [
"dss_python_backend==0.14.2",
"dss_python_backend==0.14.3",
"numpy>=1.21.0",
"typing_extensions>=4.5,<5",
]
Expand All @@ -36,7 +36,7 @@ authors = [
maintainers = [
{name = "Paulo Meira", email = "pmeira@ieee.org"},
]
description = "Python bindings and tools based on the DSS C-API project, the alternative OpenDSS implementation from DSS-Extensions.org. API-compatible with the COM version of OpenDSS."
description = "Python interface (bindings and tools) for OpenDSS. Based on the AltDSS/DSS C-API project, the alternative OpenDSS implementation from DSS-Extensions.org. Multiplatform, API-compatible/drop-in replacement for the COM version of OpenDSS."
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["opendss", "altdss", "electric power systems", "opendssdirect", "powerflow", "short-circuit", ]
Expand All @@ -57,11 +57,11 @@ classifiers = [
]

[project.urls]
Homepage = "https://github.com/dss-extensions/dss_python"
Documentation = "https://dss-extensions.org/dss_python"
Repository = "https://github.com/dss-extensions/dss_python.git"
"Bug Tracker" = "https://github.com/dss-extensions/dss_python/issues"
Changelog = "https://github.com/dss-extensions/dss_python/blob/main/docs/changelog.md"
Homepage = "https://github.com/dss-extensions/DSS-Python"
Documentation = "https://dss-extensions.org/DSS-Python"
Repository = "https://github.com/dss-extensions/DSS-Python.git"
"Bug Tracker" = "https://github.com/dss-extensions/DSS-Python/issues"
Changelog = "https://github.com/dss-extensions/DSS-Python/blob/main/docs/changelog.md"

[project.optional-dependencies]
test = [
Expand Down

0 comments on commit 323aa2e

Please sign in to comment.