Skip to content

Commit

Permalink
Add L&T DSINE MCCB TM protection curves
Browse files Browse the repository at this point in the history
  • Loading branch information
manuvarkey committed Sep 26, 2023
1 parent 7afead5 commit ca61b91
Show file tree
Hide file tree
Showing 33 changed files with 1,791 additions and 0 deletions.
25 changes: 25 additions & 0 deletions gelectrical/database/cb.csv
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,31 @@ item_name;item_category;custom;type;subtype;prot_curve_type;prot_0_curve_type;In
80A, D Curve, C120;MCB - Schneider Acti9;True;Schneider C120;MCB;D Curve;;80;10;('mcb_schneider', '', 'params_d_c120.json');
100A, D Curve, C120;MCB - Schneider Acti9;True;Schneider C120;MCB;D Curve;;100;10;('mcb_schneider', '', 'params_d_c120.json');
125A, D Curve, C120;MCB - Schneider Acti9;True;Schneider C120;MCB;D Curve;;125;10;('mcb_schneider', '', 'params_d_c120.json');
20A, DN0-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN0-TM;;20;25;('mccb_lnt', '', 'lnt_mccb_d0.json');
25A, DN0-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN0-TM;;25;25;('mccb_lnt', '', 'lnt_mccb_d0.json');
32A, DN0-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN0-TM;;32;25;('mccb_lnt', '', 'lnt_mccb_d0.json');
40A, DN0-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN0-TM;;40;25;('mccb_lnt', '', 'lnt_mccb_d0.json');
50A, DN0-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN0-TM;;50;25;('mccb_lnt', '', 'lnt_mccb_d0.json');
63A, DN0-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN0-TM;;63;25;('mccb_lnt', '', 'lnt_mccb_d0.json');
80A, DN0-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN0-TM;;80;25;('mccb_lnt', '', 'lnt_mccb_d0.json');
100A, DN0-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN0-TM;;100;25;('mccb_lnt', '', 'lnt_mccb_d0.json');
125A, DN1-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN1-TM;;125;25;('mccb_lnt', '', 'lnt_mccb_d1.json');
160A, DN1-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN1-TM;;160;25;('mccb_lnt', '', 'lnt_mccb_d1.json');
200A, DN1-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN1-TM;;200;25;('mccb_lnt', '', 'lnt_mccb_d1.json');
250A, DN1-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN1-TM;;250;25;('mccb_lnt', '', 'lnt_mccb_d1.json');
63A, DN2-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-TM;;63;36;('mccb_lnt', '', 'lnt_mccb_d2.json');
80A, DN2-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-TM;;80;36;('mccb_lnt', '', 'lnt_mccb_d2.json');
100A, DN2-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-TM;;100;36;('mccb_lnt', '', 'lnt_mccb_d2.json');
125A, DN2-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-TM;;125;36;('mccb_lnt', '', 'lnt_mccb_d2.json');
160A, DN2-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-TM;;160;36;('mccb_lnt', '', 'lnt_mccb_d2.json');
200A, DN2-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-TM;;200;36;('mccb_lnt', '', 'lnt_mccb_d2.json');
250A, DN2-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-TM;;250;36;('mccb_lnt', '', 'lnt_mccb_d2.json');
320A, DN3B-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN3B-TM;;320;36;('mccb_lnt', '', 'lnt_mccb_d3b.json');
400A, DN3B-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN3B-TM;;400;36;('mccb_lnt', '', 'lnt_mccb_d3b.json');
320A, DN3-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN3-TM;;320;36;('mccb_lnt', '', 'lnt_mccb_d3.json');
400A, DN3-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN3-TM;;400;36;('mccb_lnt', '', 'lnt_mccb_d3.json');
500A, DN3-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN3-TM;;500;36;('mccb_lnt', '', 'lnt_mccb_d3.json');
630A, DN3-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN3-TM;;630;36;('mccb_lnt', '', 'lnt_mccb_d3.json');
16A, TM-D, Compact NSX;MCCB - Schneider Compact NSX;True;Schneider Compact NSX;MCCB;TM-D;;16;25;('mccb_schneider', '', 'params_NSX_TMD_16.json');
25A, TM-D, Compact NSX;MCCB - Schneider Compact NSX;True;Schneider Compact NSX;MCCB;TM-D;;25;25;('mccb_schneider', '', 'params_NSX_TMD_25.json');
32A, TM-D, Compact NSX;MCCB - Schneider Compact NSX;True;Schneider Compact NSX;MCCB;TM-D;;32;25;('mccb_schneider', '', 'params_NSX_TMD_32.json');
Expand Down
23 changes: 23 additions & 0 deletions gelectrical/database/mccb_lnt/lnt_mccb_d0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"type": "protection",
"parameters": {
"i_r": ["Ir", "xIn", 1, [0.8, 0.9, 1], "Thermal protection pickup current"],
"i_m": ["Im", "xIn", 9, [9], "Magnetic pickup current"]
},
"data": {
"curve_u": [
["point", "1.3*f.In*d.i_r", "2*3600"],
["POLYLOG", 1, "1.1*d.i_r*f.In", "1.35*f.In*d.i_r", "(d.i_m*(100+20)/100)*f.In", 0.01 , 50, [2.24895, -1.42565, -0.18309, 0.10299, 0.01932, -0.08768], 1],
["point", "(d.i_m*(100+20)/100)*f.In", 0.02],
["point", "1000*f.Isc", 0.02]
],
"curve_l": [
["point", "1.05*f.In*d.i_r", "2*3600"],
["POLYLOG", 1, "1.03*d.i_r*f.In", "1.1*f.In*d.i_r", "(d.i_m*(100-20)/100)*f.In", 0.01 , 50, [1.37956, -1.90721, -0.18381, -0.47497, -0.12317, 0.71575, 0.04083, -0.31465], 1],
["point", "(d.i_m*(100-20)/100)*f.In", 0.001],
["point", "1000*f.Isc", 0.001]
]
},
"graph_model": []
}

