Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
76d88a3
Change delta loads orientation
Saelyos Jun 16, 2023
fb80e6a
Add models to documentation
Saelyos Jul 6, 2023
51c453b
Avancement de la documentation
benoit9126 Jul 12, 2023
1b8703e
Mise à jour des dépendances
benoit9126 Jul 12, 2023
faef060
Line documentation split
benoit9126 Jul 13, 2023
9ef27a7
Add note about getpass and Pycharm terminal emulation
alihamdan Jul 13, 2023
0d4abd8
Update models section in documentation
benoit9126 Jul 18, 2023
8ac82e8
Update changelog
benoit9126 Jul 18, 2023
a837a76
Add links to the documentation in docstring
benoit9126 Jul 18, 2023
91863f6
Merge branch 'develop' into documentation
benoit9126 Jul 18, 2023
d4ef177
American voltage error
benoit9126 Jul 20, 2023
c29f5d4
Update three-phase transformers doc
Saelyos Jul 24, 2023
a06fa0a
Add transformer models
Saelyos Jul 24, 2023
4d71924
Add notes
benoit9126 Jul 25, 2023
dc805e6
Rename center-tapped transformers
Saelyos Jul 25, 2023
68cd9f3
Use transformation ratio
Saelyos Jul 25, 2023
eceda73
Use the canonical name `roseau-load-flow` consistently
alihamdan Jul 19, 2023
ebbaae5
Use relative links to internal pages in the notebooks
alihamdan Jul 19, 2023
b93ffad
Improve the short circuit tutorial
alihamdan Jul 19, 2023
b11532a
Fix sphinx warnings
alihamdan Jul 25, 2023
54ae5a3
Improve the models documentation
alihamdan Jul 20, 2023
f93fdaf
Fix sign of american satndard center-tapped transformer
alihamdan Jul 25, 2023
3f49430
Fix dead links when cross referncing
alihamdan Jul 26, 2023
c3d1315
Add google analytics
benoit9126 Jul 26, 2023
3f50d23
Small doc corrections
benoit9126 Jul 26, 2023
e522cbd
Add the reference for the activation functions
benoit9126 Jul 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,18 @@ repos:
hooks:
- id: poetry-check
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black-jupyter
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.275
rev: v0.0.280
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
args: [ --fix, --exit-non-zero-on-fix ]
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.15.0
hooks:
- id: blacken-docs
entry: bash -c "blacken-docs -l 90 $(find doc/ -name '*.md')"
args: [ -l 90 ]
additional_dependencies: [ black==23.7.0 ]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*Roseau Load Flow* is a highly capable three-phase load flow solver. This project is compatible with Python 3.9 and
above.

Please take a look at our documentation to see how to install and use `roseau_load_flow`.
Please take a look at our documentation to see how to install and use `roseau-load-flow`.

