Skip to content

Commit 9cbe5c7

Browse files
Merge branch 'dev' into df/#1352-air-condition-input
# Conflicts: # CHANGELOG.md
2 parents 779ecf2 + b4b11ad commit 9cbe5c7

File tree

10 files changed

+109
-38
lines changed

10 files changed

+109
-38
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
8585
#Deployment
8686
- name: Deploy
87-
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
87+
if: github.ref == 'refs/heads/main'
8888
env:
8989
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.MAVENCENTRAL_SIGNINGKEY }}
9090
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.MAVENCENTRAL_SIGNINGPASS }}
@@ -108,7 +108,7 @@ jobs:
108108
109109
#MavenCentral Staging
110110
- name: MavenCentral Staging
111-
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
111+
if: github.ref == 'refs/heads/main'
112112
env:
113113
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.MAVENCENTRAL_SIGNINGKEY }}
114114
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.MAVENCENTRAL_SIGNINGPASS }}

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased/Snapshot]
88

99
### Added
10-
-Added weathersource documentation [#1390](https://github.com/ie3-institute/PowerSystemDataModel/issues/1390)
10+
- Added weathersource documentation [#1390](https://github.com/ie3-institute/PowerSystemDataModel/issues/1390)
11+
- Added standard asset parameter for `3wTransformer` in `ReadTheDocs` [#1417](https://github.com/ie3-institute/PowerSystemDataModel/issues/1417)
1112
- Create data model for air condition [#1396](https://github.com/ie3-institute/PowerSystemDataModel/issues/1396)
1213

1314
### Fixed
1415
- Fixed small issues in tests [#1400](https://github.com/ie3-institute/PowerSystemDataModel/issues/1400)
16+
- Fix transformer susceptance in readTheDocs to negative values [#1078](https://github.com/ie3-institute/PowerSystemDataModel/issues/1078)
17+
1518

1619
### Changed
20+
- Updated CI-Pipeline to run task `Deploy` and `Staging` only for `Main` [#1403](https://github.com/ie3-institute/PowerSystemDataModel/issues/1403)
21+
- Extend `GermanVoltageLevelUtils` with more synonymousIds [#143](https://github.com/ie3-institute/PowerSystemDataModel/issues/143)
1722

1823
## [8.1.0] - 2025-07-25
1924

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
id 'signing'
66
id 'pmd' // code check, working on source code
77
id 'com.diffplug.spotless' version '7.2.1' //code format
8-
id 'com.github.spotbugs' version '6.2.2' // code check, working on byte code
8+
id 'com.github.spotbugs' version '6.2.3' // code check, working on byte code
99
id 'de.undercouch.download' version '5.6.0'
1010
id 'kr.motd.sphinx' version '2.10.1' // documentation generation
1111
id 'jacoco' // java code coverage plugin
@@ -99,12 +99,12 @@ dependencies {
9999

100100
// Databases
101101
implementation 'org.influxdb:influxdb-java:2.25'
102-
implementation 'com.couchbase.client:java-client:3.8.3'
102+
implementation 'com.couchbase.client:java-client:3.9.0'
103103
runtimeOnly 'org.postgresql:postgresql:42.7.7' // postgresql jdbc driver required during runtime
104104

105105
implementation 'commons-io:commons-io:2.20.0' // I/O functionalities
106106
implementation 'commons-codec:commons-codec:1.19.0' // needed by commons-compress
107-
implementation 'org.apache.commons:commons-compress:1.27.1' // I/O functionalities
107+
implementation 'org.apache.commons:commons-compress:1.28.0' // I/O functionalities
108108
}
109109

110110
tasks.withType(JavaCompile) {

docs/readthedocs/models/input/grid/transformer2w.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,9 @@ A list with some standard transformer types can be found here: [Standard Two Win
137137
## Standard Two Winding Transformer Types
138138

139139

140-
Following there are some standard two winding transformer types with their source. A ``csv file`` containing the types listed
141-
below can be found [here](https://github.com/ie3-institute/PowerSystemDataModel/tree/dev/input/StandardAssetTypes). This
142-
file can be used directly for any simulation with ``simona``.
143-
The transformers which source is ``simBench`` are from [here](https://simbench.de/en/download/datasets/).
140+
Following there are some standard two winding transformer types with their source. The types are listed below in a ``csv file`` [here](https://github.com/ie3-institute/PowerSystemDataModel/tree/dev/input/StandardAssetTypes). This
141+
file can be used directly for any simulation with [SIMONA](https://github.com/ie3-institute/simona).
142+
The source for transformers from ``simBench`` can be found [here](https://simbench.de/en/download/datasets/).
144143

145144
```{list-table}
146145
:widths: auto
@@ -165,7 +164,7 @@ The transformers which source is ``simBench`` are from [here](https://simbench.d
165164
- source
166165
167166
* - 5a890aae-b9c9-4ebf-8a49-8850ae9df402
168-
- 219.43184927638458
167+
- -219.43184927638458
169168
- 0.0
170169
- 1.0
171170
- 1731.3019390581715
@@ -182,7 +181,7 @@ The transformers which source is ``simBench`` are from [here](https://simbench.d
182181
- simBench
183182
184183
* - 03159c0d-126e-47cc-9871-066870df3a3f
185-
- 1193.4686938790917
184+
- -1193.4686938790917
186185
- 0.0
187186
- 1.0
188187
- 831.0249307479223
@@ -199,7 +198,7 @@ The transformers which source is ``simBench`` are from [here](https://simbench.d
199198
- simBench
200199
201200
* - 7cb289cb-e6af-4470-9c68-e5a91978a5e7
202-
- 2013.800484464662
201+
- -2013.800484464662
203202
- 0.0
204203
- 1.0
205204
- 1446.280991735537
@@ -216,7 +215,7 @@ The transformers which source is ``simBench`` are from [here](https://simbench.d
216215
- simBench
217216
218217
* - 73644bc6-78cf-4882-9837-e6508cab092d
219-
- 867.7685950413226
218+
- -867.7685950413226
220219
- 0.0
221220
- 1.5
222221
- 1157.0247933884295
@@ -233,7 +232,7 @@ The transformers which source is ``simBench`` are from [here](https://simbench.d
233232
- simBench
234233
235234
* - 6935ae26-374a-4c24-aeee-6d5760d6ddf3
236-
- 720.4791642215993
235+
- -720.4791642215993
237236
- 0.0
238237
- 1.5
239238
- 1487.603305785124
@@ -250,7 +249,7 @@ The transformers which source is ``simBench`` are from [here](https://simbench.d
250249
- simBench
251250
252251
* - b49db20f-b8b5-4265-8318-f669b9d121e9
253-
- 1015.6886939330394
252+
- -1015.6886939330394
254253
- 0.0
255254
- 1.5
256255
- 1818.181818181818
@@ -267,7 +266,7 @@ The transformers which source is ``simBench`` are from [here](https://simbench.d
267266
- simBench
268267
269268
* - 0843b836-cee4-4a8c-81a4-098400fe91cf
270-
- 24.495101551166183
269+
- -24.495101551166183
271270
- 0.0
272271
- 2.5
273272
- 2999.9999999999995
@@ -284,7 +283,7 @@ The transformers which source is ``simBench`` are from [here](https://simbench.d
284283
- simBench
285284
286285
* - a8f3aeea-ef4d-4f3c-bb07-09a0a86766c1
287-
- 9.591746452043322
286+
- -9.591746452043322
288287
- 0.0
289288
- 2.5
290289
- 1149.9999999999998
@@ -301,7 +300,7 @@ The transformers which source is ``simBench`` are from [here](https://simbench.d
301300
- simBench
302301
303302
* - 0644c120-a247-425f-bbe4-31b153f7f440
304-
- 16.583241729259253
303+
- -16.583241729259253
305304
- 0.0
306305
- 2.5
307306
- 2199.9999999999995
@@ -318,7 +317,7 @@ The transformers which source is ``simBench`` are from [here](https://simbench.d
318317
- simBench
319318
320319
* - bdf22ee4-deba-41f4-a187-ae00638a6880
321-
- 36.47380569074435
320+
- -36.47380569074435
322321
- 0.0
323322
- 2.5
324323
- 4125.0
@@ -335,7 +334,7 @@ The transformers which source is ``simBench`` are from [here](https://simbench.d
335334
- simBench
336335
337336
* - a0cbd90a-4e9f-47db-8dca-041d3a288f77
338-
- 145.8952227629774
337+
- -145.8952227629774
339338
- 0.0
340339
- 2.5
341340
- 16500.0

docs/readthedocs/models/input/grid/transformer3w.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,67 @@ All impedances and admittances are given with respect to the higher voltage side
178178
179179
```
180180

181+
## Standard Three Winding Transformer Types
182+
183+
Following there are some standard three winding transformer types with their source. The types are listed below in a ``csv file`` [here](https://github.com/ie3-institute/PowerSystemDataModel/tree/dev/input/StandardAssetTypes). This
184+
file can be used directly for any simulation with [SIMONA](https://github.com/ie3-institute/simona).
185+
186+
```{list-table}
187+
:widths: auto
188+
:class: wrapping
189+
:header-rows: 1
190+
191+
* - uuid
192+
- bM
193+
- dPhi
194+
- dV
195+
- gM
196+
- id
197+
- rScA
198+
- rScB
199+
- rScC
200+
- sRatedA
201+
- sRatedB
202+
- sRatedC
203+
- tapMax
204+
- tapMin
205+
- tapNeutr
206+
- vRatedA
207+
- vRatedB
208+
- vRatedC
209+
- xScA
210+
- xScB
211+
- xScC
212+
- source
213+
214+
* - 62aef8ec-7e68-43e5-9678-8cde101f0116
215+
- -519.4864
216+
- 0.0
217+
- 1.5
218+
- 12.985
219+
- HoeS_HS_MS
220+
- 0.1444
221+
- 0.5776
222+
- 1.1552
223+
- 300000.0
224+
- 300000.0
225+
- 100000.0
226+
- 10
227+
- -10
228+
- 0
229+
- 380.0
230+
- 110.0
231+
- 30.0
232+
- 24.066121
233+
- 60.164118
234+
- 199.750106
235+
- Dissertation C. Kittl TU Dortmund[^cite_kittl2022]
236+
```
237+
181238
## Caveats
182239

183240
Nothing - at least not known.
184241
If you found something, please contact us!
185242

186243
[^cite_gremmel1999]: Gremmel, H., Ed., Schaltanlagen. Cornelsen Verlag, 1999, Vol. 10, isbn: 3-464-48235-9.
244+
[^cite_kittl2022]: Kittl, C., Entwurf und Validierung eines individualitätszentrierten, interdisziplinären Energiesystemsimulators basierend auf ereignisdiskreter Simulation und Agententheorie, Dortmunder Beiträge zu Energiesystemen, Energieeffizienz und Energiewirtschaft, Shaker Verlag, 2022, Vol. 25, isbn: 9-783-84408463-4.
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
uuid,b_m,d_phi,d_v,g_m,id,r_sc,s_rated,tap_max,tap_min,tap_neutr,tap_side,v_rated_a,v_rated_b,x_sc
2-
5a890aae-b9c9-4ebf-8a49-8850ae9df402,219.43184927638458,0.0,1.0,1731.3019390581715,Typ_x_380/220,0.6016666666666666,600000.0,16,-16,0,false,380.0,220.0,44.51926783240413
3-
03159c0d-126e-47cc-9871-066870df3a3f,1193.4686938790917,0.0,1.0,831.0249307479223,350MVA_380/110,1.0608979591836734,350000.0,16,-16,0,false,380.0,110.0,90.75951402093402
4-
7cb289cb-e6af-4470-9c68-e5a91978a5e7,2013.800484464662,0.0,1.0,1446.280991735537,300MVA_220/110,0.20704444444444442,300000.0,16,-16,0,false,220.0,110.0,19.358892855688435
5-
73644bc6-78cf-4882-9837-e6508cab092d,867.7685950413226,0.0,1.5,1157.0247933884295,25 MVA 110/20 kV YNd5,1.9843999999999997,25000.0,9,-9,0,false,110.0,20.0,58.04608993412045
6-
6935ae26-374a-4c24-aeee-6d5760d6ddf3,720.4791642215993,0.0,1.5,1487.603305785124,40 MVA 110/20 kV YNd5,1.0285,40000.0,9,-9,0,false,110.0,20.0,48.994205909984906
7-
b49db20f-b8b5-4265-8318-f669b9d121e9,1015.6886939330394,0.0,1.5,1818.181818181818,63 MVA 110/10 kV YNd5,0.6146031746031745,63000.0,9,-9,0,false,110.0,10.0,34.56596500037509
8-
0843b836-cee4-4a8c-81a4-098400fe91cf,24.495101551166183,0.0,2.5,2999.9999999999995,0.4 MVA 20/0.4 kV Dyn5 ASEA,11.999999999999998,400.0,2,-2,0,false,20.0,0.4,58.787753826796276
9-
a8f3aeea-ef4d-4f3c-bb07-09a0a86766c1,9.591746452043322,0.0,2.5,1149.9999999999998,0.16 MVA 20/0.4 kV DOTE 160/20 SGB,36.71874999999999,160.0,2,-2,0,false,20.0,0.4,93.01469452961452
10-
0644c120-a247-425f-bbe4-31b153f7f440,16.583241729259253,0.0,2.5,2199.9999999999995,0.25 MVA 20/0.4 kV Dyn5 ASEA,21.119999999999997,250.0,2,-2,0,false,20.0,0.4,93.6479876986153
11-
bdf22ee4-deba-41f4-a187-ae00638a6880,36.47380569074435,0.0,2.5,4125.0,0.63 MVA 20/0.4 kV Dyn5 ASEA,6.953892668178382,630.0,2,-2,0,false,20.0,0.4,37.45518044666632
12-
a0cbd90a-4e9f-47db-8dca-041d3a288f77,145.8952227629774,0.0,2.5,16500.0,0.63 MVA 10/0.4 kV Dyn5 ASEA,1.7384731670445954,630.0,2,-2,0,false,10.0,0.4,9.36379511166658
2+
5a890aae-b9c9-4ebf-8a49-8850ae9df402,-219.43184927638458,0.0,1.0,1731.3019390581715,Typ_x_380/220,0.6016666666666666,600000.0,16,-16,0,false,380.0,220.0,44.51926783240413
3+
03159c0d-126e-47cc-9871-066870df3a3f,-1193.4686938790917,0.0,1.0,831.0249307479223,350MVA_380/110,1.0608979591836734,350000.0,16,-16,0,false,380.0,110.0,90.75951402093402
4+
7cb289cb-e6af-4470-9c68-e5a91978a5e7,-2013.800484464662,0.0,1.0,1446.280991735537,300MVA_220/110,0.20704444444444442,300000.0,16,-16,0,false,220.0,110.0,19.358892855688435
5+
73644bc6-78cf-4882-9837-e6508cab092d,-867.7685950413226,0.0,1.5,1157.0247933884295,25 MVA 110/20 kV YNd5,1.9843999999999997,25000.0,9,-9,0,false,110.0,20.0,58.04608993412045
6+
6935ae26-374a-4c24-aeee-6d5760d6ddf3,-720.4791642215993,0.0,1.5,1487.603305785124,40 MVA 110/20 kV YNd5,1.0285,40000.0,9,-9,0,false,110.0,20.0,48.994205909984906
7+
b49db20f-b8b5-4265-8318-f669b9d121e9,-1015.6886939330394,0.0,1.5,1818.181818181818,63 MVA 110/10 kV YNd5,0.6146031746031745,63000.0,9,-9,0,false,110.0,10.0,34.56596500037509
8+
0843b836-cee4-4a8c-81a4-098400fe91cf,-24.495101551166183,0.0,2.5,2999.9999999999995,0.4 MVA 20/0.4 kV Dyn5 ASEA,11.999999999999998,400.0,2,-2,0,false,20.0,0.4,58.787753826796276
9+
a8f3aeea-ef4d-4f3c-bb07-09a0a86766c1,-9.591746452043322,0.0,2.5,1149.9999999999998,0.16 MVA 20/0.4 kV DOTE 160/20 SGB,36.71874999999999,160.0,2,-2,0,false,20.0,0.4,93.01469452961452
10+
0644c120-a247-425f-bbe4-31b153f7f440,-16.583241729259253,0.0,2.5,2199.9999999999995,0.25 MVA 20/0.4 kV Dyn5 ASEA,21.119999999999997,250.0,2,-2,0,false,20.0,0.4,93.6479876986153
11+
bdf22ee4-deba-41f4-a187-ae00638a6880,-36.47380569074435,0.0,2.5,4125.0,0.63 MVA 20/0.4 kV Dyn5 ASEA,6.953892668178382,630.0,2,-2,0,false,20.0,0.4,37.45518044666632
12+
a0cbd90a-4e9f-47db-8dca-041d3a288f77,-145.8952227629774,0.0,2.5,16500.0,0.63 MVA 10/0.4 kV Dyn5 ASEA,1.7384731670445954,630.0,2,-2,0,false,10.0,0.4,9.36379511166658
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
uuid,b_m,d_phi,d_v,g_m,id,r_sc_a,r_sc_b,r_sc_c,s_rated_a,s_rated_b,s_rated_c,tap_max,tap_min,tap_neutr,v_rated_a,v_rated_b,v_rated_c,x_sc_a,x_sc_b,x_sc_c
2+
62aef8ec-7e68-43e5-9678-8cde101f0116,-519.4864,0.0,1.5,12.985,HoeS_HS_MS,0.1444,0.5776,1.1552,300000.0,300000.0,100000.0,10,-10,0,380.0,110.0,30.0,24.066121,60.164118,199.750106

src/main/java/edu/ie3/datamodel/models/voltagelevels/GermanVoltageLevelUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,28 @@ public class GermanVoltageLevelUtils {
2727
new CommonVoltageLevel(
2828
"Niederspannung",
2929
Quantities.getQuantity(0.4, KILOVOLT),
30-
new HashSet<>(Arrays.asList("lv", "ns")),
30+
new HashSet<>(Arrays.asList("lv", "ns", "0.4kV")),
3131
new RightOpenInterval<>(
3232
Quantities.getQuantity(0d, KILOVOLT), Quantities.getQuantity(10d, KILOVOLT)));
3333
public static final CommonVoltageLevel MV_10KV =
3434
new CommonVoltageLevel(
3535
MS,
3636
Quantities.getQuantity(10d, KILOVOLT),
37-
new HashSet<>(Arrays.asList("ms", "mv", "ms_10kv", "mv_10kV")),
37+
new HashSet<>(Arrays.asList("ms", "mv", "ms_10kv", "mv_10kV", "10.0kV", "10kV")),
3838
new RightOpenInterval<>(
3939
Quantities.getQuantity(10d, KILOVOLT), Quantities.getQuantity(20d, KILOVOLT)));
4040
public static final CommonVoltageLevel MV_20KV =
4141
new CommonVoltageLevel(
4242
MS,
4343
Quantities.getQuantity(20d, KILOVOLT),
44-
new HashSet<>(Arrays.asList("ms", "mv", "ms_20kv", "mv_20kV")),
44+
new HashSet<>(Arrays.asList("ms", "mv", "ms_20kv", "mv_20kV", "20.0kV", "20kV")),
4545
new RightOpenInterval<>(
4646
Quantities.getQuantity(20d, KILOVOLT), Quantities.getQuantity(30d, KILOVOLT)));
4747
public static final CommonVoltageLevel MV_30KV =
4848
new CommonVoltageLevel(
4949
MS,
5050
Quantities.getQuantity(30d, KILOVOLT),
51-
new HashSet<>(Arrays.asList("ms", "mv", "ms_30kv", "mv_30kV")),
51+
new HashSet<>(Arrays.asList("ms", "mv", "ms_30kv", "mv_30kV", "30.0kV", "30kV")),
5252
new RightOpenInterval<>(
5353
Quantities.getQuantity(30d, KILOVOLT), Quantities.getQuantity(110d, KILOVOLT)));
5454
public static final CommonVoltageLevel HV =

src/test/groovy/edu/ie3/datamodel/models/GermanVoltageLevelUtilsTest.groovy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,16 @@ class GermanVoltageLevelUtilsTest extends Specification {
2424
where:
2525
id || vRated || expected
2626
"NS" || Quantities.getQuantity(0.4d, KILOVOLT) || LV
27+
"0.4kV" || Quantities.getQuantity(0.4d, KILOVOLT) || LV
28+
"10.0kV"|| Quantities.getQuantity(10d, KILOVOLT) || MV_10KV
29+
"10kV" || Quantities.getQuantity(10d, KILOVOLT) || MV_10KV
2730
"MS" || Quantities.getQuantity(15d, KILOVOLT) || MV_10KV
2831
"MS" || Quantities.getQuantity(20d, KILOVOLT) || MV_20KV
32+
"20.0kV"|| Quantities.getQuantity(20d, KILOVOLT) || MV_20KV
33+
"20kV" || Quantities.getQuantity(20d, KILOVOLT) || MV_20KV
2934
"MS" || Quantities.getQuantity(35d, KILOVOLT) || MV_30KV
35+
"30.0kV"|| Quantities.getQuantity(30d, KILOVOLT) || MV_30KV
36+
"30kV" || Quantities.getQuantity(30d, KILOVOLT) || MV_30KV
3037
"HS" || Quantities.getQuantity(110d, KILOVOLT) || HV
3138
"HoeS" || Quantities.getQuantity(220d, KILOVOLT) || EHV_220KV
3239
"HoeS" || Quantities.getQuantity(380d, KILOVOLT) || EHV_380KV

src/test/groovy/edu/ie3/datamodel/utils/ContainerUtilsTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ class ContainerUtilsTest extends Specification {
278278
InvalidGridException ex = thrown()
279279
ex.message == "There are 2 voltage levels apparent, although only one is expected. Following voltage levels" +
280280
" are present: CommonVoltageLevel{id='Mittelspannung', nominalVoltage=10 kV, synonymousIds=" +
281-
"[Mittelspannung, ms, ms_10kv, mv, mv_10kV], voltageRange=Interval [10 kV, 20 kV)}, CommonVoltageLevel" +
282-
"{id='Mittelspannung', nominalVoltage=20 kV, synonymousIds=[Mittelspannung, ms, ms_20kv, mv, mv_20kV], " +
281+
"[10.0kV, 10kV, Mittelspannung, ms, ms_10kv, mv, mv_10kV], voltageRange=Interval [10 kV, 20 kV)}, CommonVoltageLevel" +
282+
"{id='Mittelspannung', nominalVoltage=20 kV, synonymousIds=[20.0kV, 20kV, Mittelspannung, ms, ms_20kv, mv, mv_20kV], " +
283283
"voltageRange=Interval [20 kV, 30 kV)}"
284284
}
285285

0 commit comments

Comments
 (0)