Skip to content

Commit b28e45b

Browse files
load flow -> power flow
Signed-off-by: petersalemink95 <[email protected]>
1 parent 5871eb9 commit b28e45b

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

docs/examples/pgm/basic_pgm_examples.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
"source": [
77
"# PGM Calculation Engine Examples\n",
88
"\n",
9-
"These examples show how to interact with the [power-grid-model](https://github.com/PowerGridModel/power-grid-model) calculation engine to perform load flow calculations. For a detailed documentation on the calculation engine please refer to [power-grid-model docs](https://power-grid-model.readthedocs.io/en/stable/).\n"
9+
"These examples show how to interact with the [power-grid-model](https://github.com/PowerGridModel/power-grid-model) calculation engine to perform power flow calculations. For a detailed documentation on the calculation engine please refer to [power-grid-model docs](https://power-grid-model.readthedocs.io/en/stable/).\n"
1010
]
1111
},
1212
{
1313
"cell_type": "markdown",
1414
"metadata": {},
1515
"source": [
16-
"## Single Load Flow example\n",
16+
"## Single Power Flow example\n",
1717
"\n",
1818
"We will demonstrate how to use the PGMCoreInterface to perform Power Flow calculations on a `Grid` object.\n",
1919
"In the examples the `RadialGridGenerator` is used to create randomised input networks.\n"

src/power_grid_model_ds/_core/load_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: MPL-2.0
44

5-
"""Load flow functions and classes"""
5+
"""Power flow functions and classes"""
66

77
from typing import Dict, Optional
88

tests/integration/loadflow/test_power_grid_model.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class ExtendedLineArray(LineArray):
4545

4646

4747
def test_load_flow_on_random():
48-
"""Tests the load flow on a randomly configured grid"""
48+
"""Tests the power flow on a randomly configured grid"""
4949
grid_generator = RadialGridGenerator(grid_class=Grid, nr_nodes=5, nr_sources=1, nr_nops=0)
5050
grid = grid_generator.run(seed=0)
5151

@@ -61,7 +61,7 @@ def test_load_flow_on_random():
6161

6262

6363
def test_load_flow(grid: Grid):
64-
"""Tests the load flow on a test grid with 2 nodes"""
64+
"""Tests the power flow on a test grid with 2 nodes"""
6565
nodes = NodeArray.zeros(2)
6666
nodes.id = [0, 1]
6767
nodes.u_rated = [10_500] * 2
@@ -106,7 +106,7 @@ def test_load_flow(grid: Grid):
106106

107107

108108
def test_load_flow_with_transformer(grid: Grid):
109-
"""Tests the load flow on a test grid with 3 nodes and a trafo"""
109+
"""Tests the power flow on a test grid with 3 nodes and a trafo"""
110110
nodes = NodeArray.zeros(3)
111111
nodes.id = [0, 1, 2]
112112
nodes.u_rated = [10_500] * 2 + [3_000]
@@ -179,7 +179,7 @@ def test_load_flow_with_transformer(grid: Grid):
179179
# pylint: disable=too-many-statements
180180
# pylint: disable=duplicate-code
181181
def test_load_flow_with_three_winding_transformer(grid: Grid):
182-
"""Tests the load flow on a test grid with 3 nodes and a three winding trafo"""
182+
"""Tests the power flow on a test grid with 3 nodes and a three winding trafo"""
183183
nodes = NodeArray.zeros(3)
184184
nodes.id = [0, 1, 2]
185185
nodes.u_rated = [150_000, 20_000, 10_000]
@@ -250,7 +250,7 @@ def test_load_flow_with_three_winding_transformer(grid: Grid):
250250

251251

252252
def test_load_flow_with_link(grid: Grid):
253-
"""Tests the load flow on a test grid with 2 nodes and a link"""
253+
"""Tests the power flow on a test grid with 2 nodes and a link"""
254254
nodes = NodeArray.zeros(2)
255255
nodes.id = [0, 1]
256256
nodes.u_rated = [10_500] * 2
@@ -393,7 +393,7 @@ def test_automatic_tap_regulator(grid: Grid):
393393

394394

395395
def test_update_grid():
396-
"""Tests the load flow on a randomly configured grid and update grid with results"""
396+
"""Tests the power flow on a randomly configured grid and update grid with results"""
397397
grid_generator = RadialGridGenerator(grid_class=Grid, nr_nodes=5, nr_sources=1, nr_nops=0)
398398
grid = grid_generator.run(seed=0)
399399

0 commit comments

Comments
 (0)