Skip to content

Commit

Permalink
Fix (updates): Move inserts to the proper files.
Browse files Browse the repository at this point in the history
  • Loading branch information
nkarki7 committed Jan 13, 2025
1 parent 1d79012 commit e22a209
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
3 changes: 2 additions & 1 deletion example/user/ud/ud_96_sample_elements.sql
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ INSERT INTO arc VALUES ('147', '147', '124', '125', 2.750, 2.540, NULL, NULL, NU
INSERT INTO arc VALUES ('335', '235', '123', '234', 3.000, 3.050, NULL, NULL, NULL, NULL, NULL, NULL, 19.110, 17.160, 'CONDUIT', 'RC200', 'Concret', 'CONDUIT', 1, 1, 2, NULL, NULL, NULL, 0.0487, false, NULL, 1, 'soil1', 'St. Function', 'St. Category', 'St. Fluid', 'St. Location', 'work2', NULL, 'builder1', '2017-12-05', NULL, 'owner1', 1, '08830', '1-10000C', NULL, NULL, NULL, NULL, NULL, NULL, 'https://www.giswater.org', '0', '0102000020E764000002000000355EBA49079B1941713D0AD73E75514148E17A14919B194114AE47C139755141', NULL, NULL, NULL, NULL, NULL, true, NULL, 1, NULL, 'ARC', '2021-09-05 15:42:47.93697', NULL, NULL, 'postgres', 1, NULL, NULL, 'Asphalt', NULL, 'RECT_MANHOLE', 22.110, 19.110, 'RECT_MANHOLE', 20.210, 17.160, NULL, NULL, NULL, NULL);
INSERT INTO arc VALUES ('244', '244', '301', '239', 2.000, 2.300, NULL, NULL, NULL, NULL, NULL, NULL, 17.000, 16.050, 'CONDUIT', 'CC060', 'PVC', 'CONDUIT', 1, 1, 2, NULL, NULL, NULL, 0.0340, false, NULL, 1, 'soil1', 'St. Function', 'St. Category', 'St. Fluid', 'St. Location', 'work2', NULL, 'builder1', '2017-12-05', NULL, 'owner1', 1, '08830', '1-10000C', NULL, NULL, NULL, NULL, NULL, NULL, 'https://www.giswater.org', '0', '0102000020E76400000200000076625D49949C19417133AD0B34755141DE1F148CC49C19412135B3BE2D755141', NULL, NULL, NULL, NULL, NULL, true, NULL, 1, NULL, 'ARC', '2021-09-05 15:42:47.93697', NULL, NULL, 'postgres', 1, NULL, NULL, 'Asphalt', NULL, 'VIRTUAL_NODE', 19.000, 14.240, 'RECT_MANHOLE', 18.350, 15.200, NULL, NULL, NULL, NULL);
INSERT INTO arc VALUES ('242', '242', '250', '239', 2.800, 3.150, NULL, NULL, NULL, NULL, NULL, NULL, 16.950, 15.200, 'CONDUIT', 'RC200', 'Concret', 'CONDUIT', 1, 1, 2, NULL, NULL, NULL, 0.0432, false, NULL, 1, 'soil1', 'St. Function', 'St. Category', 'St. Fluid', 'St. Location', 'work2', NULL, 'builder1', '2017-12-05', NULL, 'owner1', 1, '08830', '1-10000C', NULL, NULL, NULL, NULL, NULL, NULL, 'https://www.giswater.org', '0', '0102000020E76400000200000095560A733A9C19410D57FE0533755141DE1F148CC49C19412135B3BE2D755141', NULL, NULL, NULL, NULL, NULL, true, NULL, 1, NULL, 'ARC', '2021-09-05 15:42:47.93697', NULL, NULL, 'postgres', 1, NULL, NULL, 'Asphalt', NULL, 'VIRTUAL_NODE', 19.750, 16.750, 'RECT_MANHOLE', 18.350, 15.200, NULL, NULL, NULL, NULL);

INSERT INTO arc VALUES ('100014','300','237','239', 3.150, 2.700, NULL, NULL, NULL, NULL, NULL, NULL, 15.200, 17.050, 'CONDUIT', 'RC200', 'Virtual', 'CONDUIT',1,1,2,NULL, NULL, NULL,-0.0446,FALSE,null,1,'soil1','St. Function','St. Category','St. Fluid','St. Location','work2',null,'builder1','1993-05-23',null,'owner1',1,'08830','1-10000C',null,null,null,null,null,null,'https://www.giswater.org','0','0102000020E76400000300000040CF5EE0369C1941973AF7283375514195560A733A9C19410D57FE0533755141DE1F148CC49C19412135B3BE2D755141',null,null,null,null,null,TRUE,null,1,null,'ARC','2021-09-05 15:42:47.93697',null,null,'postgres',1,null,null,'Asphalt',1,'CHAMBER',19.750,16.750,'RECT_MANHOLE',18.350,15.200);

INSERT INTO connec VALUES ('19170', '19170', 42.5500, 1.6200, 1.2200, 'CONNEC', 'CC025_D', 2, 'cc19170', NULL, NULL, 1, 2, 1.500, 15.000, '18899', NULL, NULL, NULL, 3, 'soil1', 'St. Function', 'St. Category', 'St. Fluid', 'St. Location', NULL, NULL, 'builder1', '2017-12-05', NULL, 'owner1', 2, '08830', '1-10310C', 109, NULL, NULL, NULL, NULL, NULL, 'https://www.giswater.org', '0', 81.079, '0101000020E76400009520F35ADC8A1941EECDF04460765141', NULL, '5', NULL, 81.079, NULL, NULL, NULL, true, NULL, 2, NULL, 'CONNEC', '2021-09-05 15:42:47.93697', 'ARC', '18899', NULL, NULL, 'postgres', 'PVC', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO connec VALUES ('19171', '19171', 42.9100, 1.6200, 1.2200, 'CONNEC', 'CC025_D', 2, 'cc19171', NULL, NULL, 1, 2, 1.500, 14.988, '18899', NULL, NULL, NULL, 3, 'soil1', 'St. Function', 'St. Category', 'St. Fluid', 'St. Location', NULL, NULL, 'builder1', '2017-12-05', NULL, 'owner1', 2, '08830', '1-10310C', 111, NULL, NULL, NULL, NULL, NULL, 'https://www.giswater.org', '0', 81.079, '0101000020E764000014F977F3B08A19411341B6D85F765141', NULL, '5', NULL, 81.079, NULL, NULL, NULL, true, NULL, 2, NULL, 'CONNEC', '2021-09-05 15:42:47.93697', 'ARC', '18899', NULL, NULL, 'postgres', 'PVC', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
Expand Down Expand Up @@ -9275,6 +9275,7 @@ INSERT INTO man_chamber VALUES ('18868', NULL, NULL, NULL, NULL, NULL, NULL, NUL
INSERT INTO man_chamber VALUES ('237', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);


INSERT INTO man_conduit VALUES ('100014');
INSERT INTO man_conduit VALUES ('18777', NULL);
INSERT INTO man_conduit VALUES ('18776', NULL);
INSERT INTO man_conduit VALUES ('100011', NULL);
Expand Down
2 changes: 2 additions & 0 deletions example/user/ud/ud_97_sample_swmm.sql
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ INSERT INTO inp_subcatchment VALUES ('S37', '37', 'RG-01', 0.364908, 90.0000, 41
INSERT INTO inp_subcatchment VALUES ('S83', '83', 'RG-01', 0.312052, 90.0000, 36.8336, 5.4208, 84.5210, NULL, 0.0130, 0.0250, 3.2105, 0.0000, 0.0000, 'IMPERVIOUS', 100.0000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 83.0000, 0.0000, 10.0000, 1, 1, '0106000020E764000001000000010300000001000000070000008A796B9870951941BACA3B2C5175514130583D9F629519419F012B864E7551414A263E38C3931941A070951454755141C60CEAD6CC931941885456CE54755141361FF3C1799419415450C4C85B7551411B6171C511951941E58D21EA597551418A796B9870951941BACA3B2C51755141', NULL, NULL, NULL, NULL, NULL);
INSERT INTO inp_subcatchment VALUES ('S68', '68', 'RG-01', 0.480992, 90.0000, 51.8660, 4.4623, 92.5199, NULL, 0.0130, 0.0250, 3.5317, 0.0000, 0.0000, 'IMPERVIOUS', 100.0000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 81.2026, 0.0000, 10.0000, 1, 1, '0106000020E76400000100000001030000000100000008000000BA53E1521C931941D6F7D0893C7551413BA2D7E2379219412F9712894575514169630D60719219410DA5DE0F4B755141F8142F2B349319413820566554755141281A3B774D93194122D67ABE54755141D1AAC1E09493194172C11A5452755141F6DB69E0A2931941651BCCF94C755141BA53E1521C931941D6F7D0893C755141', NULL, NULL, NULL, NULL, NULL);

INSERT INTO inp_conduit VALUES ('100014');
INSERT INTO inp_conduit VALUES ('18776', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO inp_conduit VALUES ('18777', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO inp_conduit VALUES ('18889', NULL, NULL, NULL, NULL, NULL, NULL, 0.0000, 0.0000, NULL, NULL);
Expand Down Expand Up @@ -399,6 +400,7 @@ INSERT INTO inp_flwreg_weir VALUES (3, '18828', '18969', 1, 0.5, 'TRANSVERSE', 1
INSERT INTO inp_flwreg_weir VALUES (1, '237', '242', 1, 0.5, 'TRANSVERSE', 16.3500, 1.5000, NULL, NULL, 'NO', 2.0000, 2.0000, 0.0000, 0.0000, NULL, NULL, NULL, NULL, '237WE1');
INSERT INTO inp_flwreg_weir VALUES (2, '238', '244', 1, 1, 'TRANSVERSE', 29.0000, 1.5000, NULL, NULL, 'NO', 1.0000, 1.0000, 0.0000, 0.0000, NULL, NULL, NULL, NULL, '238WE1');


INSERT INTO inp_junction VALUES ('20598', 0.0000, 0.0000, 0.0000, '{"outfall_type":"NORMAL", "stage":"", "curve_id":"", "timser_id":"", "gate":"YES"}');
INSERT INTO inp_junction VALUES ('20599', 0.0000, 0.0000, 0.0000, NULL);
INSERT INTO inp_junction VALUES ('20607', 0.0000, 0.0000, 0.0000, NULL);
Expand Down
10 changes: 1 addition & 9 deletions example/user/ud/ud_99_sample_zfinal.sql
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,7 @@ DELETE FROM arc WHERE node_1 = '250';
DELETE FROM arc WHERE node_2 = '250';
DELETE FROM node WHERE node_id = '250';

INSERT INTO arc VALUES ('100014','300','237','239',3.150,2.700,null,null,null,null,null,null,15.200,17.050,'CONDUIT','RC200','Virtual','CONDUIT',1,1,2,null,null,
null,-0.0446,FALSE,null,1,'soil1','St. Function','St. Category','St. Fluid','St. Location','work2',null,'builder1','1993-05-23',null,'owner1',1,'08830','1-10000C',null,null,null,null,null,null
,'https://www.giswater.org','0','0102000020E76400000300000040CF5EE0369C1941973AF7283375514195560A733A9C19410D57FE0533755141DE1F148CC49C19412135B3BE2D755141',
null,null,null,null,null,TRUE,null,1,null,'ARC','2021-09-05 15:42:47.93697',null,null,'postgres',1,null,null,'Asphalt',1,'CHAMBER',19.750,16.750,'RECT_MANHOLE',18.350,15.200);
INSERT INTO man_conduit VALUES ('100014');
INSERT INTO inp_conduit VALUES ('100014');


INSERT INTO inp_flwreg_weir VALUES(1,'237', '100014',1,0.5,'TRANSVERSE', 16.35,1.5,null,null, 'NO', 2,1,0,0,null,null,null,null,'237WE1');
INSERT INTO inp_flwreg_weir VALUES (1,'237', '100014', 1, 0.5, 'TRANSVERSE', 16.3500, 1.5000, NULL, NULL, 'NO', 2.0000, 1.0000, 0.0000, 0.0000, NULL, NULL, NULL, NULL,'237WE1');


UPDATE config_param_user SET value ='PARTIAL' WHERE parameter = 'inp_options_inertial_damping';
Expand Down

0 comments on commit e22a209

Please sign in to comment.