Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion docs/demos/connecting_new_consumer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
" # Set the new feeder ids\n",
" grid.set_feeder_ids()\n",
"\n",
" # Update the loadflow\n",
" # Update the power flow\n",
" core_interface = PowerGridModelInterface(grid=grid)\n",
"\n",
" core_interface.create_input_from_grid()\n",
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/pgm/basic_pgm_examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"source": [
"# PGM Calculation Engine Examples\n",
"\n",
"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"
"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"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Single Load Flow example\n",
"## Single Power Flow example\n",
"\n",
"We will demonstrate how to use the PGMCoreInterface to perform Power Flow calculations on a `Grid` object.\n",
"In the examples the `RadialGridGenerator` is used to create randomised input networks.\n"
Expand Down
6 changes: 3 additions & 3 deletions docs/quick_start.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# Quick Start\n",
"\n",
"In this quick start we create an extension of the Grid object, generate a random instance of it and perform loadflow calculations and modifactions.\n"
"In this quick start we create an extension of the Grid object, generate a random instance of it and perform power flow calculations and modifactions.\n"
]
},
{
Expand All @@ -15,7 +15,7 @@
"source": [
"## Setting up a grid extension\n",
"\n",
"This shows how to add extra values to a `Grid` object. If these are present in the PGM output they will updated after a loadflow calculation.\n"
"This shows how to add extra values to a `Grid` object. If these are present in the PGM output they will updated after a power flow calculation.\n"
]
},
{
Expand Down Expand Up @@ -105,7 +105,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Performing Loadflow calculations\n",
"## Performing power flow calculations\n",
"\n",
"Using the `PowerGridModelInterface` the `Grid` data can be provided to the calculation engine. Using `update_grid` values can be transferred to the `Grid` object.\n"
]
Expand Down
2 changes: 1 addition & 1 deletion src/power_grid_model_ds/_core/load_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: MPL-2.0

"""Load flow functions and classes"""
"""Power flow functions and classes"""

from typing import Dict, Optional

Expand Down
12 changes: 6 additions & 6 deletions tests/integration/loadflow/test_power_grid_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ExtendedLineArray(LineArray):


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

Expand All @@ -61,7 +61,7 @@ def test_load_flow_on_random():


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


def test_load_flow_with_transformer(grid: Grid):
"""Tests the load flow on a test grid with 3 nodes and a trafo"""
"""Tests the power flow on a test grid with 3 nodes and a trafo"""
nodes = NodeArray.zeros(3)
nodes.id = [0, 1, 2]
nodes.u_rated = [10_500] * 2 + [3_000]
Expand Down Expand Up @@ -179,7 +179,7 @@ def test_load_flow_with_transformer(grid: Grid):
# pylint: disable=too-many-statements
# pylint: disable=duplicate-code
def test_load_flow_with_three_winding_transformer(grid: Grid):
"""Tests the load flow on a test grid with 3 nodes and a three winding trafo"""
"""Tests the power flow on a test grid with 3 nodes and a three winding trafo"""
nodes = NodeArray.zeros(3)
nodes.id = [0, 1, 2]
nodes.u_rated = [150_000, 20_000, 10_000]
Expand Down Expand Up @@ -250,7 +250,7 @@ def test_load_flow_with_three_winding_transformer(grid: Grid):


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


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

Expand Down