Skip to content

Commit 1476072

Browse files
authored
Fix micro and kilo conversion in default spreadsheet config (#33)
Signed-off-by: achour94 <[email protected]>
1 parent 77e1030 commit 1476072

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/resources/default-spreadsheet-config-collection.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@
9494
"name": "ISC min (kA)",
9595
"type": "NUMBER",
9696
"precision": 1,
97-
"formula": "identifiableShortCircuit.ipMin",
97+
"formula": "unitToKiloUnit(identifiableShortCircuit.ipMin)",
9898
"dependencies": null,
9999
"id": "identifiableShortCircuit.ipMin"
100100
},
101101
{
102102
"name": "ISC max (kA)",
103103
"type": "NUMBER",
104104
"precision": 1,
105-
"formula": "identifiableShortCircuit.ipMax",
105+
"formula": "unitToKiloUnit(identifiableShortCircuit.ipMax)",
106106
"dependencies": null,
107107
"id": "identifiableShortCircuit.ipMax"
108108
}
@@ -244,31 +244,31 @@
244244
"name": "Shunt conductance 1 (μS)",
245245
"type": "NUMBER",
246246
"precision": 1,
247-
"formula": "g1",
247+
"formula": "unitToMicroUnit(g1)",
248248
"dependencies": null,
249249
"id": "g1"
250250
},
251251
{
252252
"name": "Shunt conductance 2 (μS)",
253253
"type": "NUMBER",
254254
"precision": 1,
255-
"formula": "g2",
255+
"formula": "unitToMicroUnit(g2)",
256256
"dependencies": null,
257257
"id": "g2"
258258
},
259259
{
260260
"name": "Shunt susceptance 1 (μS)",
261261
"type": "NUMBER",
262262
"precision": 1,
263-
"formula": "b1",
263+
"formula": "unitToMicroUnit(b1)",
264264
"dependencies": null,
265265
"id": "b1"
266266
},
267267
{
268268
"name": "Shunt susceptance 2 (μS)",
269269
"type": "NUMBER",
270270
"precision": 1,
271-
"formula": "b2",
271+
"formula": "unitToMicroUnit(b2)",
272272
"dependencies": null,
273273
"id": "b2"
274274
}

0 commit comments

Comments
 (0)