23 changes: 23 additions & 0 deletions gelectrical/database/mccb_lnt/lnt_mccb_d1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"type": "protection",
"parameters": {
"i_r": ["Ir", "xIn", 1, [0.8, 0.9, 1], "Thermal protection pickup current"],
"i_m": ["Im", "xIn", 9, [9], "Magnetic pickup current"]
},
"data": {
"curve_u": [
["point", "1.3*f.In*d.i_r", "2*3600"],
["POLYLOG", 1, "1.2*d.i_r*f.In", "1.35*f.In*d.i_r", "(d.i_m*(100+20)/100)*f.In", 0.01 , 50, [2.25191, -1.27781, 0.36096, 0.34035, -0.26593, -0.11799, 0.04583], 1],
["point", "(d.i_m*(100+20)/100)*f.In", 0.02],
["point", "1000*f.Isc", 0.02]
],
"curve_l": [
["point", "1.05*f.In*d.i_r", "2*3600"],
["POLYLOG", 1, "1.03*d.i_r*f.In", "1.1*f.In*d.i_r", "(d.i_m*(100-20)/100)*f.In", 0.01 , 50, [1.78824, -1.45092, 0.52364, 0.13523, -0.10738], 1],
["point", "(d.i_m*(100-20)/100)*f.In", 0.001],
["point", "1000*f.Isc", 0.001]
]
},
"graph_model": []
}

