Skip to content

Commit 221105e

Browse files
authored
Merge pull request #180 from RoseauTechnologies/develop
Version 0.7.0
2 parents a407fda + 908826f commit 221105e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1811
-1505
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ on:
55
branches: [main, develop]
66
tags:
77
- "*"
8+
paths-ignore:
9+
- "doc/**"
10+
- ".vscode/**"
811
pull_request:
912
branches: [main, develop]
13+
paths-ignore:
14+
- "doc/**"
15+
- ".vscode/**"
1016

1117
env:
1218
CI: true
@@ -28,7 +34,7 @@ jobs:
2834
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
2935

3036
- name: Cache git LFS
31-
uses: actions/cache@v3
37+
uses: actions/cache@v4
3238
with:
3339
path: .git/lfs
3440
key: git-lfs-v1-${{ matrix.python-version }}-${{ hashFiles('.lfs-assets-id') }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,3 +249,4 @@ doc/images/*.pdf
249249

250250
roseau/*
251251
!roseau/load_flow
252+
node_modules/

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
hooks:
1616
- id: poetry-check
1717
- repo: https://github.com/astral-sh/ruff-pre-commit
18-
rev: v0.1.14 # keep in sync with pyproject.toml
18+
rev: v0.2.1
1919
hooks:
2020
- id: ruff
2121
types_or: [python, pyi, jupyter]
@@ -30,7 +30,8 @@ repos:
3030
args: [-l 90]
3131
additional_dependencies: [black==23.12.1]
3232
- repo: https://github.com/pre-commit/mirrors-prettier
33-
rev: v3.1.0
33+
rev: v4.0.0-alpha.8
3434
hooks:
3535
- id: prettier
3636
args: ["--print-width", "120"]
37+
require_serial: true

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Roseau Load Flow
22

33
![CI](https://github.com/RoseauTechnologies/Roseau_Load_Flow/workflows/CI/badge.svg)
4-
[![Documentation](https://github.com/RoseauTechnologies/Roseau_Load_Flow/actions/workflows/doc.yml/badge.svg)](https://github.com/RoseauTechnologies/Roseau_Load_Flow/actions/workflows/doc.yml)
54
[![pre-commit](https://github.com/RoseauTechnologies/Roseau_Load_Flow/actions/workflows/pre-commit.yml/badge.svg)](https://github.com/RoseauTechnologies/Roseau_Load_Flow/actions/workflows/pre-commit.yml)
65

76
_Roseau Load Flow_ is a highly capable three-phase load flow solver with an ergonomic Python API

conda/environment.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

conda/meta.yaml

Lines changed: 0 additions & 69 deletions
This file was deleted.

doc/Changelog.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
# Changelog
22

3-
## Version 0.7.0-alpha
3+
## Version 0.7.0
44

55
```{important}
66
Starting with version 0.7.0, Roseau Load Flow will no longer be supplied as a SaaS. The software will be available as
77
a standalone Python library.
88
```
99

10+
- The documentation is moved from GitHub Pages to https://www.roseau-load-flow.roseautechnologies.com/.
11+
- Fix a bug in the engine: it was impossible to change the parameters of center-tapped and single phase transformers.
12+
- {gh-pr}`179` Fix a bug in the propagation of potentials when a center-tapped transformer is used without neutral at
13+
the primary side.
14+
- {gh-pr}`178` {gh-issue}`176` Merge the `results_to_json`, `results_from_json`, `results_to_dict`
15+
and `results_from_dict` methods of the `ElectricalNetwork` and `Element`s classes into the methods
16+
`to_json`, `from_json`, `to_dict` and `from_dict` respectively. The old `results_` methods are
17+
**deprecated** and will be removed in a future release. The new methods will include the results by
18+
default, but you can pass `include_results=False` to exclude them.
19+
- {gh-pr}`175` {gh-issue}`174` Fix JSON serialization of network with line parameters created from the
20+
catalogue.
21+
- {gh-pr}`173` Remove the conda installation option.
1022
- {gh-pr}`168` {gh-issue}`166` Fix initial potentials' propagation.
1123
- {gh-pr}`167` {gh-issue}`161` Add a catalogue of lines using the IEC standards. You can use the method
1224
`LineParameters.get_catalogue()` to get a data frame of the available lines and the method

doc/Installation.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -104,38 +104,6 @@ In [1]: %pip install roseau-load-flow
104104

105105
This installs the package in the correct environment for the active notebook kernel.
106106

107-
## 3. Using `conda`
108-
109-
Installations using `conda` is temporarily unavailable. Please use `pip` instead.
110-
111-
<!--
112-
`roseau-load-flow` is also available on [conda-forge](https://anaconda.org/conda-forge/roseau-load-flow).
113-
It can be installed using conda with:
114-
115-
````{tab} Windows
116-
117-
```doscon
118-
C:> conda install -c conda-forge roseau-load-flow
119-
```
120-
121-
````
122-
123-
````{tab} Linux/MacOS
124-
125-
```console
126-
$ conda install -c conda-forge roseau-load-flow
127-
```
128-
129-
````
130-
131-
This installs the package and all its required and optional dependencies.
132-
133-
```{tip}
134-
If you use *conda* to manage your project, it is recommended to use the `conda` package manager
135-
instead of `pip`.
136-
```
137-
-->
138-
139107
<!-- Local Variables: -->
140108
<!-- mode: markdown -->
141109
<!-- coding: utf-8-unix -->

doc/License.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Licenses are given **free of charge** for _students and teachers_. Please contac
2323
There are two ways to activate the license in your project:
2424

2525
1. Set the environment variable `ROSEAU_LOAD_FLOW_LICENSE_KEY` to the license key. When this
26-
environment variable is defined, it will be automatically used by the solver to validate the
26+
environment variable is defined, it will automatically be used by the solver to validate the
2727
license, no further action is required.
2828
**This is the recommended approach.**
2929
```{note}

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
# The full version, including alpha/beta/rc tags
2525
version = "0.7"
26-
release = "0.7.0-alpha"
26+
release = "0.7.0"
2727

2828
# -- General configuration ---------------------------------------------------
2929

0 commit comments

Comments
 (0)