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/mapping.md
+44-32
Original file line number
Diff line number
Diff line change
@@ -31,16 +31,16 @@ parameters {
31
31
There is one mapping function for each type of network elements:
32
32
33
33
```groovy
34
-
mapToGenerators {...}
35
-
mapToLoads {...}
36
-
mapToHvdcLines {...}
37
-
mapToBoundaryLines {...}
38
-
mapToBreakers {...}
39
-
mapToTransformers {...}
40
-
mapToPhaseTapChangers {...}
41
-
mapToRatioTapChangers {...}
42
-
mapToLccConverterStations {...}
43
-
mapToVscConverterStations {...}
34
+
mapToGenerators { /* ... */ }
35
+
mapToLoads { /* ... */ }
36
+
mapToHvdcLines { /* ... */ }
37
+
mapToBoundaryLines { /* ... */ }
38
+
mapToBreakers { /* ... */ }
39
+
mapToTransformers { /* ... */ }
40
+
mapToPhaseTapChangers { /* ... */ }
41
+
mapToRatioTapChangers { /* ... */ }
42
+
mapToLccConverterStations { /* ... */ }
43
+
mapToVscConverterStations { /* ... */ }
44
44
```
45
45
46
46
the general syntax is:
@@ -49,8 +49,8 @@ the general syntax is:
49
49
mapToXXX {
50
50
variable variableName //optional, the name of the element variable to map the time series with. Each element have a default mapped variable (defined below)
51
51
timeSeriesName 'timeseriesName' // name of the time series to map
52
-
filter {...} // a filter predicate allowing to select which item of the element type we wish to map
53
-
distributionKey {...} // optional, a repartition key that will define how the time serie values will be distributed for each selected items (default is equipartition : val / N)
52
+
filter { /* ... */ } // a filter predicate allowing to select which item of the element type we wish to map
53
+
distributionKey { /* ... */ } // optional, a repartition key that will define how the time serie values will be distributed for each selected items (default is equipartition : val / N)
54
54
}
55
55
```
56
56
The element of the general syntax are described below.
@@ -110,26 +110,38 @@ Please learn more with the following examples:
110
110
111
111
To filter the generators of the country 'FR' of energy source type 'THERMAL', we can define the following filter:
@@ -297,4 +309,4 @@ The use of the option `--equipment-time-series-dir` (with required associated op
297
309
### Network variant generation
298
310
299
311
The use of the option `--network-output-dir` (with required associated options `--check-equipment-time-series` and `--check-versions`) produces as many IIDM network files as time steps we have in the input time series (with filtering by `--check-versions`, `--first-variant` and `--max-variant-count` options).
300
-
Each le m will have the template name `<network_id>_<version>_<YYYYMMDD>_<HHmm>.iidm` and is the network generated with values mapped at indicated time step.
312
+
Each produced file has the template name `<network_id>_<version>_<YYYYMMDD>_<HHmm>.xiidm` and is the network generated with values mapped at indicated time step.
0 commit comments