You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/examples/pgm/basic_pgm_examples.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,14 @@
6
6
"source": [
7
7
"# PGM Calculation Engine Examples\n",
8
8
"\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"
10
10
]
11
11
},
12
12
{
13
13
"cell_type": "markdown",
14
14
"metadata": {},
15
15
"source": [
16
-
"## Single Load Flow example\n",
16
+
"## Single Power Flow example\n",
17
17
"\n",
18
18
"We will demonstrate how to use the PGMCoreInterface to perform Power Flow calculations on a `Grid` object.\n",
19
19
"In the examples the `RadialGridGenerator` is used to create randomised input networks.\n"
"As seen above you can also make batch modification using the `grid.append` method.\n",
100
+
"As seen above, you can also apply multiple modifications in one go using the `grid.append` method.\n",
99
101
"\n",
100
102
"## Array interface\n",
101
103
"\n",
102
-
"The array container is build around a extension of numpy arrays with the `FancyArray` class. This allows for easy and consistent definition of array types, recognition of array-type from it's class and features which improve readability such as dot-notation and autocompletion. It contains a `._data` attribute with the base numpy array and extra settings can be provided using `._defaults` and `._str_lengths`. Note these values should only be used in defining the array classes and remain private when using the arrays.\n",
104
+
"The array container is build around an extension of numpy arrays with the `FancyArray` class. This allows for easy and consistent definition of array types, recognition of array-type from its class and features which improve readability such as dot-notation and autocompletion. It contains a `._data` attribute with the base numpy array and extra settings can be provided using `._defaults` and `._str_lengths`. Note these values should only be used in defining the array classes and remain private when using the arrays.\n",
103
105
"\n",
104
106
"### Array definition\n",
105
107
"\n",
106
-
"You can create your own array by subclassing FancyArray.\n",
108
+
"You can create your own array by subclassing `FancyArray`.\n",
107
109
"Array-columns can be defined by adding class attributes with the column name and the numpy dtype.\n",
108
110
"\n",
109
111
"Example:\n"
@@ -148,7 +150,7 @@
148
150
"cell_type": "markdown",
149
151
"metadata": {},
150
152
"source": [
151
-
"These are used when initializing an array with the .empty method\n"
153
+
"These are used when initializing an array with the `.empty` method\n"
152
154
]
153
155
},
154
156
{
@@ -190,7 +192,7 @@
190
192
"\n",
191
193
"### Array loops\n",
192
194
"\n",
193
-
"Looping over large arrays can be a performance hit, this is caused by casting each row to the original `FancyArray` subclass. When you want to implement a faster loop over the array you can choose to access the `array.data` directly and create the loop using\n"
195
+
"Looping over large arrays can incur a performance hitcaused by conversion of each element to the original `FancyArray` subclass. When you want to implement a faster loop over the array you can choose to access the `array.data` directly and create the loop using\n"
Copy file name to clipboardExpand all lines: docs/quick_start.ipynb
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
"source": [
7
7
"# Quick Start\n",
8
8
"\n",
9
-
"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"
9
+
"In this quick start we create an extension of the Grid object, generate a random instance of it and perform power flow calculations and modifications.\n"
10
10
]
11
11
},
12
12
{
@@ -15,7 +15,7 @@
15
15
"source": [
16
16
"## Setting up a grid extension\n",
17
17
"\n",
18
-
"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"
18
+
"This shows how to add extra values to a `Grid` object. If these are present in the PGM output they will be updated after a power flow calculation.\n"
19
19
]
20
20
},
21
21
{
@@ -105,7 +105,7 @@
105
105
"cell_type": "markdown",
106
106
"metadata": {},
107
107
"source": [
108
-
"## Performing Loadflow calculations\n",
108
+
"## Performing power flow calculations\n",
109
109
"\n",
110
110
"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"
111
111
]
@@ -198,7 +198,7 @@
198
198
"source": [
199
199
"## Analyzing Grid structure\n",
200
200
"\n",
201
-
"The `Grid` also contains a graph representation which can be used for anayling structure. Such as finding the shortest path between two nodes.\n"
201
+
"The `Grid` also contains a graph representation which can be used for analyzing structure. Such as finding the shortest path between two nodes.\n"
0 commit comments