23 changes: 23 additions & 0 deletions gelectrical/database/mccb_lnt/lnt_mccb_d2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"type": "protection",
"parameters": {
"i_r": ["Ir", "xIn", 1, [0.8, 0.9, 1], "Thermal protection pickup current"],
"i_m": ["Im", "xIn", 9, [6,7,8,9,10], "Magnetic pickup current"]
},
"data": {
"curve_u": [
["point", "1.3*f.In*d.i_r", "2*3600"],
["POLYLOG", 1, "1.2*d.i_r*f.In", "1.35*f.In*d.i_r", "(d.i_m*(100+20)/100)*f.In", 0.01 , 50, [2.74484, -0.962, 0.1174, 0.25109, -0.09071, -0.10556, -0.0189], 1],
["point", "(d.i_m*(100+20)/100)*f.In", 0.02],
["point", "1000*f.Isc", 0.02]
],
"curve_l": [
["point", "1.05*f.In*d.i_r", "2*3600"],
["POLYLOG", 1, "1.03*d.i_r*f.In", "1.1*f.In*d.i_r", "(d.i_m*(100-20)/100)*f.In", 0.01 , 50, [2.00909, -1.28994, -0.16635, 0.18637, -0.02919, -0.07805], 1],
["point", "(d.i_m*(100-20)/100)*f.In", 0.001],
["point", "1000*f.Isc", 0.001]
]
},
"graph_model": []
}

23 changes: 23 additions & 0 deletions gelectrical/database/mccb_lnt/lnt_mccb_d3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"type": "protection",
"parameters": {
"i_r": ["Ir", "xIn", 1, [0.8, 0.9, 1], "Thermal protection pickup current"],
"i_m": ["Im", "xIn", 9, [6,7,8,9,10], "Magnetic pickup current"]
},
"data": {
"curve_u": [
["point", "1.3*f.In*d.i_r", "2*3600"],
["POLYLOG", 1, "1.3*d.i_r*f.In", "1.4*f.In*d.i_r", "(d.i_m*(100+20)/100)*f.In", 0.01 , 50, [2.7841, -0.92278, -0.09964, 0.33337, 0.12493, -0.11937, -0.05818], 1],
["point", "(d.i_m*(100+20)/100)*f.In", 0.02],
["point", "1000*f.Isc", 0.02]
],
"curve_l": [
["point", "1.13*f.In*d.i_r", "2*3600"],
["POLYLOG", 1, "1.13*d.i_r*f.In", "1.2*f.In*d.i_r", "(d.i_m*(100-20)/100)*f.In", 0.01 , 50, [2.18746, -1.4011, 0.02053, 0.32559, -0.05509, -0.08059], 1],
["point", "(d.i_m*(100-20)/100)*f.In", 0.001],
["point", "1000*f.Isc", 0.001]
]
},
"graph_model": []
}

23 changes: 23 additions & 0 deletions gelectrical/database/mccb_lnt/lnt_mccb_d3b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"type": "protection",
"parameters": {
"i_r": ["Ir", "xIn", 1, [0.8, 0.9, 1], "Thermal protection pickup current"],
"i_m": ["Im", "xIn", 9, [9], "Magnetic pickup current"]
},
"data": {
"curve_u": [
["point", "1.4*f.In*d.i_r", "2*3600"],
["POLYLOG", 1, "1.35*d.i_r*f.In", "1.45*f.In*d.i_r", "(d.i_m*(100+20)/100)*f.In", 0.01 , 50, [2.74805, -0.81658, 0.099, 0.03864, -0.08808, 0.06705, 0.06965], 1],
["point", "(d.i_m*(100+20)/100)*f.In", 0.02],
["point", "1000*f.Isc", 0.02]
],
"curve_l": [
["point", "1.05*f.In*d.i_r", "2*3600"],
["POLYLOG", 1, "1.05*d.i_r*f.In", "1.15*f.In*d.i_r", "(d.i_m*(100-20)/100)*f.In", 0.01 , 50, [1.66262, -0.73914, -0.35666, -0.22558, 0.45166, -0.17353, 0.00672, -0.01319], 1],
["point", "(d.i_m*(100-20)/100)*f.In", 0.001],
["point", "1000*f.Isc", 0.001]
]
},
"graph_model": []
}

