Skip to content

Commit

Permalink
Add L&T MCCB with microprocessor trip
Browse files Browse the repository at this point in the history
  • Loading branch information
manuvarkey committed Oct 4, 2023
1 parent bdb0d39 commit 47f475d
Show file tree
Hide file tree
Showing 8 changed files with 648 additions and 4 deletions.
25 changes: 25 additions & 0 deletions gelectrical/database/cb.csv
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,20 @@ item_name;item_category;custom;type;subtype;prot_curve_type;prot_0_curve_type;In
400A, DN3-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN3-TM;;400;400;36;('mccb_lnt', '', 'lnt_mccb_d3.json');
500A, DN3-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN3-TM;;500;500;36;('mccb_lnt', '', 'lnt_mccb_d3.json');
630A, DN3-TM, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN3-TM;;630;630;36;('mccb_lnt', '', 'lnt_mccb_d3.json');
40A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;40;40;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
63A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;63;63;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
80A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;80;80;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
100A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;100;100;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
125A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;125;125;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
160A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;160;160;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
200A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;200;200;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
250A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;250;250;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
320A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;320;320;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
400A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;400;400;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
320A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;320;320;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
400A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;400;400;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
500A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;500;500;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
630A, DN2-MP, DSINE;MCCB - L&T DSINE;True;L&T DSINE;MCCB;DN2-MP;;630;630;36;('mccb_lnt', '', 'mtx_1_2_l.json');('mccb_lnt', '', 'mtx_1_2_g.json')
16A, TM, DPX3 160;MCCB - Legrand DPX3;True;Legrand DPX3;MCCB;TM;;16;16;16;('mccb_legrand', '', 'legrand_dpx3_160_16.json');
25A, TM, DPX3 160;MCCB - Legrand DPX3;True;Legrand DPX3;MCCB;TM;;25;25;16;('mccb_legrand', '', 'legrand_dpx3_160_25.json');
40A, TM, DPX3 160;MCCB - Legrand DPX3;True;Legrand DPX3;MCCB;TM;;40;40;16;('mccb_legrand', '', 'legrand_dpx3_160.json');
Expand Down Expand Up @@ -192,3 +206,14 @@ item_name;item_category;custom;type;subtype;prot_curve_type;prot_0_curve_type;In
100A, TM-D, Compact NSXm;MCCB - Schneider Compact NSXm;True;Schneider Compact NSXm;MCCB;TM-D;;100;100;16;('mccb_schneider', '', 'params_NSXm_TMD_100.json');
125A, TM-D, Compact NSXm;MCCB - Schneider Compact NSXm;True;Schneider Compact NSXm;MCCB;TM-D;;125;125;16;('mccb_schneider', '', 'params_NSXm_TMD_125.json');
160A, TM-D, Compact NSXm;MCCB - Schneider Compact NSXm;True;Schneider Compact NSXm;MCCB;TM-D;;160;160;16;('mccb_schneider', '', 'params_NSXm_TMD_160.json');
630A, Micrologic, MasterPact;ACB - Schneider MasterPact;True;Schneider MasterPact;ACB;Micrologic;Micrologic;630;630;42;('mccb_schneider', '', 'micrologic_l.json');('mccb_schneider', '', 'micrologic_g.json')
800A, Micrologic, MasterPact;ACB - Schneider MasterPact;True;Schneider MasterPact;ACB;Micrologic;Micrologic;800;800;42;('mccb_schneider', '', 'micrologic_l.json');('mccb_schneider', '', 'micrologic_g.json')
1000A, Micrologic, MasterPact;ACB - Schneider MasterPact;True;Schneider MasterPact;ACB;Micrologic;Micrologic;1000;1000;42;('mccb_schneider', '', 'micrologic_l.json');('mccb_schneider', '', 'micrologic_g.json')
1250A, Micrologic, MasterPact;ACB - Schneider MasterPact;True;Schneider MasterPact;ACB;Micrologic;Micrologic;1250;1250;42;('mccb_schneider', '', 'micrologic_l.json');('mccb_schneider', '', 'micrologic_g.json')
1600A, Micrologic, MasterPact;ACB - Schneider MasterPact;True;Schneider MasterPact;ACB;Micrologic;Micrologic;1600;1600;42;('mccb_schneider', '', 'micrologic_l.json');('mccb_schneider', '', 'micrologic_g.json')
2000A, Micrologic, MasterPact;ACB - Schneider MasterPact;True;Schneider MasterPact;ACB;Micrologic;Micrologic;2000;2000;42;('mccb_schneider', '', 'micrologic_l.json');('mccb_schneider', '', 'micrologic_g.json')
2500A, Micrologic, MasterPact;ACB - Schneider MasterPact;True;Schneider MasterPact;ACB;Micrologic;Micrologic;2500;2500;65;('mccb_schneider', '', 'micrologic_l.json');('mccb_schneider', '', 'micrologic_g.json')
3200A, Micrologic, MasterPact;ACB - Schneider MasterPact;True;Schneider MasterPact;ACB;Micrologic;Micrologic;3200;3200;65;('mccb_schneider', '', 'micrologic_l.json');('mccb_schneider', '', 'micrologic_g.json')
4000A, Micrologic, MasterPact;ACB - Schneider MasterPact;True;Schneider MasterPact;ACB;Micrologic;Micrologic;4000;4000;100;('mccb_schneider', '', 'micrologic_l.json');('mccb_schneider', '', 'micrologic_g.json')
5000A, Micrologic, MasterPact;ACB - Schneider MasterPact;True;Schneider MasterPact;ACB;Micrologic;Micrologic;5000;5000;100;('mccb_schneider', '', 'micrologic_l.json');('mccb_schneider', '', 'micrologic_g.json')
6300A, Micrologic, MasterPact;ACB - Schneider MasterPact;True;Schneider MasterPact;ACB;Micrologic;Micrologic;6300;6300;100;('mccb_schneider', '', 'micrologic_l.json');('mccb_schneider', '', 'micrologic_g.json')
78 changes: 78 additions & 0 deletions gelectrical/database/mccb_lnt/mtx_1_2_g.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"type": "protection",
"parameters": {
"trip_on": [
"Trip unit enabled ?",
"",
false,
null,
"Whether trip unit is enabled",
"bool"
],
"i_m": [
"Ig",
"xI0",
0.2,
[
0.2,
0.3,
0.4,
0.5
],
"Ground fault pickup current"
],
"t_m": [
"tg",
"s",
0.1,
[
0.1,
0.2
],
"Short-time tripping delay"
]
},
"data": {
"select_expr_list": [
"d.trip_on is True",
"d.trip_on is False"
],
"curve_u1": [
[
"point",
"d.i_m*f.I0*1.1",
"3600 if f.In <= 63 else 2*3600"
],
[
"point",
"d.i_m*f.I0*1.1",
"d.t_m*1.1"
],
[
"point",
"1000*f.Isc",
"d.t_m*1.1"
]
],
"curve_l1": [
[
"point",
"d.i_m*f.I0*0.9",
"3600 if f.In <= 63 else 2*3600"
],
[
"point",
"d.i_m*f.I0*0.9",
"d.t_m*0.9"
],
[
"point",
"1000*f.Isc",
"d.t_m*0.9"
]
],
"curve_u2": [],
"curve_l2": []
},
"graph_model": []
}
264 changes: 264 additions & 0 deletions gelectrical/database/mccb_lnt/mtx_1_2_l.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,264 @@
{
"type": "protection",
"parameters": {
"head_l": [
"Long time protection",
"",
"",
null,
"",
"heading"
],
"lt_on": [
"Enable long time protection",
"",
true,
null,
"",
"bool"
],
"i_r": [
"Ir",
"xIn",
1,
[
0.4,
0.45,
0.5,
0.55,
0.6,
0.65,
0.7,
0.75,
0.8,
0.85,
0.9,
0.95,
1
],
"Long-time pickup current"
],
"ir_i2t": [
"@6xIr/@7.2xIr",
"xIr",
6,
[
6,
7.2
],
"Current at which tripping delay occurs"
],
"t_r": [
"tr",
"s",
10,
[
3,
10
],
"Long-time tripping delay @ 6xIr/7.2xIr"
],
"head_s": [
"Short time protection",
"",
"",
null,
"",
"heading"
],
"st_on": [
"Enable short time protection",
"",
true,
null,
"",
"bool"
],
"i_m": [
"Isd",
"xIr",
8,
[
1.5,
2.5,
4,
5.5,
6.5,
8
],
"Short-time pickup current"
],
"t_m": [
"tsd",
"s",
0,
[
0,
0.1
],
"Short-time tripping delay (@ 10xIsd for I2T=ON)"
],
"head_i": [
"Instantaneous protection",
"",
"",
null,
"",
"heading"
],
"i_i": [
"Ii",
"xIn",
10,
[
10
],
"Instantaneous pickup current"
]
},
"data": {
"select_expr_list": [
"d.lt_on is True",
"d.lt_on is False"
],
"curve_u1": [
[
"point",
"1.2*f.In*d.i_r",
"3600 if f.In <= 63 else 2*3600"
],
[
"I2T",
{
"tms": 1,
"i_n": "d.i_r*f.In",
"i1": "1.2*f.In*d.i_r",
"i2": "d.i_m*d.i_r*f.In*1.1 if d.st_on else d.i_i*f.In*1.15",
"t_min": "max(0.01, d.t_m*1.2) if d.st_on else 0.01",
"n": 100,
"i_tol": "1.2*f.In*d.i_r*100-100",
"t_tol": 20,
"curve_type": 1,
"k_i2t": "d.ir_i2t**2*d.t_r"
}
],
[
"point",
"d.i_m*d.i_r*f.In*1.1 if d.st_on else d.i_i*f.In*1.15",
"max(0.01, d.t_m*1.2) if d.st_on else 0.01"
],
[
"point",
"d.i_i*f.In*1.15",
"max(0.01, d.t_m*1.2) if d.st_on else 0.01"
],
[
"point",
"d.i_i*f.In*1.15",
0.01
],
[
"point",
"1000*f.Isc",
0.01
]
],
"curve_l1": [
[
"point",
"1.05*f.In*d.i_r",
"3600 if f.In <= 63 else 2*3600"
],
[
"I2T",
{
"tms": 1,
"i_n": "d.i_r*f.In",
"i1": "1.05*f.In*d.i_r",
"i2": "d.i_m*d.i_r*f.In*0.9 if d.st_on else d.i_i*f.In*0.85",
"t_min": "max(0.001, d.t_m*0.8) if d.st_on else 0.001",
"n": 100,
"i_tol": "1.05*f.In*d.i_r*100-100",
"t_tol": -20,
"curve_type": -1,
"k_i2t": "d.ir_i2t**2*d.t_r"
}
],
[
"point",
"d.i_m*d.i_r*f.In*0.9 if d.st_on else d.i_i*f.In*0.85",
"max(0.001, d.t_m*0.8) if d.st_on else 0.001"
],
[
"point",
"d.i_i*f.In*0.85",
"max(0.001, d.t_m*0.8) if d.st_on else 0.001"
],
[
"point",
"d.i_i*f.In*0.85",
0.001
],
[
"point",
"1000*f.Isc",
0.001
]
],
"curve_u2": [
[
"point",
"d.i_m*d.i_r*f.In*1.1 if d.st_on else d.i_i*f.In*1.15",
"3600 if f.In <= 63 else 2*3600"
],
[
"point",
"d.i_m*d.i_r*f.In*1.1 if d.st_on else d.i_i*f.In*1.15",
"max(0.01, d.t_m*1.2) if d.st_on else 0.01"
],
[
"point",
"d.i_i*f.In*1.15",
"max(0.01, d.t_m*1.2) if d.st_on else 0.01"
],
[
"point",
"d.i_i*f.In*1.15",
0.01
],
[
"point",
"1000*f.Isc",
0.01
]
],
"curve_l2": [
[
"point",
"d.i_m*d.i_r*f.In*0.9 if d.st_on else d.i_i*f.In*0.85",
"3600 if f.In <= 63 else 2*3600"
],
[
"point",
"d.i_m*d.i_r*f.In*0.9 if d.st_on else d.i_i*f.In*0.85",
"max(0.001, d.t_m*0.8) if d.st_on else 0.001"
],
[
"point",
"d.i_i*f.In*0.85",
"max(0.001, d.t_m*0.8) if d.st_on else 0.001"
],
[
"point",
"d.i_i*f.In*0.85",
0.001
],
[
"point",
"1000*f.Isc",
0.001
]
]
},
"graph_model": []
}
2 changes: 1 addition & 1 deletion gelectrical/database/mccb_schneider/micrologic_l.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"t_r": [
"tr",
"",
"s",
16,
[
0.5,
Expand Down
Loading

0 comments on commit 47f475d

Please sign in to comment.