* [Installation](https://roseautechnologies.github.io/Roseau_Load_Flow/Installation.html)
* [Usage](https://roseautechnologies.github.io/Roseau_Load_Flow/notebooks/Getting_Started.html)
Expand Down
12 changes: 12 additions & 0 deletions doc/Bibliography.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@article{Klimek_2020,
doi = {10.21468/scipostphys.9.4.053},
url = {https://doi.org/10.21468%2Fscipostphys.9.4.053},
year = 2020,
month = {oct},
publisher = {Stichting {SciPost}},
volume = {9},
number = {4},
author = {Matthew Klimek and Maxim Perelstein},
title = {Neural network-based approach to phase space integration},
journal = {{SciPost} Physics}
}
16 changes: 12 additions & 4 deletions doc/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
# Changelog

## Version 0.4.1
## Version 0.5.0

**In development**

* [PR92](https://github.com/RoseauTechnologies/Roseau_Load_Flow/pull/92) Add the changelog in the documentation
* [PR92](https://github.com/RoseauTechnologies/Roseau_Load_Flow/pull/92) Use NodeJs 20 in the Dockerfile
* [PR92](https://github.com/RoseauTechnologies/Roseau_Load_Flow/pull/92) Correction of a dead link in the README
* [GH100](https://github.com/RoseauTechnologies/Roseau_Load_Flow/issues/100) Fix the `Yz` transformers
* [PR97](https://github.com/RoseauTechnologies/Roseau_Load_Flow/pull/97) Add the model section to the documentation
* [PR96](https://github.com/RoseauTechnologies/Roseau_Load_Flow/pull/96)
* Add single-phase transformer
* Add center-tapped transformer
* Remove the `TransformerType` enumeration
* [PR93](https://github.com/RoseauTechnologies/Roseau_Load_Flow/pull/93) Add short circuit computation
* [PR92](https://github.com/RoseauTechnologies/Roseau_Load_Flow/pull/92)
* Add the changelog in the documentation
* Use NodeJs 20 in the Dockerfile
* Correction of a dead link in the README

## Version 0.4.0

Expand Down
18 changes: 10 additions & 8 deletions doc/Installation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Using `pip` #
# Installation

`roseau_load_flow` is available on [PyPI](https://pypi.org/project/roseau-load-flow/). It can be
## Using `pip`

`roseau-load-flow` is available on [PyPI](https://pypi.org/project/roseau-load-flow/). It can be
installed using pip with:
```console
$ python -m pip install roseau-load-flow
Expand Down Expand Up @@ -46,9 +48,9 @@ To upgrade to the latest version (recommended), use:
$ python -m pip install --upgrade roseau-load-flow
```

# Using `conda` #
## Using `conda`

`roseau_load_flow` is also available on [conda-forge](https://anaconda.org/conda-forge/roseau-load-flow).
`roseau-load-flow` is also available on [conda-forge](https://anaconda.org/conda-forge/roseau-load-flow).
It can be installed using conda with:
```console
$ conda install -c conda-forge roseau-load-flow
Expand All @@ -59,9 +61,9 @@ If you use *conda* to manage your project, it is recommended to use the `conda`
instead of `pip`.
```

# Using `docker` #
## Using `docker`

`roseau_load_flow` provides a *docker image* with all required dependencies pre-installed,
`roseau-load-flow` provides a *docker image* with all required dependencies pre-installed,
including *Python*. The image runs a *Jupyter* session that you can access in your browser. To
install and run your docker environment, follow the steps corresponding to your operating system
below.
Expand Down Expand Up @@ -113,7 +115,7 @@ below.

8. The container should start in a few seconds. Open a web browser and navigate to
[http://localhost:8080](http://localhost:8080) to find the JupyterLab page of the container. A
basic python environment is set up with the `roseau_load_flow` package already installed.
basic python environment is set up with the `roseau-load-flow` package already installed.

````

Expand All @@ -139,7 +141,7 @@ below.

5. Open a web browser and navigate to [http://localhost:8080](http://localhost:8080) to find the
JupyterLab page of the container. A basic python environment is set up with the
`roseau_load_flow` package already installed.
`roseau-load-flow` package already installed.

````

Expand Down
3 changes: 3 additions & 0 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ help:
images:
@cd images && $(MAKE)

images-%:
@cd images && $(MAKE) $*

.PHONY: help Makefile images

# Catch-all target: route all unknown targets to Sphinx using the new
Expand Down
4 changes: 2 additions & 2 deletions doc/Solvers.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Computationally, this translates to finding a solution $x$ such that:
With $\varepsilon$ being a small *tolerance*.
In code, $\varepsilon$ can be set with `en.solve_load_flow(tolerance=...)` (by default `1e-6`).

There are several solvers to solve this kind of problems. In Roseau Load Flow, the following
There are several solvers to solve this kind of problems. In *Roseau Load Flow*, the following
solvers are available:


Expand Down Expand Up @@ -84,7 +84,7 @@ q(t) &:= g(x_k + t d(x_k))
A search is made to find $t$ such that:
```{math}
:label: goldstein_and_price
m_2q'(0) \leq \frac{q(t) - q(0)}{t} \leq m_1q'(0)
m_2q'(0) \leqslant \frac{q(t) - q(0)}{t} \leqslant m_1q'(0)
```

```{image} /_static/Goldstein_And_Price.svg
Expand Down
Loading