Binary file added source/CB/LnT MCCB/DN0/DN0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
301 changes: 301 additions & 0 deletions source/CB/LnT MCCB/DN0/MCCB json gen.ipynb

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions source/CB/LnT MCCB/DN0/curve_l.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
1.0781089280046683, 6636.828008531702
1.0889822260234463, 3205.9511010164533
1.1106460497400972, 1885.4911520171472
1.1411922656219984, 1136.615127093038
1.1852854073812151, 669.7945537035852
1.24627442272473, 425.06976315638695
1.3104016358132022, 271.99530243789815
1.3932772912383318, 170.65575060093707
1.4980043637064016, 105.88477359922805
1.6286620839891621, 67.22374653312116
1.7905699058444955, 42.93800149572776
1.9906456710018645, 27.456472298369377
2.2378915384476765, 17.588958715803283
2.5440549776461645, 11.202971442298265
2.9082728179425175, 7.189428021165419
3.343220259695634, 4.63553500575108
3.8647021566783213, 2.978598407389167
4.467525798373166, 1.9308648637790424
5.16437902585595, 1.2516756582316073
5.969928753945401, 0.8117190265146019
6.901129670914706, 0.5190747478633959
8.743867233059596, 0.2765244265811164
16 changes: 16 additions & 0 deletions source/CB/LnT MCCB/DN0/curve_u.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
1.162437336374873, 7776.348030820283
1.1786958210778027, 4549.063703576324
1.2181690994033552, 2970.1315784300873
1.269004026872016, 1822.8556408755628
1.401066511146485, 964.3668560371473
1.531785146049053, 622.6330724333066
1.7124651040982868, 395.7478338157853
1.9467455402903855, 255.07305170275868
2.250402636872364, 166.08358457584868
2.6600882382276336, 106.82941932913648
3.197388725989456, 68.94185618454335
3.8863080603754425, 44.86858316997391
4.776627724445142, 29.20079913114047
5.9037337142555515, 19.04581224667509
7.296794680160337, 12.49407937373605
8.43496268469666, 9.762910441683797
153 changes: 153 additions & 0 deletions source/CB/LnT MCCB/DN0/lnt_mccb_d0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
{
"type": "protection",
"parameters": {
"i_r": [
"Ir",
"xIn",
1,
[
0.8,
0.9,
1
],
"Thermal protection pickup current"
]
},
"data": {
"curve_u": [
[
"point",
"1.3*f.In",
"3600 if f.In <= 63 else 2*3600"
],
[
"POINTS",
1,
"f.In",
0,
"9*f.In*1.1",
0.01,
[
1.16,
1.18,
1.22,
1.27,
1.4,
1.53,
1.71,
1.95,
2.25,
2.66,
3.2,
3.89,
4.78,
5.9,
7.3,
8.43
],
[
7776.35,
4549.06,
2970.13,
1822.86,
964.37,
622.63,
395.75,
255.07,
166.08,
106.83,
68.94,
44.87,
29.2,
19.05,
12.49,
9.76
]
],
[
"point",
"9*f.In*1.1",
0.01
],
[
"point",
"1000*f.Isc",
0.01
]
],
"curve_l": [
[
"point",
"1.05*f.In",
"3600 if f.In <= 63 else 2*3600"
],
[
"POINTS",
1,
"f.In",
0,
"9*f.In*0.9",
0.001,
[
1.08,
1.09,
1.11,
1.14,
1.19,
1.25,
1.31,
1.39,
1.5,
1.63,
1.79,
1.99,
2.24,
2.54,
2.91,
3.34,
3.86,
4.47,
5.16,
5.97,
6.9,
8.74
],
[
6636.83,
3205.95,
1885.49,
1136.62,
669.79,
425.07,
272.0,
170.66,
105.88,
67.22,
42.94,
27.46,
17.59,
11.2,
7.19,
4.64,
2.98,
1.93,
1.25,
0.81,
0.52,
0.28
]
],
[
"point",
"9*f.In*0.9",
0.001
],
[
"point",
"1000*f.Isc",
0.001
]
]
},
"graph_model": []
}
Binary file added source/CB/LnT MCCB/DN0/mccb.tar
Binary file not shown.
Loading

0 comments on commit ca61b91

Please sign in to comment.