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
Clean documentation (powsybl#3731)
* Rearrange itools documentation pages (fix links, create itools 'commands' section)
* Clean excluded page from the generation + configure link to pypowsybl documentation
* Clean itools modules pages, complete the configuraion part of the loadflow and security analysis regarding the module configuration
* Some fixes among links to guide the user
* Add itools-packager and itools plugins-info command documentation
* Add link to powsybl-tutorial to create IIDM Importer/Exporter
* Add network module
* Add table-formatter module
* Add itools usages examples in the documentation
* Fix some documentation compilation errors
* Handle feedbacks
---------
Signed-off-by: CARON Alice <alice.caron@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Copy file name to clipboardExpand all lines: docs/grid_exchange_formats/cgmes/import.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ The mapping of an `EquivalentInjection` depends on its location relative to the
136
136
137
137
If the `EquivalentInjection` is outside the boundary area, it will be mapped to a PowSyBl `Generator`.
138
138
139
-
If the `EquivalentInjection` is at the boundary area, its regulating voltage data will be mapped to the generation data inside the PowSyBl `DanglingLine` created at the boundary point and its values for `P`, `Q` will be used to define the DanglingLine `P0`, `Q0`. Please note that the said `DanglingLine` can be created from an [`ACLineSegment`](#aclinesegment), a [`Switch`](#switch-switch-breaker-disconnector-loadbreakswitch-protectedswitch-grounddisconnector),
139
+
If the `EquivalentInjection` is at the boundary area, its regulating voltage data will be mapped to the generation data inside the PowSyBl `DanglingLine` created at the boundary point and its values for `P`, `Q` will be used to define the DanglingLine `P0`, `Q0`. Please note that the said `DanglingLine` can be created from an [`ACLineSegment`](#aclinesegment), a [`Switch`](#switch-switch-breaker-disconnector-loadbreakswitch-protectedswitch-grounddisconnector-jumper),
140
140
an [`EquivalentBranch`](#equivalentbranch) or a [`PowerTransformer`](#powertransformer).
141
141
142
142
Attributes of the PowSyBl generator or of the PowSyBl dangling line generation are created as such:
Copy file name to clipboardExpand all lines: docs/grid_exchange_formats/iidm/export.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,20 +20,20 @@ The `iidm.export.xml.anonymised` property is an optional property that defines w
20
20
21
21
**iidm.export.xml.topology-level**<br>
22
22
The `iidm.export.xml.topology-level` property is an optional property that defines the most detailed topology in which the XIIDM exporter can export the network. The topology level can be:
23
-
-`NODE_BREAKER`: the voltage levels are exported using the [Node/Breaker view](). Voltage levels described in Bus/Breaker topology are exported using the [Bus/Breaker view]().
24
-
-`BUS_BREAKER`: all voltage levels are all exported using the [Bus/Breaker view]()
25
-
-`BUS_BRANCH`: all voltage levels are exported using the [Bus view]()
23
+
-`NODE_BREAKER`: the voltage levels are exported using the Node/Breaker view. Voltage levels described in Bus/Breaker topology are exported using the Bus/Breaker view.
24
+
-`BUS_BREAKER`: all voltage levels are all exported using the Bus/Breaker view
25
+
-`BUS_BRANCH`: all voltage levels are exported using the Bus view
26
26
27
27
The default value is `NODE_BREAKER` to export all voltage levels in the same level of details than the one they are described.
The `iidm.export.xml.topology-level.voltage-levels.node-breaker` property is an optional property that defines a list of voltage level IDs to be exported using the [Node/Breaker view]() by the IIDM exporter. Note: if the voltage level is described using a lower detailed topology (Bus/Breaker or Bus/Branch), it will be exported using the Bus/Breaker (or Bus/Branch) view (Node/Breaker is not possible since the voltage level has not enough details).
30
+
The `iidm.export.xml.topology-level.voltage-levels.node-breaker` property is an optional property that defines a list of voltage level IDs to be exported using the Node/Breaker view by the IIDM exporter. Note: if the voltage level is described using a lower detailed topology (Bus/Breaker or Bus/Branch), it will be exported using the Bus/Breaker (or Bus/Branch) view (Node/Breaker is not possible since the voltage level has not enough details).
The `iidm.export.xml.topology-level.voltage-levels.bus-breaker` property is an optional property that defines a list of voltage level IDs to be exported using the [Bus/Breaker view]() by the IIDM exporter.
33
+
The `iidm.export.xml.topology-level.voltage-levels.bus-breaker` property is an optional property that defines a list of voltage level IDs to be exported using the Bus/Breaker view by the IIDM exporter.
The `iidm.export.xml.topology-level.voltage-levels.bus-branch` property is an optional property that defines a list of voltage level IDs to be exported using the [Bus/Branch view]() by the IIDM exporter.
36
+
The `iidm.export.xml.topology-level.voltage-levels.bus-branch` property is an optional property that defines a list of voltage level IDs to be exported using the Bus/Branch view by the IIDM exporter.
The `iidm.export.xml.throw-exception-if-extension-not-found` property is an optional property that defines whether the XIIDM exporter throws an exception if the network contains an unknown or unserializable extension or if it just ignores it. Its default value is `false`.
Copy file name to clipboardExpand all lines: docs/grid_features/extraction.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -205,9 +205,7 @@ reducer.reduce(network)
205
205
saveNetwork("XIIDM", network, null, args[1])
206
206
```
207
207
208
-
See the [groovy scripts]() documentation page for more information about this topic.
209
-
210
-
Then, we run the [groovy-script]() command to apply the previous script to the `network.xiidm` file, and then export the modified network to the `network2.xiidm` file.
208
+
Then, we run the [groovy-script](../user/itools/run-script.md) command to apply the previous script to the `network.xiidm` file, and then export the modified network to the `network2.xiidm` file.
Copy file name to clipboardExpand all lines: docs/grid_features/network_modifications.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,11 +46,11 @@ It takes as input:
46
46
- The ID of the bus or busbar section (in `BUS_BREAKER` or `NODE_BREAKER` voltage levels respectively) to which the
47
47
injection should be connected.
48
48
- The position order of the injection: when adding an injection to a `NODE_BREAKER` voltage level, this integer will be
49
-
used to create the [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position-extension) that is
49
+
used to create the [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position) that is
50
50
used for visualization. It is optional for `BUS_BREAKER` voltage levels and will be ignored if specified.
51
-
- Optionally, a name for the [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position-extension).
51
+
- Optionally, a name for the [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position).
52
52
By default, the ID of the injection will be used.
53
-
- Optionally, the direction of the injection. It is also used to fill the [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position-extension).
53
+
- Optionally, the direction of the injection. It is also used to fill the [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position).
54
54
It indicates if the injection should be displayed at the top or at the bottom of the busbar section. By default, it is
55
55
`BOTTOM`.
56
56
- Optionally, a boolean `logOrThrowIfIncorrectPositionOrder`, that indicates what should happen if the position order is
@@ -71,8 +71,8 @@ If the voltage level topology kind is `BUS_BREAKER`, then the injection is added
71
71
bus without any extension or switches.
72
72
If the voltage level topology kind is `NODE_BREAKER`, then the injection is added to the voltage level and connected to
73
73
the busbar section with a closed disconnector and a breaker. Additionally, open disconnectors will be created on every
74
-
parallel busbar section. To know which busbar sections are parallel, the [`BusbarSectionPosition` extension](../grid_model/extensions.md#busbar-section-position-extension)
75
-
is used. The [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position-extension) will also be
74
+
parallel busbar section. To know which busbar sections are parallel, the [`BusbarSectionPosition` extension](../grid_model/extensions.md#busbar-section-position)
75
+
is used. The [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position) will also be
76
76
created for the injection with the given data, unless there are no extensions yet in the voltage level.
77
77
78
78
#### Create Branch Feeder bays
@@ -84,15 +84,15 @@ It takes as input:
84
84
- The ID of the bus or busbar section (in `BUS_BREAKER` or `NODE_BREAKER` voltage levels respectively) to which the side
85
85
2 of the branch should be connected.
86
86
- The position order of the branch on side 1. If the voltage level on side 1 of the branch is `NODE_BREAKER`, then
87
-
this integer is used to create the [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position-extension)
87
+
this integer is used to create the [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position)
88
88
for the branch that is used for visualization and for positioning connectables relative to each other.
89
89
It is optional for `BUS_BREAKER` voltage levels and will be ignored if specified.
90
90
- The position order of the branch on side 2. It is the same but on the other side.
91
-
- Optionally, a name for the feeder that will be added in the [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position-extension)
91
+
- Optionally, a name for the feeder that will be added in the [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position)
92
92
for side 1. This name is used for visualization. By default, it is the ID of the connectable.
93
93
- Optionally, a name for the feeder for side 2.
94
94
- Optionally, the direction of the feeder on side 1. This information will be used to fill the field in the
95
-
[`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position-extension) and indicates the relative
95
+
[`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position) and indicates the relative
96
96
position of the branch with its busbar section on side 1. The default value is `TOP`.
97
97
- Optionally, the direction on side 2.
98
98
- Optionally, a boolean `logOrThrowIfIncorrectPositionOrder1`, that indicates what should happen if the position order is
@@ -114,8 +114,8 @@ For each side, if the voltage level topology kind is `BUS_BREAKER`, then the bra
114
114
connected to the bus without any extension or switches. If the voltage level topology kind is `NODE_BREAKER`, then the
115
115
branch is added to the voltage level and connected to the busbar section with a closed disconnector and a breaker.
116
116
Additionally, open disconnectors will be created on every parallel busbar section. To know which busbar sections are
117
-
parallel, the [`BusbarSectionPosition` extension](../grid_model/extensions.md#busbar-section-position-extension)
118
-
is used. The [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position-extension) will also be
117
+
parallel, the [`BusbarSectionPosition` extension](../grid_model/extensions.md#busbar-section-position)
118
+
is used. The [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position) will also be
119
119
created for the branch with the given data, unless no extensions are already available in the voltage level.
120
120
121
121
#### Create Coupling Device
@@ -133,7 +133,7 @@ busbar sections as such:
133
133
A closed disconnector will be created on both busbar sections.
134
134
A closed breaker will be created between the two closed disconnectors.
135
135
An open disconnector will be created on every parallel busbar section. To find the parallel busbar sections, the
136
-
[`BusbarSectionPosition` extension](../grid_model/extensions.md#busbar-section-position-extension) is used.
136
+
[`BusbarSectionPosition` extension](../grid_model/extensions.md#busbar-section-position) is used.
137
137
The coupling device can be created between busbar sections that are parallel or not. If the two busbar sections are
138
138
parallel and there are exactly two parallel busbar sections, then no open disconnectors are created.
139
139
@@ -199,7 +199,7 @@ It takes as input:
199
199
200
200
### Connect feeders to busbar sections
201
201
This class allows the connection of feeders to busbar sections in `NODE_BREAKER` topology.
202
-
The [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position-extension) must be available for each busbar section in the voltage level.
202
+
The [`ConnectablePosition` extension](../grid_model/extensions.md#connectable-position) must be available for each busbar section in the voltage level.
203
203
204
204
It takes as input:
205
205
- A list of connectables that should be connected. None of them should be a `BusbarSection`.
Copy file name to clipboardExpand all lines: docs/grid_model/extensions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Every extension is considered as serializable unless explicitly specified as non
13
13
14
14
(active-power-control-extension)=
15
15
## Active power control
16
-
This extension is used to configure the participation factor of the generator, typically in the case of a load flow computation with distributed slack enabled (with [balance type](../simulation/loadflow/configuration.md#generic-parameters) on generator). This extension is attached to a [generator](network_subnetwork.md#generator) or a [battery](network_subnetwork.md#battery).
16
+
This extension is used to configure the participation factor of the generator, typically in the case of a load flow computation with distributed slack enabled (with [balance type](../simulation/loadflow/configuration.md#optional-properties) on generator). This extension is attached to a [generator](network_subnetwork.md#generator) or a [battery](network_subnetwork.md#battery).
17
17
18
18
| Attribute | Type | Unit | Required | Default value | Description |
The slack bus is defined through the terminal of a connectable that belongs to the bus. It is totally allowed to define a disconnected terminal as slack as the connectable could be reconnected during a grid study.
Copy file name to clipboardExpand all lines: docs/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ PowSyBl (<b>Pow</b>er <b>Sy</b>stem <b>Bl</b>ocks) is an open source library wri
5
5
dedicated to electrical grid modeling, simulation and visualization, licensed under the [Mozilla Public License version 2.0](https://www.mozilla.org/en-US/MPL/2.0/).
6
6
It is part of [LF Energy](https://www.lfenergy.org/), an open source foundation focused on the energy sector, hosted within The Linux Foundation.
7
7
8
-
PowSyBl is used through Python scripts using the library [Pypowsybl](https://powsybl.readthedocs.io/projects/pypowsybl/en/stable/), but also
8
+
PowSyBl is used through Python scripts using the library [Pypowsybl](inv:pypowsybl:*:*#index), but also
9
9
to build state-of-the-art applications.
10
10
11
11
Check the [Getting started](./user/index.md) and [Configuration](./user/configuration/index.md) pages to learn how to install and configure PowSyBl.
Copy file name to clipboardExpand all lines: docs/simulation/dynamic/configuration.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,15 @@
1
1
# Configuration
2
2
3
+
The `dynamic-simulation` module is used to configure the execution of the [dynamic-simulation](../../user/itools/dynamic-simulation.md) command and simulation.
4
+
3
5
## Implementation
4
6
If you have several implementations in your classpath, you need to choose which implementation to use in your configuration file with the `default-impl-name` property.
5
7
Each implementation is identified by its name, that may be unique in the classpath:
6
8
- Use "Dynawo" to use powsybl-dynawo implementation
7
9
10
+
The `com.powsybl.dynamicsimulation.DynamicSimulationParameters` class provides the generic parameters for all `com.powsybl.dynamicsimulation.DynamicSimulation`
11
+
implementations. Specific parameters should be provided as an extension of the `DynamicSimulationParameters` class.
12
+
8
13
**YAML configuration:**
9
14
```yaml
10
15
dynamic-simulation:
@@ -55,7 +60,7 @@ This property specifies the directory path where debug files will be dumped. If
55
60
56
61
### Specific parameters
57
62
Some implementations use specific parameters that can be defined in the configuration file or in the JSON parameters file:
0 commit comments