Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeWithNominalLaminarFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeWithNominalLaminarFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeWithNominalLaminarFlow") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeWithNominalLaminarFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeWithNominalLaminarFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 109.9 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 187.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1646/0.1646, allocations: 38.01 MB / 308.6 MB, free: 5.992 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.05e-05, allocations: 2.281 kB / 433.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeWithNominalLaminarFlow): time 0.291/0.291, allocations: 96.66 MB / 0.5178 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03232/0.3234, allocations: 33.71 MB / 0.5508 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.3262, allocations: 76.66 kB / 0.5508 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.3289, allocations: 1.279 MB / 0.5521 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01938/0.3483, allocations: 7.483 MB / 0.5594 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01658/0.3649, allocations: 6.986 MB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01085/0.3758, allocations: 8.503 MB / 0.5745 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.3782, allocations: 1.517 MB / 0.576 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1034/0.4816, allocations: 50.42 MB / 0.6252 GB, free: 9.797 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.033/0.5147, allocations: 17.02 MB / 0.6419 GB, free: 8.875 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008973/0.5156, allocations: 220 kB / 0.6421 GB, free: 8.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.5315, allocations: 7.647 MB / 0.6495 GB, free: 1.082 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.006209/0.5377, allocations: 5.113 MB / 0.6545 GB, free: 12.23 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.002836/0.5406, allocations: 3.307 MB / 0.6578 GB, free: 9.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008678/0.5415, allocations: 402.9 kB / 0.6581 GB, free: 8.672 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0003313/0.5418, allocations: 58.64 kB / 0.6582 GB, free: 8.617 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3224 (369) * Number of variables: 12424 (420) Notification: Performance of Bindings: time 0.01701/0.5588, allocations: 16.94 MB / 0.6747 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.001224/0.5601, allocations: 1.243 MB / 0.6759 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.007605/0.5677, allocations: 7.879 MB / 0.6836 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0004784/0.5682, allocations: 366.5 kB / 0.684 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of Alias: time 0.005855/0.574, allocations: 5.635 MB / 0.6895 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of simplify2: time 0.000517/0.5746, allocations: 372.2 kB / 0.6898 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of Events: time 0.001981/0.5765, allocations: 1.943 MB / 0.6917 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of Detect States: time 0.002019/0.5786, allocations: 2.181 MB / 0.6939 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.003334/0.5819, allocations: 3.332 MB / 0.6971 GB, free: 216 kB / 0.5137 GB Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (8) pipeN10.Wb_flows[2:9] = {pipeN10.vs[i] * pipeN10.crossAreas[i] * ((pipeN10.mediums[i + 1].p - pipeN10.mediums[i - 1].p) / 2.0 + (pipeN10.flowModel.dps_fg[i - 1] + pipeN10.flowModel.dps_fg[i]) / 2.0) for i in 2:9} .* pipeN10.nParallel ($RES_SIM_355) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (374/12252) ****************************** (1) [ALGB] (10) Real[10] pipeN10.mediums.state.d (start = {150.0 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, max = {1e5 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}) (2) [DER-] (10) Real[10] $DER.pipeN10.flowModel.m_flows (3) [DISC] (10) Boolean[10] $SEV_46[$i1] (4) [ALGB] (10) Real[10] pipeN10.mediums.state.T (start = {500.0 for $i1 in 1:10}, min = {273.15 for $i1 in 1:10}, max = {2273.15 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}) (5) [ALGB] (1) stream Real pipeN10.port_b.h_outflow (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (6) [ALGB] (20) Real[20] pipeN20.heatTransfer.Q_flows (7) [ALGB] (20) protected Real[20] pipeN20.dheightsFM (8) [ALGB] (20) Real[20] pipeN20.Hb_flows (9) [ALGB] (10) Real[10] pipeN10nParallel10.heatTransfer.Q_flows (10) [DER-] (10) Real[10] $DER.pipeN10.mediums.p (11) [DISC] (1) Integer boundary4.medium.state.phase (min = 0, max = 2) (12) [ALGB] (10) Real[10] pipeN10nParallel10.Wb_flows (13) [DISC] (121) Integer[11, 11] pipeN10.statesFM.phase (min = {0 for $i1 in 1:11}, max = {2 for $i1 in 1:11}) (14) [ALGB] (10) Real[10] pipeN10nParallel10.heatTransfer.Ts = {ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeWithNominalLaminarFlow.pipeN10nParallel10.heatTransfer.Medium.temperature(pipeN10nParallel10.heatTransfer.states[$i1]) for $i1 in 1:10} (start = {288.15 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, nominal = {300.0 for $i1 in 1:10}) (15) [ALGB] (1) Real pipeN10.state_a.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (16) [DER-] (10) Real[10] $DER.pipeN10.mediums.h (17) [DISC] (20) Boolean[20] $SEV_32[$i1] (18) [DER-] (10) Real[10] $DER.pipeN10.flowModel.Is (19) [DER-] (10) Real[10] $DER.pipeN10nParallel10.mediums.p (20) [ALGB] (1) Real boundary5.medium.u (min = -1e8, max = 1e8, nominal = 1e6) (21) [ALGB] (1) Real boundary5.medium.sat.Tsat (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (22) [ALGB] (1) Real pipeN10.state_a.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0) (23) [ALGB] (1) Real pipeN10.state_a.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (24) [DER-] (10) Real[10] $DER.pipeN10nParallel10.mediums.h (25) [DISC] (10) Boolean[10] $SEV_45[$i1] (26) [ALGB] (20) Real[20] pipeN20.mediums.T_degC = {Modelica.SIunits.Conversions.to_degC(pipeN20.mediums[$mediums1].T) for $mediums1 in 1:20} (27) [ALGB] (20) final Real[20] pipeN20.flowModel.dheights = pipeN20.dheightsFM (28) [ALGB] (1) Real boundary.medium.sat.psat (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (29) [DISC] (10) Boolean[10] $SEV_17[$i1] (30) [ALGB] (10) protected Real[10] pipeN10.pathLengths (31) [ALGB] (1) Real boundary5.medium.h (StateSelect = default) (32) [ALGB] (1) Real pipeN10.state_a.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (33) [DER-] (10) Real[10] $DER.pipeN10.Us (34) [ALGB] (1) Real boundary5.medium.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0, StateSelect = default) (35) [ALGB] (1) Real pipeN10.port_a.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (36) [ALGB] (21) Real[21] pipeN20.H_flows (min = {-1e8 for $i1 in 1:21}, max = {1e8 for $i1 in 1:21}, nominal = {1000.0 for $i1 in 1:21}) (37) [ALGB] (20) Real[20] pipeN20.Qb_flows (38) [ALGB] (1) Real boundary2.medium.u (min = -1e8, max = 1e8, nominal = 1e6) (39) [ALGB] (10) protected Real[10] pipeN10.dheightsFM (40) [ALGB] (1) Real pipeN10nParallel10.port_b.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (41) [ALGB] (1) Real pipeN10.state_b.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (42) [ALGB] (10) protected Real[10] pipeN10nParallel10.dheightsFM (43) [DISC] (441) Integer[21, 21] pipeN20.statesFM.phase (min = {0 for $i1 in 1:21}, max = {2 for $i1 in 1:21}) (44) [ALGB] (10) Real[10] pipeN10nParallel10.flowModel.mus_act (start = {0.001 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, max = {1e8 for $i1 in 1:10}, nominal = {0.001 for $i1 in 1:10}) (45) [DISC] (20) Boolean[20] $SEV_31[$i1] (46) [DISC] (1) Integer boundary4.medium.phase (fixed = false, start = 1, min = 0, max = 2) (47) [ALGB] (20) Real[20] pipeN20.mediums.state.T (start = {500.0 for $i1 in 1:20}, min = {273.15 for $i1 in 1:20}, max = {2273.15 for $i1 in 1:20}, nominal = {500.0 for $i1 in 1:20}) (48) [ALGB] (1) flow Real[1] boundary2.ports.m_flow (min = {-1e60}, max = {1e60}) (49) [ALGB] (1) Real boundary2.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * boundary2.medium.p_bar) (50) [ALGB] (1) Real boundary2.medium.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0, StateSelect = default) (51) [ALGB] (1) Real pipeN20.state_a.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (52) [ALGB] (10) Real[10] pipeN10.mediums.T (start = {536.6860121646412 for $mediums1 in 1:10}, min = {273.15 for $i1 in 1:10}, max = {2273.15 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}, StateSelect = default) (53) [ALGB] (10) final Real[10] pipeN10.flowModel.pathLengths = pipeN10.pathLengths (54) [ALGB] (1) Real pipeN10.state_b.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0) (55) [ALGB] (400) final input Real[20, 20] pipeN20.heatTransfer.states.T = {pipeN20.mediums[1].state.T, pipeN20.mediums[2].state.T, pipeN20.mediums[3].state.T, pipeN20.mediums[4].state.T, pipeN20.mediums[5].state.T, pipeN20.mediums[6].state.T, pipeN20.mediums[7].state.T, pipeN20.mediums[8].state.T, pipeN20.mediums[9].state.T, pipeN20.mediums[10].state.T, pipeN20.mediums[11].state.T, pipeN20.mediums[12].state.T, pipeN20.mediums[13].state.T, pipeN20.mediums[14].state.T, pipeN20.mediums[15].state.T, pipeN20.mediums[16].state.T, pipeN20.mediums[17].state.T, pipeN20.mediums[18].state.T, pipeN20.mediums[19].state.T, pipeN20.mediums[20].state.T} (start = {500.0 for $i1 in 1:20}, min = {273.15 for $i1 in 1:20}, max = {2273.15 for $i1 in 1:20}, nominal = {500.0 for $i1 in 1:20}) (56) [ALGB] (1) flow Real pipeN20.port_a.m_flow (min = -1e60, max = 1e5) (57) [ALGB] (1) Real pipeN10.state_b.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (58) [ALGB] (10) Real[10] pipeN10nParallel10.flowModel.dps_fg (start = {1e4 for $i1 in 1:10}) (59) [DISC] (10) Boolean[10] $SEV_16[$i1] (60) [ALGB] (20) Real[20] pipeN20.mediums.state.d (start = {150.0 for $i1 in 1:20}, min = {0.0 for $i1 in 1:20}, max = {1e5 for $i1 in 1:20}, nominal = {500.0 for $i1 in 1:20}) (61) [ALGB] (10) Real[10] pipeN10.mediums.sat.Tsat (start = {500.0 for $i1 in 1:10}, min = {273.15 for $i1 in 1:10}, max = {2273.15 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}) (62) [ALGB] (1) Real boundary2.medium.sat.Tsat (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (63) [DISC] (10) Integer[10] pipeN10.mediums.phase (fixed = {false for $i1 in 1:10}, start = {1 for $i1 in 1:10}, min = {0 for $i1 in 1:10}, max = {2 for $i1 in 1:10}) (64) [ALGB] (1) Real pipeN10.state_b.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (65) [ALGB] (1) Real pipeN20.state_a.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0) (66) [ALGB] (20) Real[20] pipeN20.mediums.state.h (start = {1e5 for $i1 in 1:20}, min = {-1e10 for $i1 in 1:20}, max = {1e10 for $i1 in 1:20}, nominal = {5e5 for $i1 in 1:20}) (67) [DISC] (20) Integer[20] pipeN20.mediums.state.phase (min = {0 for $i1 in 1:20}, max = {2 for $i1 in 1:20}) (68) [ALGB] (1) Real boundary5.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - boundary5.medium.T_degC)) (69) [ALGB] (10) Real[10] pipeN10.mediums.d (start = {150.0 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, max = {1e5 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}, StateSelect = default) (70) [ALGB] (400) final input Real[20, 20] pipeN20.heatTransfer.states.d = {pipeN20.mediums[1].state.d, pipeN20.mediums[2].state.d, pipeN20.mediums[3].state.d, pipeN20.mediums[4].state.d, pipeN20.mediums[5].state.d, pipeN20.mediums[6].state.d, pipeN20.mediums[7].state.d, pipeN20.mediums[8].state.d, pipeN20.mediums[9].state.d, pipeN20.mediums[10].state.d, pipeN20.mediums[11].state.d, pipeN20.mediums[12].state.d, pipeN20.mediums[13].state.d, pipeN20.mediums[14].state.d, pipeN20.mediums[15].state.d, pipeN20.mediums[16].state.d, pipeN20.mediums[17].state.d, pipeN20.mediums[18].state.d, pipeN20.mediums[19].state.d, pipeN20.mediums[20].state.d} (start = {150.0 for $i1 in 1:20}, min = {0.0 for $i1 in 1:20}, max = {1e5 for $i1 in 1:20}, nominal = {500.0 for $i1 in 1:20}) (71) [ALGB] (1) Real pipeN20.state_a.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (72) [ALGB] (1) Real pipeN10.port_b.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (73) [DER-] (10) Real[10] $DER.pipeN10nParallel10.flowModel.m_flows (74) [ALGB] (400) final input Real[20, 20] pipeN20.heatTransfer.states.h = {pipeN20.mediums[1].state.h, pipeN20.mediums[2].state.h, pipeN20.mediums[3].state.h, pipeN20.mediums[4].state.h, pipeN20.mediums[5].state.h, pipeN20.mediums[6].state.h, pipeN20.mediums[7].state.h, pipeN20.mediums[8].state.h, pipeN20.mediums[9].state.h, pipeN20.mediums[10].state.h, pipeN20.mediums[11].state.h, pipeN20.mediums[12].state.h, pipeN20.mediums[13].state.h, pipeN20.mediums[14].state.h, pipeN20.mediums[15].state.h, pipeN20.mediums[16].state.h, pipeN20.mediums[17].state.h, pipeN20.mediums[18].state.h, pipeN20.mediums[19].state.h, pipeN20.mediums[20].state.h} (start = {1e5 for $i1 in 1:20}, min = {-1e10 for $i1 in 1:20}, max = {1e10 for $i1 in 1:20}, nominal = {5e5 for $i1 in 1:20}) (75) [ALGB] (20) Real[20] pipeN20.mediums.state.p (start = {5e6 for $i1 in 1:20}, min = {611.657 for $i1 in 1:20}, max = {1e8 for $i1 in 1:20}, nominal = {1e6 for $i1 in 1:20}) (76) [DISC] (20) Boolean[20] $SEV_29[$i1] (77) [ALGB] (1) Real boundary4.medium.sat.psat (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (78) [ALGB] (1) Real pipeN20.state_a.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (79) [ALGB] (10) Real[10] pipeN10.heatTransfer.Q_flows (80) [DISC] (1) Integer boundary2.medium.state.phase (min = 0, max = 2) (81) [ALGB] (400) final input Real[20, 20] pipeN20.heatTransfer.states.p = {pipeN20.mediums[1].state.p, pipeN20.mediums[2].state.p, pipeN20.mediums[3].state.p, pipeN20.mediums[4].state.p, pipeN20.mediums[5].state.p, pipeN20.mediums[6].state.p, pipeN20.mediums[7].state.p, pipeN20.mediums[8].state.p, pipeN20.mediums[9].state.p, pipeN20.mediums[10].state.p, pipeN20.mediums[11].state.p, pipeN20.mediums[12].state.p, pipeN20.mediums[13].state.p, pipeN20.mediums[14].state.p, pipeN20.mediums[15].state.p, pipeN20.mediums[16].state.p, pipeN20.mediums[17].state.p, pipeN20.mediums[18].state.p, pipeN20.mediums[19].state.p, pipeN20.mediums[20].state.p} (start = {5e6 for $i1 in 1:20}, min = {611.657 for $i1 in 1:20}, max = {1e8 for $i1 in 1:20}, nominal = {1e6 for $i1 in 1:20}) (82) [ALGB] (1) Real pipeN10nParallel10.port_a.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (83) [DISC] (20) Boolean[20] $SEV_30[$i1] (84) [DISC] (441) final input Integer[21, 21] pipeN20.flowModel.states.phase = {pipeN20.statesFM[1].phase, pipeN20.statesFM[2].phase, pipeN20.statesFM[3].phase, pipeN20.statesFM[4].phase, pipeN20.statesFM[5].phase, pipeN20.statesFM[6].phase, pipeN20.statesFM[7].phase, pipeN20.statesFM[8].phase, pipeN20.statesFM[9].phase, pipeN20.statesFM[10].phase, pipeN20.statesFM[11].phase, pipeN20.statesFM[12].phase, pipeN20.statesFM[13].phase, pipeN20.statesFM[14].phase, pipeN20.statesFM[15].phase, pipeN20.statesFM[16].phase, pipeN20.statesFM[17].phase, pipeN20.statesFM[18].phase, pipeN20.statesFM[19].phase, pipeN20.statesFM[20].phase, pipeN20.statesFM[21].phase} (min = {0 for $i1 in 1:21}, max = {2 for $i1 in 1:21}) (85) [ALGB] (11) Real[11] pipeN10nParallel10.flowModel.mus = {pipeN10nParallel10.flowModel.mu_nominal for $i1 in 1:11} (start = {0.001 for $i1 in 1:11}, min = {0.0 for $i1 in 1:11}, max = {1e8 for $i1 in 1:11}, nominal = {0.001 for $i1 in 1:11}) (86) [ALGB] (10) Real[10] pipeN10.mediums.u (min = {-1e8 for $i1 in 1:10}, max = {1e8 for $i1 in 1:10}, nominal = {1e6 for $i1 in 1:10}) (87) [ALGB] (10) Real[10] pipeN10.mediums.T_degC = {Modelica.SIunits.Conversions.to_degC(pipeN10.mediums[$mediums1].T) for $mediums1 in 1:10} (88) [ALGB] (1) stream Real[1] boundary5.ports.h_outflow (start = {1e5 for $i1 in 1:1}, min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {5e5 for $i1 in 1:1}) (89) [DISC] (1) Integer boundary.medium.phase (fixed = false, start = 1, min = 0, max = 2) (90) [ALGB] (1) Real pipeN20.state_b.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (91) [DISC] (10) Boolean[10] $SEV_43[$i1] (92) [DISC] (10) Boolean[10] $SEV_15[$i1] (93) [ALGB] (1) flow Real pipeN10nParallel10.port_b.m_flow (min = -1e5, max = 1e60) (94) [ALGB] (10) Real[10] pipeN10nParallel10.heatTransfer.heatPorts.T (start = {288.15 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, nominal = {300.0 for $i1 in 1:10}) (95) [ALGB] (1) stream Real[1] boundary3.ports.h_outflow (start = {1e5 for $i1 in 1:1}, min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {5e5 for $i1 in 1:1}) (96) [ALGB] (10) Real[10] pipeN10.heatTransfer.Ts = {ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeWithNominalLaminarFlow.pipeN10.heatTransfer.Medium.temperature(pipeN10.heatTransfer.states[$i1]) for $i1 in 1:10} (start = {288.15 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, nominal = {300.0 for $i1 in 1:10}) (97) [ALGB] (1) Real pipeN20.state_b.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0) (98) [ALGB] (20) Real[20] pipeN20.mediums.T (start = {536.6860121646412 for $mediums1 in 1:20}, min = {273.15 for $i1 in 1:20}, max = {2273.15 for $i1 in 1:20}, nominal = {500.0 for $i1 in 1:20}, StateSelect = default) (99) [ALGB] (20) final Real[20] pipeN20.fluidVolumes = {pipeN20.crossAreas[i] * 5.0 for i in 1:20} .* pipeN20.nParallel (100) [ALGB] (10) Real[10] pipeN10nParallel10.vs = {(0.5 * (pipeN10nParallel10.m_flows[1 + i] + pipeN10nParallel10.m_flows[i])) / (pipeN10nParallel10.crossAreas[i] * pipeN10nParallel10.mediums[i].d) for i in 1:10} / pipeN10nParallel10.nParallel (101) [ALGB] (1) Real pipeN20.state_b.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (102) [ALGB] (1) flow Real pipeN20.port_b.m_flow (min = -1e5, max = 1e60) (103) [ALGB] (10) Real[10] pipeN10.Wb_flows (104) [ALGB] (11) Real[11] pipeN10nParallel10.H_flows (min = {-1e8 for $i1 in 1:11}, max = {1e8 for $i1 in 1:11}, nominal = {1000.0 for $i1 in 1:11}) (105) [ALGB] (10) final Real[10] pipeN10.flowModel.dheights = pipeN10.dheightsFM (106) [ALGB] (1) flow Real pipeN10.port_b.m_flow (min = -1e5, max = 1e60) (107) [DISC] (10) Integer[10] pipeN10nParallel10.mediums.state.phase (min = {0 for $i1 in 1:10}, max = {2 for $i1 in 1:10}) (108) [ALGB] (1) Real pipeN20.state_b.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (109) [ALGB] (20) Real[20] pipeN20.mediums.d (start = {150.0 for $i1 in 1:20}, min = {0.0 for $i1 in 1:20}, max = {1e5 for $i1 in 1:20}, nominal = {500.0 for $i1 in 1:20}, StateSelect = default) (110) [ALGB] (11) final Real[11] pipeN10.flowModel.vs = pipeN10.vsFM (111) [ALGB] (100) final input Real[10, 10] pipeN10nParallel10.heatTransfer.states.T = {pipeN10nParallel10.mediums[1].state.T, pipeN10nParallel10.mediums[2].state.T, pipeN10nParallel10.mediums[3].state.T, pipeN10nParallel10.mediums[4].state.T, pipeN10nParallel10.mediums[5].state.T, pipeN10nParallel10.mediums[6].state.T, pipeN10nParallel10.mediums[7].state.T, pipeN10nParallel10.mediums[8].state.T, pipeN10nParallel10.mediums[9].state.T, pipeN10nParallel10.mediums[10].state.T} (start = {500.0 for $i1 in 1:10}, min = {273.15 for $i1 in 1:10}, max = {2273.15 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}) (112) [ALGB] (1) Real boundary3.medium.sat.Tsat (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (113) [ALGB] (1) Real boundary4.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * boundary4.medium.p_bar) (114) [ALGB] (1) flow Real[1] boundary4.ports.m_flow (min = {-1e60}, max = {1e60}) (115) [DER-] (20) Real[20] $DER.pipeN20.Us (116) [DISC] (10) Boolean[10] $SEV_14[$i1] (117) [ALGB] (20) Real[20] pipeN20.mediums.u (min = {-1e8 for $i1 in 1:20}, max = {1e8 for $i1 in 1:20}, nominal = {1e6 for $i1 in 1:20}) (118) [ALGB] (10) Real[10] pipeN10nParallel10.mediums.sat.Tsat (start = {500.0 for $i1 in 1:10}, min = {273.15 for $i1 in 1:10}, max = {2273.15 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}) (119) [ALGB] (441) Real[21, 21] pipeN20.statesFM.p (start = {5e6 for $i1 in 1:21}, min = {611.657 for $i1 in 1:21}, max = {1e8 for $i1 in 1:21}, nominal = {1e6 for $i1 in 1:21}) (120) [ALGB] (11) protected Real[11] pipeN10nParallel10.vsFM (121) [ALGB] (100) final input Real[10, 10] pipeN10nParallel10.heatTransfer.states.d = {pipeN10nParallel10.mediums[1].state.d, pipeN10nParallel10.mediums[2].state.d, pipeN10nParallel10.mediums[3].state.d, pipeN10nParallel10.mediums[4].state.d, pipeN10nParallel10.mediums[5].state.d, pipeN10nParallel10.mediums[6].state.d, pipeN10nParallel10.mediums[7].state.d, pipeN10nParallel10.mediums[8].state.d, pipeN10nParallel10.mediums[9].state.d, pipeN10nParallel10.mediums[10].state.d} (start = {150.0 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, max = {1e5 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}) (122) [ALGB] (1) Real pipeN10nParallel10.state_a.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (123) [DISC] (121) Integer[11, 11] pipeN10nParallel10.statesFM.phase (min = {0 for $i1 in 1:11}, max = {2 for $i1 in 1:11}) (124) [ALGB] (1) Real boundary3.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - boundary3.medium.T_degC)) (125) [ALGB] (100) final input Real[10, 10] pipeN10nParallel10.heatTransfer.states.h = {pipeN10nParallel10.mediums[1].state.h, pipeN10nParallel10.mediums[2].state.h, pipeN10nParallel10.mediums[3].state.h, pipeN10nParallel10.mediums[4].state.h, pipeN10nParallel10.mediums[5].state.h, pipeN10nParallel10.mediums[6].state.h, pipeN10nParallel10.mediums[7].state.h, pipeN10nParallel10.mediums[8].state.h, pipeN10nParallel10.mediums[9].state.h, pipeN10nParallel10.mediums[10].state.h} (start = {1e5 for $i1 in 1:10}, min = {-1e10 for $i1 in 1:10}, max = {1e10 for $i1 in 1:10}, nominal = {5e5 for $i1 in 1:10}) (126) [ALGB] (1) stream Real pipeN10nParallel10.port_b.h_outflow (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (127) [ALGB] (441) Real[21, 21] pipeN20.statesFM.h (start = {1e5 for $i1 in 1:21}, min = {-1e10 for $i1 in 1:21}, max = {1e10 for $i1 in 1:21}, nominal = {5e5 for $i1 in 1:21}) (128) [ALGB] (10) Real[10] pipeN10.mediums.p_bar = {Modelica.SIunits.Conversions.to_bar(pipeN10.mediums[$mediums1].p) for $mediums1 in 1:10} (129) [DISC] (20) Boolean[20] $SEV_27[$i1] (130) [ALGB] (441) Real[21, 21] pipeN20.statesFM.d (start = {150.0 for $i1 in 1:21}, min = {0.0 for $i1 in 1:21}, max = {1e5 for $i1 in 1:21}, nominal = {500.0 for $i1 in 1:21}) (131) [ALGB] (100) final input Real[10, 10] pipeN10nParallel10.heatTransfer.states.p = {pipeN10nParallel10.mediums[1].state.p, pipeN10nParallel10.mediums[2].state.p, pipeN10nParallel10.mediums[3].state.p, pipeN10nParallel10.mediums[4].state.p, pipeN10nParallel10.mediums[5].state.p, pipeN10nParallel10.mediums[6].state.p, pipeN10nParallel10.mediums[7].state.p, pipeN10nParallel10.mediums[8].state.p, pipeN10nParallel10.mediums[9].state.p, pipeN10nParallel10.mediums[10].state.p} (start = {5e6 for $i1 in 1:10}, min = {611.657 for $i1 in 1:10}, max = {1e8 for $i1 in 1:10}, nominal = {1e6 for $i1 in 1:10}) (132) [ALGB] (10) Real[10] pipeN10nParallel10.mb_flows (min = {-1e5 for $i1 in 1:10}, max = {1e5 for $i1 in 1:10}) (133) [ALGB] (1) flow Real pipeN10nParallel10.port_a.m_flow (min = -1e60, max = 1e5) (134) [DISC] (1) Integer boundary1.medium.phase (fixed = false, start = 1, min = 0, max = 2) (135) [ALGB] (1) Real pipeN10nParallel10.state_a.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0) (136) [DISC] (1) Integer boundary3.medium.state.phase (min = 0, max = 2) (137) [DER-] (10) Real[10] $DER.pipeN10nParallel10.Us (138) [ALGB] (1) Real pipeN10nParallel10.state_a.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (139) [ALGB] (11) protected Real[11] pipeN10.crossAreasFM (140) [ALGB] (441) Real[21, 21] pipeN20.statesFM.T (start = {500.0 for $i1 in 1:21}, min = {273.15 for $i1 in 1:21}, max = {2273.15 for $i1 in 1:21}, nominal = {500.0 for $i1 in 1:21}) (141) [ALGB] (10) protected Real[10] pipeN10nParallel10.pathLengths (142) [ALGB] (1) Real pipeN10nParallel10.state_a.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (143) [ALGB] (1) Real boundary2.medium.state.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (144) [ALGB] (1) stream Real[1] boundary2.ports.h_outflow (start = {1e5 for $i1 in 1:1}, min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {5e5 for $i1 in 1:1}) (145) [DISC] (10) Boolean[10] $SEV_41[$i1] (146) [ALGB] (1) stream Real pipeN20.port_b.h_outflow (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (147) [ALGB] (1) flow Real pipeN10.port_a.m_flow (min = -1e60, max = 1e5) (148) [ALGB] (20) Real[20] pipeN20.mediums.sat.psat (start = {5e6 for $i1 in 1:20}, min = {611.657 for $i1 in 1:20}, max = {1e8 for $i1 in 1:20}, nominal = {1e6 for $i1 in 1:20}) (149) [DISC] (10) Boolean[10] $SEV_13[$i1] (150) [ALGB] (1) flow Real[1] boundary.ports.m_flow (min = {-1e60}, max = {1e60}) (151) [ALGB] (1) Real boundary.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * boundary.medium.p_bar) (152) [ALGB] (1) Real boundary5.medium.sat.psat (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (153) [ALGB] (10) final Real[10] pipeN10.heatTransfer.vs = pipeN10.vs (154) [ALGB] (1) Real boundary3.medium.u (min = -1e8, max = 1e8, nominal = 1e6) (155) [ALGB] (1) Real boundary2.medium.state.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0) (156) [ALGB] (1) Real pipeN10nParallel10.state_b.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (157) [ALGB] (121) Real[11, 11] pipeN10nParallel10.statesFM.p (start = {5e6 for $i1 in 1:11}, min = {611.657 for $i1 in 1:11}, max = {1e8 for $i1 in 1:11}, nominal = {1e6 for $i1 in 1:11}) (158) [DISC] (1) Integer boundary1.medium.state.phase (min = 0, max = 2) (159) [ALGB] (1) stream Real[1] boundary4.ports.h_outflow (start = {1e5 for $i1 in 1:1}, min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {5e5 for $i1 in 1:1}) (160) [ALGB] (1) Real boundary2.medium.state.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (161) [ALGB] (1) Real boundary3.medium.h (StateSelect = default) (162) [ALGB] (10) final Real[10] pipeN10nParallel10.fluidVolumes = {pipeN10nParallel10.crossAreas[i] * 10.0 for i in 1:10} .* pipeN10nParallel10.nParallel (163) [ALGB] (1) stream Real pipeN10.port_a.h_outflow (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (164) [ALGB] (20) Real[20] pipeN20.vs = {(0.5 * (pipeN20.m_flows[1 + i] + pipeN20.m_flows[i])) / (pipeN20.crossAreas[i] * pipeN20.mediums[i].d) for i in 1:20} / pipeN20.nParallel (165) [ALGB] (1) Real boundary3.medium.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0, StateSelect = default) (166) [ALGB] (21) final Real[21] pipeN20.flowModel.crossAreas = pipeN20.crossAreasFM (167) [ALGB] (1) Real pipeN10nParallel10.state_b.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0) (168) [ALGB] (10) Real[10] pipeN10nParallel10.mediums.T (start = {536.6860121646412 for $mediums1 in 1:10}, min = {273.15 for $i1 in 1:10}, max = {2273.15 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}, StateSelect = default) (169) [ALGB] (121) Real[11, 11] pipeN10nParallel10.statesFM.h (start = {1e5 for $i1 in 1:11}, min = {-1e10 for $i1 in 1:11}, max = {1e10 for $i1 in 1:11}, nominal = {5e5 for $i1 in 1:11}) (170) [ALGB] (10) final Real[10] pipeN10nParallel10.flowModel.dheights = pipeN10nParallel10.dheightsFM (171) [ALGB] (10) flow Real[10] pipeN10nParallel10.heatTransfer.heatPorts.Q_flow (172) [ALGB] (21) protected Real[21] pipeN20.crossAreasFM (173) [DISC] (1) Boolean $SEV_8 (174) [ALGB] (10) Real[10] pipeN10.Hb_flows (175) [ALGB] (1) Real pipeN10nParallel10.state_b.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (176) [ALGB] (121) Real[11, 11] pipeN10nParallel10.statesFM.d (start = {150.0 for $i1 in 1:11}, min = {0.0 for $i1 in 1:11}, max = {1e5 for $i1 in 1:11}, nominal = {500.0 for $i1 in 1:11}) (177) [ALGB] (20) Real[20] pipeN20.heatTransfer.Ts = {ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeWithNominalLaminarFlow.pipeN20.heatTransfer.Medium.temperature(pipeN20.heatTransfer.states[$i1]) for $i1 in 1:20} (start = {288.15 for $i1 in 1:20}, min = {0.0 for $i1 in 1:20}, nominal = {300.0 for $i1 in 1:20}) (178) [ALGB] (20) Real[20] pipeN20.flowModel.Fs_fg (179) [DISC] (1) Boolean $SEV_5 (180) [DISC] (1) Boolean $SEV_4 (181) [DISC] (100) final input Integer[10, 10] pipeN10.heatTransfer.states.phase = {pipeN10.mediums[1].state.phase, pipeN10.mediums[2].state.phase, pipeN10.mediums[3].state.phase, pipeN10.mediums[4].state.phase, pipeN10.mediums[5].state.phase, pipeN10.mediums[6].state.phase, pipeN10.mediums[7].state.phase, pipeN10.mediums[8].state.phase, pipeN10.mediums[9].state.phase, pipeN10.mediums[10].state.phase} (min = {0 for $i1 in 1:10}, max = {2 for $i1 in 1:10}) (182) [ALGB] (10) flow Real[10] pipeN10.heatTransfer.heatPorts.Q_flow (183) [ALGB] (1) Real boundary1.medium.state.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (184) [DISC] (1) Boolean $SEV_1 (185) [DISC] (1) Boolean $SEV_0 (186) [ALGB] (1) Real pipeN10nParallel10.state_b.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (187) [ALGB] (20) Real[20] pipeN20.mb_flows (min = {-1e5 for $i1 in 1:20}, max = {1e5 for $i1 in 1:20}) (188) [ALGB] (20) protected Real[20] pipeN20.pathLengths (189) [ALGB] (10) Real[10] pipeN10nParallel10.mediums.d (start = {150.0 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, max = {1e5 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}, StateSelect = default) (190) [ALGB] (1) Real boundary1.medium.state.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (191) [ALGB] (121) Real[11, 11] pipeN10nParallel10.statesFM.T (start = {500.0 for $i1 in 1:11}, min = {273.15 for $i1 in 1:11}, max = {2273.15 for $i1 in 1:11}, nominal = {500.0 for $i1 in 1:11}) (192) [ALGB] (1) Real boundary2.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - boundary2.medium.T_degC)) (193) [ALGB] (1) Real boundary1.medium.state.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0) (194) [ALGB] (20) Real[20] pipeN20.flowModel.mus_act (start = {0.001 for $i1 in 1:20}, min = {0.0 for $i1 in 1:20}, max = {1e8 for $i1 in 1:20}, nominal = {0.001 for $i1 in 1:20}) (195) [ALGB] (1) Real boundary1.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - boundary1.medium.T_degC)) (196) [ALGB] (11) Real[11] pipeN10nParallel10.m_flows (start = {1.0 for $i1 in 1:11}, min = {-1e60 for $i1 in 1:11}, max = {1e5 for $i1 in 1:11}) (197) [DISC] (20) Boolean[20] $SEV_25[$i1] (198) [ALGB] (10) Real[10] pipeN10nParallel10.mediums.u (min = {-1e8 for $i1 in 1:10}, max = {1e8 for $i1 in 1:10}, nominal = {1e6 for $i1 in 1:10}) (199) [ALGB] (10) Real[10] pipeN10nParallel10.flowModel.Fs_p (200) [ALGB] (10) Real[10] pipeN10nParallel10.mediums.p_bar = {Modelica.SIunits.Conversions.to_bar(pipeN10nParallel10.mediums[$mediums1].p) for $mediums1 in 1:10} (201) [ALGB] (1) Real boundary1.medium.state.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (202) [ALGB] (1) Real boundary1.medium.sat.Tsat (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (203) [ALGB] (11) Real[11] pipeN10nParallel10.flowModel.rhos = {ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeWithNominalLaminarFlow.pipeN10nParallel10.flowModel.Medium.density(pipeN10nParallel10.flowModel.states[$i1]) for $i1 in 1:11} (start = {150.0 for $i1 in 1:11}, min = {0.0 for $i1 in 1:11}, max = {1e5 for $i1 in 1:11}, nominal = {500.0 for $i1 in 1:11}) (204) [ALGB] (21) final Real[21] pipeN20.flowModel.vs = pipeN20.vsFM (205) [ALGB] (10) Real[10] pipeN10.flowModel.rhos_act (start = {150.0 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, max = {1e5 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}) (206) [DER-] (10) Real[10] $DER.pipeN10nParallel10.flowModel.Is (207) [DISC] (1) Integer boundary3.medium.phase (fixed = false, start = 1, min = 0, max = 2) (208) [ALGB] (11) protected Real[11] pipeN10.vsFM (209) [ALGB] (1) flow Real[1] boundary1.ports.m_flow (min = {-1e60}, max = {1e60}) (210) [ALGB] (1) Real boundary1.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * boundary1.medium.p_bar) (211) [ALGB] (10) Real[10] pipeN10.Qb_flows (212) [ALGB] (1) stream Real[1] boundary.ports.h_outflow (start = {1e5 for $i1 in 1:1}, min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {5e5 for $i1 in 1:1}) (213) [ALGB] (11) Real[11] pipeN10.m_flows (start = {1.0 for $i1 in 1:11}, min = {-1e60 for $i1 in 1:11}, max = {1e5 for $i1 in 1:11}) (214) [ALGB] (11) final Real[11] pipeN10nParallel10.flowModel.crossAreas = pipeN10nParallel10.crossAreasFM (215) [ALGB] (10) Real[10] pipeN10nParallel10.mediums.state.T (start = {500.0 for $i1 in 1:10}, min = {273.15 for $i1 in 1:10}, max = {2273.15 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}) (216) [DISC] (121) final input Integer[11, 11] pipeN10nParallel10.flowModel.states.phase = {pipeN10nParallel10.statesFM[1].phase, pipeN10nParallel10.statesFM[2].phase, pipeN10nParallel10.statesFM[3].phase, pipeN10nParallel10.statesFM[4].phase, pipeN10nParallel10.statesFM[5].phase, pipeN10nParallel10.statesFM[6].phase, pipeN10nParallel10.statesFM[7].phase, pipeN10nParallel10.statesFM[8].phase, pipeN10nParallel10.statesFM[9].phase, pipeN10nParallel10.statesFM[10].phase, pipeN10nParallel10.statesFM[11].phase} (min = {0 for $i1 in 1:11}, max = {2 for $i1 in 1:11}) (217) [ALGB] (20) Real[20] pipeN20.mediums.p_bar = {Modelica.SIunits.Conversions.to_bar(pipeN20.mediums[$mediums1].p) for $mediums1 in 1:20} (218) [DISC] (10) Boolean[10] $SEV_11[$i1] (219) [ALGB] (10) final Real[10] pipeN10.fluidVolumes = {pipeN10.crossAreas[i] * 10.0 for i in 1:10} .* pipeN10.nParallel (220) [ALGB] (121) final input Real[11, 11] pipeN10.flowModel.states.p = {pipeN10.statesFM[1].p, pipeN10.statesFM[2].p, pipeN10.statesFM[3].p, pipeN10.statesFM[4].p, pipeN10.statesFM[5].p, pipeN10.statesFM[6].p, pipeN10.statesFM[7].p, pipeN10.statesFM[8].p, pipeN10.statesFM[9].p, pipeN10.statesFM[10].p, pipeN10.statesFM[11].p} (start = {5e6 for $i1 in 1:11}, min = {611.657 for $i1 in 1:11}, max = {1e8 for $i1 in 1:11}, nominal = {1e6 for $i1 in 1:11}) (221) [ALGB] (20) Real[20] pipeN20.flowModel.dps_fg (start = {5000.0 for $i1 in 1:20}) (222) [ALGB] (10) Real[10] pipeN10nParallel10.mediums.state.d (start = {150.0 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, max = {1e5 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}) (223) [ALGB] (121) final input Real[11, 11] pipeN10.flowModel.states.h = {pipeN10.statesFM[1].h, pipeN10.statesFM[2].h, pipeN10.statesFM[3].h, pipeN10.statesFM[4].h, pipeN10.statesFM[5].h, pipeN10.statesFM[6].h, pipeN10.statesFM[7].h, pipeN10.statesFM[8].h, pipeN10.statesFM[9].h, pipeN10.statesFM[10].h, pipeN10.statesFM[11].h} (start = {1e5 for $i1 in 1:11}, min = {-1e10 for $i1 in 1:11}, max = {1e10 for $i1 in 1:11}, nominal = {5e5 for $i1 in 1:11}) (224) [DER-] (10) Real[10] $DER.pipeN10.ms (225) [ALGB] (1) Real boundary.medium.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0, StateSelect = default) (226) [ALGB] (10) Real[10] pipeN10nParallel10.mediums.state.h (start = {1e5 for $i1 in 1:10}, min = {-1e10 for $i1 in 1:10}, max = {1e10 for $i1 in 1:10}, nominal = {5e5 for $i1 in 1:10}) (227) [ALGB] (121) final input Real[11, 11] pipeN10.flowModel.states.d = {pipeN10.statesFM[1].d, pipeN10.statesFM[2].d, pipeN10.statesFM[3].d, pipeN10.statesFM[4].d, pipeN10.statesFM[5].d, pipeN10.statesFM[6].d, pipeN10.statesFM[7].d, pipeN10.statesFM[8].d, pipeN10.statesFM[9].d, pipeN10.statesFM[10].d, pipeN10.statesFM[11].d} (start = {150.0 for $i1 in 1:11}, min = {0.0 for $i1 in 1:11}, max = {1e5 for $i1 in 1:11}, nominal = {500.0 for $i1 in 1:11}) (228) [ALGB] (10) Real[10] pipeN10nParallel10.mediums.state.p (start = {5e6 for $i1 in 1:10}, min = {611.657 for $i1 in 1:10}, max = {1e8 for $i1 in 1:10}, nominal = {1e6 for $i1 in 1:10}) (229) [DISC] (10) Integer[10] pipeN10.mediums.state.phase (min = {0 for $i1 in 1:10}, max = {2 for $i1 in 1:10}) (230) [ALGB] (20) final Real[20] pipeN20.heatTransfer.vs = pipeN20.vs (231) [DER-] (20) Real[20] $DER.pipeN20.flowModel.m_flows (232) [DISC] (1) Integer boundary.medium.state.phase (min = 0, max = 2) (233) [DISC] (1) Integer boundary5.medium.state.phase (min = 0, max = 2) (234) [ALGB] (20) Real[20] pipeN20.flowModel.Ib_flows (235) [ALGB] (1) Real boundary.medium.u (min = -1e8, max = 1e8, nominal = 1e6) (236) [ALGB] (10) final Real[10] pipeN10nParallel10.flowModel.pathLengths = pipeN10nParallel10.pathLengths (237) [ALGB] (121) final input Real[11, 11] pipeN10.flowModel.states.T = {pipeN10.statesFM[1].T, pipeN10.statesFM[2].T, pipeN10.statesFM[3].T, pipeN10.statesFM[4].T, pipeN10.statesFM[5].T, pipeN10.statesFM[6].T, pipeN10.statesFM[7].T, pipeN10.statesFM[8].T, pipeN10.statesFM[9].T, pipeN10.statesFM[10].T, pipeN10.statesFM[11].T} (start = {500.0 for $i1 in 1:11}, min = {273.15 for $i1 in 1:11}, max = {2273.15 for $i1 in 1:11}, nominal = {500.0 for $i1 in 1:11}) (238) [ALGB] (1) Real pipeN20.port_a.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (239) [ALGB] (11) protected Real[11] pipeN10nParallel10.crossAreasFM (240) [DISC] (1) Boolean $SEV_42 (241) [DISC] (1) Boolean $SEV_40 (242) [ALGB] (1) Real boundary5.medium.state.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (243) [ALGB] (1) Real boundary4.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - boundary4.medium.T_degC)) (244) [ALGB] (9) Real[9] $FUN_9 (245) [ALGB] (10) Real[10] pipeN10.flowModel.Fs_fg (246) [ALGB] (1) Real $FUN_7 (247) [ALGB] (1) Real $FUN_6 (248) [ALGB] (19) Real[19] $FUN_5 (249) [ALGB] (1) Real $FUN_3 (250) [ALGB] (1) Real $FUN_2 (251) [ALGB] (1) Real boundary.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - boundary.medium.T_degC)) (252) [ALGB] (9) Real[9] $FUN_1 (253) [ALGB] (10) Real[10] pipeN10nParallel10.mediums.sat.psat (start = {5e6 for $i1 in 1:10}, min = {611.657 for $i1 in 1:10}, max = {1e8 for $i1 in 1:10}, nominal = {1e6 for $i1 in 1:10}) (254) [ALGB] (10) Real[10] pipeN10.vs = {(0.5 * (pipeN10.m_flows[1 + i] + pipeN10.m_flows[i])) / (pipeN10.crossAreas[i] * pipeN10.mediums[i].d) for i in 1:10} / pipeN10.nParallel (255) [ALGB] (1) Real boundary5.medium.state.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0) (256) [DISC] (1) Integer pipeN20.state_b.phase (min = 0, max = 2) (257) [DISC] (1) Integer pipeN10.state_b.phase (min = 0, max = 2) (258) [ALGB] (1) Real boundary5.medium.state.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (259) [DISC] (10) Boolean[10] $SEV_9[$i1] (260) [DISC] (1) Boolean $SEV_37 (261) [DISC] (1) Boolean $SEV_36 (262) [DISC] (10) Integer[10] pipeN10nParallel10.mediums.phase (fixed = {false for $i1 in 1:10}, start = {1 for $i1 in 1:10}, min = {0 for $i1 in 1:10}, max = {2 for $i1 in 1:10}) (263) [ALGB] (10) Real[10] pipeN10nParallel10.flowModel.rhos_act (start = {150.0 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, max = {1e5 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}) (264) [ALGB] (1) Real boundary5.medium.state.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (265) [ALGB] (441) final input Real[21, 21] pipeN20.flowModel.states.T = {pipeN20.statesFM[1].T, pipeN20.statesFM[2].T, pipeN20.statesFM[3].T, pipeN20.statesFM[4].T, pipeN20.statesFM[5].T, pipeN20.statesFM[6].T, pipeN20.statesFM[7].T, pipeN20.statesFM[8].T, pipeN20.statesFM[9].T, pipeN20.statesFM[10].T, pipeN20.statesFM[11].T, pipeN20.statesFM[12].T, pipeN20.statesFM[13].T, pipeN20.statesFM[14].T, pipeN20.statesFM[15].T, pipeN20.statesFM[16].T, pipeN20.statesFM[17].T, pipeN20.statesFM[18].T, pipeN20.statesFM[19].T, pipeN20.statesFM[20].T, pipeN20.statesFM[21].T} (start = {500.0 for $i1 in 1:21}, min = {273.15 for $i1 in 1:21}, max = {2273.15 for $i1 in 1:21}, nominal = {500.0 for $i1 in 1:21}) (266) [ALGB] (1) Real boundary.medium.sat.Tsat (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (267) [DISC] (1) Integer boundary5.medium.phase (fixed = false, start = 1, min = 0, max = 2) (268) [ALGB] (1) flow Real[1] boundary3.ports.m_flow (min = {-1e60}, max = {1e60}) (269) [ALGB] (10) Real[10] pipeN10.flowModel.Ib_flows (270) [ALGB] (11) final Real[11] pipeN10nParallel10.flowModel.vs = pipeN10nParallel10.vsFM (271) [ALGB] (1) Real boundary3.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * boundary3.medium.p_bar) (272) [ALGB] (1) Real pipeN20.port_b.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (273) [ALGB] (10) Real[10] pipeN10.heatTransfer.heatPorts.T (start = {288.15 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, nominal = {300.0 for $i1 in 1:10}) (274) [ALGB] (121) Real[11, 11] pipeN10.statesFM.T (start = {500.0 for $i1 in 1:11}, min = {273.15 for $i1 in 1:11}, max = {2273.15 for $i1 in 1:11}, nominal = {500.0 for $i1 in 1:11}) (275) [DISC] (1) Integer pipeN10nParallel10.state_b.phase (min = 0, max = 2) (276) [ALGB] (10) Real[10] pipeN10.flowModel.dps_fg (start = {1e4 for $i1 in 1:10}) (277) [ALGB] (1) Real boundary4.medium.u (min = -1e8, max = 1e8, nominal = 1e6) (278) [DISC] (10) Boolean[10] $SEV_49[$i1] (279) [ALGB] (1) stream Real[1] boundary1.ports.h_outflow (start = {1e5 for $i1 in 1:1}, min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {5e5 for $i1 in 1:1}) (280) [ALGB] (10) Real[10] pipeN10nParallel10.Qb_flows (281) [ALGB] (11) final Real[11] pipeN10.flowModel.crossAreas = pipeN10.crossAreasFM (282) [ALGB] (1) Real $FUN_11 (283) [ALGB] (441) final input Real[21, 21] pipeN20.flowModel.states.d = {pipeN20.statesFM[1].d, pipeN20.statesFM[2].d, pipeN20.statesFM[3].d, pipeN20.statesFM[4].d, pipeN20.statesFM[5].d, pipeN20.statesFM[6].d, pipeN20.statesFM[7].d, pipeN20.statesFM[8].d, pipeN20.statesFM[9].d, pipeN20.statesFM[10].d, pipeN20.statesFM[11].d, pipeN20.statesFM[12].d, pipeN20.statesFM[13].d, pipeN20.statesFM[14].d, pipeN20.statesFM[15].d, pipeN20.statesFM[16].d, pipeN20.statesFM[17].d, pipeN20.statesFM[18].d, pipeN20.statesFM[19].d, pipeN20.statesFM[20].d, pipeN20.statesFM[21].d} (start = {150.0 for $i1 in 1:21}, min = {0.0 for $i1 in 1:21}, max = {1e5 for $i1 in 1:21}, nominal = {500.0 for $i1 in 1:21}) (284) [ALGB] (1) Real $FUN_10 (285) [DISC] (20) Integer[20] pipeN20.mediums.phase (fixed = {false for $i1 in 1:20}, start = {1 for $i1 in 1:20}, min = {0 for $i1 in 1:20}, max = {2 for $i1 in 1:20}) (286) [ALGB] (11) Real[11] pipeN10.flowModel.mus = {pipeN10.flowModel.mu_nominal for $i1 in 1:11} (start = {0.001 for $i1 in 1:11}, min = {0.0 for $i1 in 1:11}, max = {1e8 for $i1 in 1:11}, nominal = {0.001 for $i1 in 1:11}) (287) [DISC] (400) final input Integer[20, 20] pipeN20.heatTransfer.states.phase = {pipeN20.mediums[1].state.phase, pipeN20.mediums[2].state.phase, pipeN20.mediums[3].state.phase, pipeN20.mediums[4].state.phase, pipeN20.mediums[5].state.phase, pipeN20.mediums[6].state.phase, pipeN20.mediums[7].state.phase, pipeN20.mediums[8].state.phase, pipeN20.mediums[9].state.phase, pipeN20.mediums[10].state.phase, pipeN20.mediums[11].state.phase, pipeN20.mediums[12].state.phase, pipeN20.mediums[13].state.phase, pipeN20.mediums[14].state.phase, pipeN20.mediums[15].state.phase, pipeN20.mediums[16].state.phase, pipeN20.mediums[17].state.phase, pipeN20.mediums[18].state.phase, pipeN20.mediums[19].state.phase, pipeN20.mediums[20].state.phase} (min = {0 for $i1 in 1:20}, max = {2 for $i1 in 1:20}) (288) [ALGB] (441) final input Real[21, 21] pipeN20.flowModel.states.h = {pipeN20.statesFM[1].h, pipeN20.statesFM[2].h, pipeN20.statesFM[3].h, pipeN20.statesFM[4].h, pipeN20.statesFM[5].h, pipeN20.statesFM[6].h, pipeN20.statesFM[7].h, pipeN20.statesFM[8].h, pipeN20.statesFM[9].h, pipeN20.statesFM[10].h, pipeN20.statesFM[11].h, pipeN20.statesFM[12].h, pipeN20.statesFM[13].h, pipeN20.statesFM[14].h, pipeN20.statesFM[15].h, pipeN20.statesFM[16].h, pipeN20.statesFM[17].h, pipeN20.statesFM[18].h, pipeN20.statesFM[19].h, pipeN20.statesFM[20].h, pipeN20.statesFM[21].h} (start = {1e5 for $i1 in 1:21}, min = {-1e10 for $i1 in 1:21}, max = {1e10 for $i1 in 1:21}, nominal = {5e5 for $i1 in 1:21}) (289) [ALGB] (121) final input Real[11, 11] pipeN10nParallel10.flowModel.states.p = {pipeN10nParallel10.statesFM[1].p, pipeN10nParallel10.statesFM[2].p, pipeN10nParallel10.statesFM[3].p, pipeN10nParallel10.statesFM[4].p, pipeN10nParallel10.statesFM[5].p, pipeN10nParallel10.statesFM[6].p, pipeN10nParallel10.statesFM[7].p, pipeN10nParallel10.statesFM[8].p, pipeN10nParallel10.statesFM[9].p, pipeN10nParallel10.statesFM[10].p, pipeN10nParallel10.statesFM[11].p} (start = {5e6 for $i1 in 1:11}, min = {611.657 for $i1 in 1:11}, max = {1e8 for $i1 in 1:11}, nominal = {1e6 for $i1 in 1:11}) (290) [ALGB] (20) Real[20] pipeN20.mediums.sat.Tsat (start = {500.0 for $i1 in 1:20}, min = {273.15 for $i1 in 1:20}, max = {2273.15 for $i1 in 1:20}, nominal = {500.0 for $i1 in 1:20}) (291) [ALGB] (121) Real[11, 11] pipeN10.statesFM.d (start = {150.0 for $i1 in 1:11}, min = {0.0 for $i1 in 1:11}, max = {1e5 for $i1 in 1:11}, nominal = {500.0 for $i1 in 1:11}) (292) [ALGB] (1) Real[1] boundary.ports.p (start = {5e6 for $i1 in 1:1}, min = {611.657 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (293) [ALGB] (1) Real boundary4.medium.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0, StateSelect = default) (294) [DISC] (1) Boolean $SEV_26 (295) [ALGB] (10) Real[10] pipeN10.flowModel.mus_act (start = {0.001 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, max = {1e8 for $i1 in 1:10}, nominal = {0.001 for $i1 in 1:10}) (296) [ALGB] (121) Real[11, 11] pipeN10.statesFM.h (start = {1e5 for $i1 in 1:11}, min = {-1e10 for $i1 in 1:11}, max = {1e10 for $i1 in 1:11}, nominal = {5e5 for $i1 in 1:11}) (297) [ALGB] (441) final input Real[21, 21] pipeN20.flowModel.states.p = {pipeN20.statesFM[1].p, pipeN20.statesFM[2].p, pipeN20.statesFM[3].p, pipeN20.statesFM[4].p, pipeN20.statesFM[5].p, pipeN20.statesFM[6].p, pipeN20.statesFM[7].p, pipeN20.statesFM[8].p, pipeN20.statesFM[9].p, pipeN20.statesFM[10].p, pipeN20.statesFM[11].p, pipeN20.statesFM[12].p, pipeN20.statesFM[13].p, pipeN20.statesFM[14].p, pipeN20.statesFM[15].p, pipeN20.statesFM[16].p, pipeN20.statesFM[17].p, pipeN20.statesFM[18].p, pipeN20.statesFM[19].p, pipeN20.statesFM[20].p, pipeN20.statesFM[21].p} (start = {5e6 for $i1 in 1:21}, min = {611.657 for $i1 in 1:21}, max = {1e8 for $i1 in 1:21}, nominal = {1e6 for $i1 in 1:21}) (298) [DISC] (1) Boolean $SEV_24 (299) [ALGB] (121) final input Real[11, 11] pipeN10nParallel10.flowModel.states.h = {pipeN10nParallel10.statesFM[1].h, pipeN10nParallel10.statesFM[2].h, pipeN10nParallel10.statesFM[3].h, pipeN10nParallel10.statesFM[4].h, pipeN10nParallel10.statesFM[5].h, pipeN10nParallel10.statesFM[6].h, pipeN10nParallel10.statesFM[7].h, pipeN10nParallel10.statesFM[8].h, pipeN10nParallel10.statesFM[9].h, pipeN10nParallel10.statesFM[10].h, pipeN10nParallel10.statesFM[11].h} (start = {1e5 for $i1 in 1:11}, min = {-1e10 for $i1 in 1:11}, max = {1e10 for $i1 in 1:11}, nominal = {5e5 for $i1 in 1:11}) (300) [DISC] (1) Boolean $SEV_21 (301) [DISC] (1) Boolean $SEV_20 (302) [ALGB] (11) Real[11] pipeN10.H_flows (min = {-1e8 for $i1 in 1:11}, max = {1e8 for $i1 in 1:11}, nominal = {1000.0 for $i1 in 1:11}) (303) [ALGB] (121) final input Real[11, 11] pipeN10nParallel10.flowModel.states.d = {pipeN10nParallel10.statesFM[1].d, pipeN10nParallel10.statesFM[2].d, pipeN10nParallel10.statesFM[3].d, pipeN10nParallel10.statesFM[4].d, pipeN10nParallel10.statesFM[5].d, pipeN10nParallel10.statesFM[6].d, pipeN10nParallel10.statesFM[7].d, pipeN10nParallel10.statesFM[8].d, pipeN10nParallel10.statesFM[9].d, pipeN10nParallel10.statesFM[10].d, pipeN10nParallel10.statesFM[11].d} (start = {150.0 for $i1 in 1:11}, min = {0.0 for $i1 in 1:11}, max = {1e5 for $i1 in 1:11}, nominal = {500.0 for $i1 in 1:11}) (304) [ALGB] (1) Real boundary1.medium.u (min = -1e8, max = 1e8, nominal = 1e6) (305) [ALGB] (121) Real[11, 11] pipeN10.statesFM.p (start = {5e6 for $i1 in 1:11}, min = {611.657 for $i1 in 1:11}, max = {1e8 for $i1 in 1:11}, nominal = {1e6 for $i1 in 1:11}) (306) [ALGB] (20) Real[20] pipeN20.heatTransfer.heatPorts.T (start = {288.15 for $i1 in 1:20}, min = {0.0 for $i1 in 1:20}, nominal = {300.0 for $i1 in 1:20}) (307) [ALGB] (100) final input Real[10, 10] pipeN10.heatTransfer.states.T = {pipeN10.mediums[1].state.T, pipeN10.mediums[2].state.T, pipeN10.mediums[3].state.T, pipeN10.mediums[4].state.T, pipeN10.mediums[5].state.T, pipeN10.mediums[6].state.T, pipeN10.mediums[7].state.T, pipeN10.mediums[8].state.T, pipeN10.mediums[9].state.T, pipeN10.mediums[10].state.T} (start = {500.0 for $i1 in 1:10}, min = {273.15 for $i1 in 1:10}, max = {2273.15 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}) (308) [ALGB] (20) final Real[20] pipeN20.flowModel.pathLengths = pipeN20.pathLengths (309) [ALGB] (1) Real[1] boundary5.ports.p (start = {5e6 for $i1 in 1:1}, min = {611.657 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (310) [ALGB] (21) Real[21] pipeN20.flowModel.mus = {pipeN20.flowModel.mu_nominal for $i1 in 1:21} (start = {0.001 for $i1 in 1:21}, min = {0.0 for $i1 in 1:21}, max = {1e8 for $i1 in 1:21}, nominal = {0.001 for $i1 in 1:21}) (311) [ALGB] (1) Real[1] boundary4.ports.p (start = {5e6 for $i1 in 1:1}, min = {611.657 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (312) [ALGB] (1) Real boundary2.medium.sat.psat (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (313) [ALGB] (1) Real boundary1.medium.h (StateSelect = default) (314) [ALGB] (10) Real[10] pipeN10.mediums.sat.psat (start = {5e6 for $i1 in 1:10}, min = {611.657 for $i1 in 1:10}, max = {1e8 for $i1 in 1:10}, nominal = {1e6 for $i1 in 1:10}) (315) [ALGB] (121) final input Real[11, 11] pipeN10nParallel10.flowModel.states.T = {pipeN10nParallel10.statesFM[1].T, pipeN10nParallel10.statesFM[2].T, pipeN10nParallel10.statesFM[3].T, pipeN10nParallel10.statesFM[4].T, pipeN10nParallel10.statesFM[5].T, pipeN10nParallel10.statesFM[6].T, pipeN10nParallel10.statesFM[7].T, pipeN10nParallel10.statesFM[8].T, pipeN10nParallel10.statesFM[9].T, pipeN10nParallel10.statesFM[10].T, pipeN10nParallel10.statesFM[11].T} (start = {500.0 for $i1 in 1:11}, min = {273.15 for $i1 in 1:11}, max = {2273.15 for $i1 in 1:11}, nominal = {500.0 for $i1 in 1:11}) (316) [ALGB] (1) Real[1] boundary3.ports.p (start = {5e6 for $i1 in 1:1}, min = {611.657 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (317) [ALGB] (1) Real boundary.medium.state.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (318) [ALGB] (20) Real[20] pipeN20.flowModel.rhos_act (start = {150.0 for $i1 in 1:20}, min = {0.0 for $i1 in 1:20}, max = {1e5 for $i1 in 1:20}, nominal = {500.0 for $i1 in 1:20}) (319) [ALGB] (1) Real boundary1.medium.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0, StateSelect = default) (320) [ALGB] (21) protected Real[21] pipeN20.vsFM (321) [ALGB] (100) final input Real[10, 10] pipeN10.heatTransfer.states.d = {pipeN10.mediums[1].state.d, pipeN10.mediums[2].state.d, pipeN10.mediums[3].state.d, pipeN10.mediums[4].state.d, pipeN10.mediums[5].state.d, pipeN10.mediums[6].state.d, pipeN10.mediums[7].state.d, pipeN10.mediums[8].state.d, pipeN10.mediums[9].state.d, pipeN10.mediums[10].state.d} (start = {150.0 for $i1 in 1:10}, min = {0.0 for $i1 in 1:10}, max = {1e5 for $i1 in 1:10}, nominal = {500.0 for $i1 in 1:10}) (322) [DISC] (10) Boolean[10] $SEV_48[$i1] (323) [ALGB] (1) Real[1] boundary2.ports.p (start = {5e6 for $i1 in 1:1}, min = {611.657 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (324) [ALGB] (20) Real[20] pipeN20.Wb_flows (325) [ALGB] (100) final input Real[10, 10] pipeN10.heatTransfer.states.h = {pipeN10.mediums[1].state.h, pipeN10.mediums[2].state.h, pipeN10.mediums[3].state.h, pipeN10.mediums[4].state.h, pipeN10.mediums[5].state.h, pipeN10.mediums[6].state.h, pipeN10.mediums[7].state.h, pipeN10.mediums[8].state.h, pipeN10.mediums[9].state.h, pipeN10.mediums[10].state.h} (start = {1e5 for $i1 in 1:10}, min = {-1e10 for $i1 in 1:10}, max = {1e10 for $i1 in 1:10}, nominal = {5e5 for $i1 in 1:10}) (326) [ALGB] (1) Real[1] boundary1.ports.p (start = {5e6 for $i1 in 1:1}, min = {611.657 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (327) [ALGB] (10) Real[10] pipeN10nParallel10.Hb_flows (328) [ALGB] (1) Real boundary4.medium.sat.Tsat (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (329) [ALGB] (1) Real boundary.medium.state.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0) (330) [ALGB] (10) Real[10] pipeN10.flowModel.Fs_p (331) [DER-] (20) Real[20] $DER.pipeN20.ms (332) [ALGB] (1) Real boundary3.medium.state.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (333) [ALGB] (1) Real boundary4.medium.state.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (334) [DISC] (1) Boolean $SEV_10 (335) [ALGB] (100) final input Real[10, 10] pipeN10.heatTransfer.states.p = {pipeN10.mediums[1].state.p, pipeN10.mediums[2].state.p, pipeN10.mediums[3].state.p, pipeN10.mediums[4].state.p, pipeN10.mediums[5].state.p, pipeN10.mediums[6].state.p, pipeN10.mediums[7].state.p, pipeN10.mediums[8].state.p, pipeN10.mediums[9].state.p, pipeN10.mediums[10].state.p} (start = {5e6 for $i1 in 1:10}, min = {611.657 for $i1 in 1:10}, max = {1e8 for $i1 in 1:10}, nominal = {1e6 for $i1 in 1:10}) (336) [ALGB] (21) Real[21] pipeN20.flowModel.rhos = {ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeWithNominalLaminarFlow.pipeN20.flowModel.Medium.density(pipeN20.flowModel.states[$i1]) for $i1 in 1:21} (start = {150.0 for $i1 in 1:21}, min = {0.0 for $i1 in 1:21}, max = {1e5 for $i1 in 1:21}, nominal = {500.0 for $i1 in 1:21}) (337) [ALGB] (20) flow Real[20] pipeN20.heatTransfer.heatPorts.Q_flow (338) [ALGB] (11) Real[11] pipeN10.flowModel.rhos = {ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeWithNominalLaminarFlow.pipeN10.flowModel.Medium.density(pipeN10.flowModel.states[$i1]) for $i1 in 1:11} (start = {150.0 for $i1 in 1:11}, min = {0.0 for $i1 in 1:11}, max = {1e5 for $i1 in 1:11}, nominal = {500.0 for $i1 in 1:11}) (339) [DER-] (10) Real[10] $DER.pipeN10nParallel10.ms (340) [ALGB] (1) stream Real pipeN20.port_a.h_outflow (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (341) [ALGB] (1) protected Real boundary5.state.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (342) [ALGB] (1) Real boundary3.medium.state.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (343) [ALGB] (20) Real[20] pipeN20.flowModel.Fs_p (344) [ALGB] (1) Real boundary3.medium.state.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0) (345) [ALGB] (1) Real boundary4.medium.state.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0) (346) [ALGB] (1) Real boundary.medium.state.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (347) [ALGB] (10) final Real[10] pipeN10nParallel10.heatTransfer.vs = pipeN10nParallel10.vs (348) [ALGB] (1) protected Real boundary5.state.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (349) [ALGB] (21) Real[21] pipeN20.m_flows (start = {1.0 for $i1 in 1:21}, min = {-1e60 for $i1 in 1:21}, max = {1e5 for $i1 in 1:21}) (350) [ALGB] (1) protected Real boundary3.state.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (351) [DISC] (121) final input Integer[11, 11] pipeN10.flowModel.states.phase = {pipeN10.statesFM[1].phase, pipeN10.statesFM[2].phase, pipeN10.statesFM[3].phase, pipeN10.statesFM[4].phase, pipeN10.statesFM[5].phase, pipeN10.statesFM[6].phase, pipeN10.statesFM[7].phase, pipeN10.statesFM[8].phase, pipeN10.statesFM[9].phase, pipeN10.statesFM[10].phase, pipeN10.statesFM[11].phase} (min = {0 for $i1 in 1:11}, max = {2 for $i1 in 1:11}) (352) [ALGB] (10) Real[10] pipeN10nParallel10.flowModel.Fs_fg (353) [DISC] (100) final input Integer[10, 10] pipeN10nParallel10.heatTransfer.states.phase = {pipeN10nParallel10.mediums[1].state.phase, pipeN10nParallel10.mediums[2].state.phase, pipeN10nParallel10.mediums[3].state.phase, pipeN10nParallel10.mediums[4].state.phase, pipeN10nParallel10.mediums[5].state.phase, pipeN10nParallel10.mediums[6].state.phase, pipeN10nParallel10.mediums[7].state.phase, pipeN10nParallel10.mediums[8].state.phase, pipeN10nParallel10.mediums[9].state.phase, pipeN10nParallel10.mediums[10].state.phase} (min = {0 for $i1 in 1:10}, max = {2 for $i1 in 1:10}) (354) [ALGB] (1) Real boundary1.medium.sat.psat (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (355) [ALGB] (1) protected Real boundary3.state.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (356) [ALGB] (1) stream Real pipeN10nParallel10.port_a.h_outflow (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (357) [ALGB] (1) protected Real boundary1.state.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5) (358) [ALGB] (1) Real boundary3.medium.state.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (359) [ALGB] (10) Real[10] pipeN10nParallel10.mediums.T_degC = {Modelica.SIunits.Conversions.to_degC(pipeN10nParallel10.mediums[$mediums1].T) for $mediums1 in 1:10} (360) [ALGB] (1) Real boundary4.medium.state.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0) (361) [DER-] (20) Real[20] $DER.pipeN20.mediums.p (362) [ALGB] (10) Real[10] pipeN10nParallel10.flowModel.Ib_flows (363) [ALGB] (1) Real boundary5.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * boundary5.medium.p_bar) (364) [ALGB] (1) flow Real[1] boundary5.ports.m_flow (min = {-1e60}, max = {1e60}) (365) [DISC] (10) Boolean[10] $SEV_47[$i1] (366) [ALGB] (1) protected Real boundary1.state.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (367) [DER-] (20) Real[20] $DER.pipeN20.mediums.h (368) [ALGB] (10) Real[10] pipeN10.mb_flows (min = {-1e5 for $i1 in 1:10}, max = {1e5 for $i1 in 1:10}) (369) [ALGB] (10) Real[10] pipeN10.mediums.state.p (start = {5e6 for $i1 in 1:10}, min = {611.657 for $i1 in 1:10}, max = {1e8 for $i1 in 1:10}, nominal = {1e6 for $i1 in 1:10}) (370) [DISC] (1) Integer boundary2.medium.phase (fixed = false, start = 1, min = 0, max = 2) (371) [ALGB] (1) Real boundary3.medium.sat.psat (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6) (372) [ALGB] (10) Real[10] pipeN10.mediums.state.h (start = {1e5 for $i1 in 1:10}, min = {-1e10 for $i1 in 1:10}, max = {1e10 for $i1 in 1:10}, nominal = {5e5 for $i1 in 1:10}) (373) [DER-] (20) Real[20] $DER.pipeN20.flowModel.Is (374) [DISC] (20) Boolean[20] $SEV_33[$i1] System Equations (359/3052) ***************************** (1) [FOR-] (20) ($RES_SIM_257) (1) [----] for $i1 in 1:20 loop (1) [----] [SCAL] (1) pipeN20.mediums[$i1].u = pipeN20.mediums[$i1].h - pipeN20.mediums[$i1].p / pipeN20.mediums[$i1].d ($RES_SIM_258) (1) [----] end for; (2) [FOR-] (20) ($RES_SIM_259) (2) [----] for $i1 in 1:20 loop (2) [----] [SCAL] (1) pipeN20.mediums[$i1].sat.psat = pipeN20.mediums[$i1].p ($RES_SIM_260) (2) [----] end for; (3) [SCAL] (1) pipeN10.H_flows[11] = -$FUN_3 ($RES_SIM_340) (4) [SCAL] (1) pipeN10.H_flows[1] = $FUN_2 ($RES_SIM_341) (5) [SCAL] (1) $FUN_6 = semiLinear(pipeN20.port_a.m_flow, boundary2.ports[1].h_outflow, pipeN20.mediums[1].h) ($RES_$AUX_519) (6) [FOR-] (9) ($RES_SIM_342) (6) [----] for $i1 in 2:10 loop (6) [----] [SCAL] (1) pipeN10.H_flows[$i1] = $FUN_1[integer(1.0 + ((-2.0) + $i1))] ($RES_SIM_343) (6) [----] end for; (7) [SCAL] (1) $FUN_7 = semiLinear(pipeN20.port_b.m_flow, boundary3.ports[1].h_outflow, pipeN20.mediums[20].h) ($RES_$AUX_518) (8) [SCAL] (1) -boundary2.m_flow = sum(boundary2.ports.m_flow) ($RES_$AUX_517) (9) [FOR-] (10) ($RES_SIM_344) (9) [----] for $i1 in 1:10 loop (9) [----] [SCAL] (1) pipeN10.mb_flows[$i1] = pipeN10.m_flows[$i1] - pipeN10.m_flows[$i1 + 1] ($RES_SIM_345) (9) [----] end for; (10) [SCAL] (1) $SEV_40 = (boundary.h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(boundary.medium.sat.psat)) or boundary.h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(boundary.medium.sat.psat))) or 99999.99999999999 * boundary.medium.p_bar > 2.2064e7 ($RES_EVT_640) (11) [FOR-] (9) ($RES_$AUX_515) (11) [----] for $i1 in 2:10 loop (11) [----] [SCAL] (1) $FUN_9[integer(1.0 + ((-2.0) + $i1))] = semiLinear(pipeN10nParallel10.m_flows[$i1], pipeN10nParallel10.mediums[$i1 - 1].h, pipeN10nParallel10.mediums[$i1].h) ($RES_$AUX_516) (11) [----] end for; (12) [FOR-] (10) ($RES_EVT_641) (12) [----] for $i1 in 1:10 loop (12) [----] [SCAL] (1) $SEV_41[$i1] = pipeN10.flowModel.m_flows[$i1] > 0.0 ($RES_EVT_642) (12) [----] end for; (13) [FOR-] (10) ($RES_SIM_346) (13) [----] for $i1 in 1:10 loop (13) [----] [SCAL] (1) pipeN10.Hb_flows[$i1] = pipeN10.H_flows[$i1] - pipeN10.H_flows[$i1 + 1] ($RES_SIM_347) (13) [----] end for; (14) [SCAL] (1) $FUN_10 = semiLinear(pipeN10nParallel10.port_a.m_flow, boundary4.ports[1].h_outflow, pipeN10nParallel10.mediums[1].h) ($RES_$AUX_514) (15) [SCAL] (1) $FUN_11 = semiLinear(pipeN10nParallel10.port_b.m_flow, boundary5.ports[1].h_outflow, pipeN10nParallel10.mediums[10].h) ($RES_$AUX_513) (16) [SCAL] (1) $SEV_42 = pipeN10.flowModel.m_flows[i] > 0.0 ($RES_EVT_643) (17) [SCAL] (1) -boundary4.m_flow = sum(boundary4.ports.m_flow) ($RES_$AUX_512) (18) [FOR-] (10) ($RES_EVT_644) (18) [----] for $i1 in 1:10 loop (18) [----] [SCAL] (1) $SEV_43[$i1] = pipeN10.mediums[$i1].p >= 0.0 ($RES_EVT_645) (18) [----] end for; (19) [FOR-] (10) ($RES_BND_477) (19) [----] for $i1 in 1:10 loop (19) [----] [SCAL] (1) pipeN10nParallel10.fluidVolumes[$i1] = (10.0 * pipeN10nParallel10.crossAreas[$i1]) * pipeN10nParallel10.nParallel ($RES_BND_478) (19) [----] end for; (20) [SCAL] (1) boundary2.medium.phase = boundary2.medium.state.phase ($RES_SIM_177) (21) [FOR-] (10) ($RES_EVT_648) (21) [----] for $i1 in 1:10 loop (21) [----] [SCAL] (1) $SEV_45[$i1] = pipeN10.mediums[$i1].h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(pipeN10.mediums.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(pipeN10.mediums.sat.psat)) ($RES_EVT_649) (21) [----] end for; (22) [SCAL] (1) boundary2.medium.d = boundary2.medium.state.d ($RES_SIM_178) (23) [FOR-] (10) ($RES_BND_479) (23) [----] for $i1 in 1:10 loop (23) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].p_bar = 1e-5 * pipeN10nParallel10.mediums[$i1].p ($RES_BND_480) (23) [----] end for; (24) [SCAL] (1) -((-273.15) - boundary2.medium.T_degC) = boundary2.medium.state.T ($RES_SIM_179) (25) [FOR-] (20) ($RES_SIM_261) (25) [----] for $i1 in 1:20 loop (25) [----] [SCAL] (1) pipeN20.mediums[$i1].sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(pipeN20.mediums[$i1].p) ($RES_SIM_262) (25) [----] end for; (26) [FOR-] (20) ($RES_SIM_263) (26) [----] for $i1 in 1:20 loop (26) [----] [SCAL] (1) pipeN20.mediums[$i1].T = Modelica.Media.Water.IF97_Utilities.T_props_ph(pipeN20.mediums[$i1].p, pipeN20.mediums[$i1].h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeN20.mediums[$i1].p, pipeN20.mediums[$i1].h, pipeN20.mediums[$i1].phase, 0)) ($RES_SIM_264) (26) [----] end for; (27) [FOR-] (20) ($RES_SIM_265) (27) [----] for $i1 in 1:20 loop (27) [----] [SCAL] (1) pipeN20.mediums[$i1].d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(pipeN20.mediums[$i1].p, pipeN20.mediums[$i1].h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeN20.mediums[$i1].p, pipeN20.mediums[$i1].h, pipeN20.mediums[$i1].phase, 0)) ($RES_SIM_266) (27) [----] end for; (28) [FOR-] (20) ($RES_SIM_267) (28) [----] for $i1 in 1:20 loop (28) [----] [SCAL] (1) pipeN20.mediums[$i1].phase = if $SEV_33[$i1] then 1 else 2 ($RES_SIM_268) (28) [----] end for; (29) [ARRY] (11) pipeN10.crossAreasFM[:] = {pipeN10.crossAreas[1], pipeN10.crossAreas[2], pipeN10.crossAreas[3], pipeN10.crossAreas[4], pipeN10.crossAreas[5], pipeN10.crossAreas[6], pipeN10.crossAreas[7], pipeN10.crossAreas[8], pipeN10.crossAreas[9], pipeN10.crossAreas[10], pipeN10.crossAreas[10]} ($RES_SIM_350) (30) [ARRY] (10) pipeN10.dheightsFM[:] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0} ($RES_SIM_351) (31) [ARRY] (10) pipeN10.pathLengths[:] = {10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0} ($RES_SIM_352) (32) [SCAL] (1) pipeN10.Wb_flows[10] = (0.5 * pipeN10.flowModel.dps_fg[9] + 0.6666666666666666 * (pipeN10.port_b.p - pipeN10.mediums[9].p) + pipeN10.flowModel.dps_fg[10]) * pipeN10.crossAreas[10] * pipeN10.vs[10] * pipeN10.nParallel ($RES_SIM_353) (33) [SCAL] (1) pipeN10.state_a.h = boundary.ports[1].h_outflow ($RES_SIM_528) (34) [SCAL] (1) pipeN10.Wb_flows[1] = (0.5 * (pipeN10.mediums[2].p - pipeN10.mediums[1].p) + 0.5 * pipeN10.flowModel.dps_fg[1]) * pipeN10.crossAreas[1] * pipeN10.vs[1] * pipeN10.nParallel ($RES_SIM_354) (35) [SCAL] (1) pipeN10.state_a.d = Modelica.Media.Water.IF97_Utilities.rho_ph(pipeN10.port_a.p, boundary.ports[1].h_outflow, 0, 0) ($RES_SIM_529) (36) [FOR-] (10) ($RES_EVT_650) (36) [----] for $i1 in 1:10 loop (36) [----] [SCAL] (1) $SEV_46[$i1] = pipeN10.mediums[$i1].h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(pipeN10.mediums.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(pipeN10.mediums.sat.psat)) ($RES_EVT_651) (36) [----] end for; (37) [ARRY] (8) pipeN10.Wb_flows[2:9] = {pipeN10.vs[i] * pipeN10.crossAreas[i] * ((pipeN10.mediums[i + 1].p - pipeN10.mediums[i - 1].p) / 2.0 + (pipeN10.flowModel.dps_fg[i - 1] + pipeN10.flowModel.dps_fg[i]) / 2.0) for i in 2:9} .* pipeN10.nParallel ($RES_SIM_355) (38) [SCAL] (1) 99999.99999999999 * boundary2.medium.p_bar = boundary2.medium.state.p ($RES_SIM_180) (39) [ARRY] (10) pipeN10.Qb_flows = pipeN10.heatTransfer.Q_flows ($RES_SIM_356) (40) [FOR-] (10) ($RES_BND_481) (40) [----] for $i1 in 1:10 loop (40) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].T_degC = (-273.15) + pipeN10nParallel10.mediums[$i1].T ($RES_BND_482) (40) [----] end for; (41) [FOR-] (10) ($RES_EVT_652) (41) [----] for $i1 in 1:10 loop (41) [----] [SCAL] (1) $SEV_47[$i1] = $SEV_45[$i1] or $SEV_46[$i1] ($RES_EVT_653) (41) [----] end for; (42) [ARRY] (10) pipeN10.heatTransfer.Q_flows = pipeN10.heatTransfer.heatPorts.Q_flow ($RES_SIM_357) (43) [ARRY] (10) pipeN10.heatTransfer.Ts = pipeN10.heatTransfer.heatPorts.T ($RES_SIM_358) (44) [ARRY] (11) pipeN10nParallel10.flowModel.vs = pipeN10nParallel10.vsFM ($RES_BND_483) (45) [SCAL] (1) boundary2.medium.u = boundary2.h - (99999.99999999999 * boundary2.medium.p_bar) / boundary2.medium.d ($RES_SIM_183) (46) [FOR-] (10) ($RES_EVT_654) (46) [----] for $i1 in 1:10 loop (46) [----] [SCAL] (1) $SEV_48[$i1] = pipeN10.mediums[$i1].p > 2.2064e7 ($RES_EVT_655) (46) [----] end for; (47) [ARRY] (10) $DER.pipeN10.flowModel.Is = pipeN10.flowModel.Ib_flows - (pipeN10.flowModel.Fs_fg + pipeN10.flowModel.Fs_p) ($RES_SIM_359) (48) [ARRY] (11) pipeN10nParallel10.flowModel.crossAreas = pipeN10nParallel10.crossAreasFM ($RES_BND_484) (49) [SCAL] (1) boundary2.medium.sat.psat = 99999.99999999999 * boundary2.medium.p_bar ($RES_SIM_184) (50) [SCAL] (1) boundary2.medium.sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(99999.99999999999 * boundary2.medium.p_bar) ($RES_SIM_185) (51) [FOR-] (10) ($RES_EVT_656) (51) [----] for $i1 in 1:10 loop (51) [----] [SCAL] (1) $SEV_49[$i1] = $SEV_47[$i1] or $SEV_48[$i1] ($RES_EVT_657) (51) [----] end for; (52) [SCAL] (1) -((-273.15) - boundary2.medium.T_degC) = Modelica.Media.Water.IF97_Utilities.T_props_ph(99999.99999999999 * boundary2.medium.p_bar, boundary2.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * boundary2.medium.p_bar, boundary2.h, boundary2.medium.phase, 0)) ($RES_SIM_186) (53) [ARRY] (10) pipeN10nParallel10.flowModel.dheights = pipeN10nParallel10.dheightsFM ($RES_BND_487) (54) [SCAL] (1) boundary2.medium.d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(99999.99999999999 * boundary2.medium.p_bar, boundary2.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * boundary2.medium.p_bar, boundary2.h, boundary2.medium.phase, 0)) ($RES_SIM_187) (55) [ARRY] (10) pipeN10nParallel10.flowModel.pathLengths = pipeN10nParallel10.pathLengths ($RES_BND_488) (56) [SCAL] (1) boundary2.medium.phase = if $SEV_24 then 1 else 2 ($RES_SIM_188) (57) [FOR-] (11) ($RES_BND_489) (57) [----] for $i1 in 1:11 loop (57) [----] [SCAL] (1) pipeN10nParallel10.flowModel.rhos[$i1] = pipeN10nParallel10.flowModel.states.d ($RES_BND_490) (57) [----] end for; (58) [SCAL] (1) boundary1.ports[1].p = 99999.99999999999 * boundary1.medium.p_bar ($RES_SIM_271) (59) [SCAL] (1) boundary1.ports[1].h_outflow = boundary1.medium.h ($RES_SIM_272) (60) [SCAL] (1) boundary1.medium.h = boundary1.state.h ($RES_SIM_273) (61) [SCAL] (1) 99999.99999999999 * boundary1.medium.p_bar = boundary1.state.p ($RES_SIM_274) (62) [SCAL] (1) pipeN10.state_a.T = Modelica.Media.Water.IF97_Utilities.T_ph(pipeN10.port_a.p, boundary.ports[1].h_outflow, 0, 0) ($RES_SIM_530) (63) [SCAL] (1) pipeN10.state_a.p = pipeN10.port_a.p ($RES_SIM_531) (64) [SCAL] (1) pipeN10.state_b.phase = 0 ($RES_SIM_532) (65) [SCAL] (1) pipeN10.state_b.h = boundary1.ports[1].h_outflow ($RES_SIM_533) (66) [SCAL] (1) pipeN10.state_b.d = Modelica.Media.Water.IF97_Utilities.rho_ph(pipeN10.port_b.p, boundary1.ports[1].h_outflow, 0, 0) ($RES_SIM_534) (67) [ARRY] (10) pipeN10.flowModel.Is = {pipeN10.flowModel.m_flows[i] * pipeN10.flowModel.pathLengths[i] for i in 1:10} ($RES_SIM_360) (68) [SCAL] (1) pipeN10.state_b.T = Modelica.Media.Water.IF97_Utilities.T_ph(pipeN10.port_b.p, boundary1.ports[1].h_outflow, 0, 0) ($RES_SIM_535) (69) [ARRY] (10) pipeN10.flowModel.dps_fg = {pipeN10.flowModel.Fs_fg[i] / pipeN10.flowModel.nParallel * 2.0 / (pipeN10.flowModel.crossAreas[i] + pipeN10.flowModel.crossAreas[i + 1]) for i in 1:10} ($RES_SIM_361) (70) [SCAL] (1) pipeN10.state_b.p = pipeN10.port_b.p ($RES_SIM_536) (71) [ARRY] (10) pipeN10.flowModel.Fs_p = pipeN10.flowModel.nParallel * {0.0 for i in 1:10} ($RES_SIM_362) (72) [ARRY] (10) pipeN10.flowModel.Ib_flows = pipeN10.flowModel.nParallel * {pipeN10.flowModel.rhos[i] * pipeN10.flowModel.vs[i] * pipeN10.flowModel.vs[i] * pipeN10.flowModel.crossAreas[i] - pipeN10.flowModel.rhos[i + 1] * pipeN10.flowModel.vs[i + 1] * pipeN10.flowModel.vs[i + 1] * pipeN10.flowModel.crossAreas[i + 1] for i in 1:10} ($RES_SIM_363) (73) [SCAL] (1) boundary1.state.h = Modelica.Media.Water.IF97_Utilities.h_pT(boundary1.p, boundary1.T, 0) ($RES_SIM_538) (74) [FOR-] (10) ($RES_SIM_364) (74) [----] for $i1 in 1:10 loop (74) [----] [SCAL] (1) pipeN10.flowModel.rhos_act[$i1] = noEvent(if $SEV_41[$i1] then pipeN10.flowModel.rhos[$i1] else pipeN10.flowModel.rhos[$i1 + 1]) ($RES_SIM_365) (74) [----] end for; (75) [FOR-] (20) ($RES_SIM_190) (75) [----] for $i1 in 1:20 loop (75) [----] [SCAL] (1) $DER.pipeN20.ms[$i1] = pipeN20.mb_flows[$i1] ($RES_SIM_191) (75) [----] end for; (76) [FOR-] (11) ($RES_BND_491) (76) [----] for $i1 in 1:11 loop (76) [----] [SCAL] (1) pipeN10nParallel10.flowModel.mus[$i1] = pipeN10nParallel10.flowModel.mu_nominal ($RES_BND_492) (76) [----] end for; (77) [FOR-] (10) ($RES_SIM_366) (77) [----] for $i1 in 1:10 loop (77) [----] [SCAL] (1) pipeN10.flowModel.mus_act[$i1] = noEvent(if $SEV_41[$i1] then pipeN10.flowModel.mus[$i1] else pipeN10.flowModel.mus[$i1 + 1]) ($RES_SIM_367) (77) [----] end for; (78) [FOR-] (20) ($RES_SIM_192) (78) [----] for $i1 in 1:20 loop (78) [----] [SCAL] (1) $DER.pipeN20.Us[$i1] = pipeN20.Wb_flows[$i1] + pipeN20.Hb_flows[$i1] + pipeN20.Qb_flows[$i1] ($RES_SIM_193) (78) [----] end for; (79) [FOR-] (10) ($RES_BND_493) (79) [----] for $i1 in 1:10 loop (79) [----] [SCAL] (1) pipeN10nParallel10.vs[$i1] = ((0.5 * (pipeN10nParallel10.m_flows[1 + $i1] + pipeN10nParallel10.m_flows[$i1])) / (pipeN10nParallel10.crossAreas[$i1] * pipeN10nParallel10.mediums[$i1].d)) / pipeN10nParallel10.nParallel ($RES_BND_494) (79) [----] end for; (80) [ARRY] (10) pipeN10.flowModel.dps_fg = {pipeN10.flowModel.g * pipeN10.flowModel.dheights[i] * (if $SEV_42 then pipeN10.flowModel.rhos[i] else pipeN10.flowModel.rhos[i + 1]) for i in 1:10} + (0.1 * pipeN10.flowModel.dp_nominal) / pipeN10.flowModel.m_flow_nominal * pipeN10.flowModel.m_flows ($RES_SIM_368) (81) [FOR-] (20) ($RES_SIM_194) (81) [----] for $i1 in 1:20 loop (81) [----] [SCAL] (1) pipeN20.ms[$i1] = pipeN20.fluidVolumes[$i1] * pipeN20.mediums[$i1].d ($RES_SIM_195) (81) [----] end for; (82) [FOR-] (10) ($RES_BND_496) (82) [----] for $i1 in 1:10 loop (82) [----] [SCAL] (1) pipeN10nParallel10.heatTransfer.Ts[$i1] = pipeN10nParallel10.heatTransfer.states.h ($RES_BND_497) (82) [----] end for; (83) [FOR-] (20) ($RES_SIM_196) (83) [----] for $i1 in 1:20 loop (83) [----] [SCAL] (1) pipeN20.Us[$i1] = pipeN20.ms[$i1] * pipeN20.mediums[$i1].u ($RES_SIM_197) (83) [----] end for; (84) [SCAL] (1) pipeN20.port_a.p = pipeN20.mediums[1].p ($RES_SIM_198) (85) [ARRY] (10) pipeN10nParallel10.heatTransfer.vs = pipeN10nParallel10.vs ($RES_BND_498) (86) [SCAL] (1) pipeN20.vsFM[21] = ((pipeN20.m_flows[21] / pipeN20.state_b.d) / pipeN20.crossAreas[20]) / pipeN20.nParallel ($RES_SIM_199) (87) [SCAL] (1) boundary1.medium.phase = boundary1.medium.state.phase ($RES_SIM_281) (88) [SCAL] (1) boundary1.medium.d = boundary1.medium.state.d ($RES_SIM_282) (89) [SCAL] (1) -((-273.15) - boundary1.medium.T_degC) = boundary1.medium.state.T ($RES_SIM_283) (90) [SCAL] (1) 99999.99999999999 * boundary1.medium.p_bar = boundary1.medium.state.p ($RES_SIM_284) (91) [SCAL] (1) boundary1.medium.h = boundary1.medium.state.h ($RES_SIM_285) (92) [SCAL] (1) boundary1.medium.u = boundary1.medium.h - (99999.99999999999 * boundary1.medium.p_bar) / boundary1.medium.d ($RES_SIM_287) (93) [SCAL] (1) boundary1.medium.sat.psat = 99999.99999999999 * boundary1.medium.p_bar ($RES_SIM_288) (94) [SCAL] (1) $SEV_0 = abs(pipeN10.port_a.p - pipeN10nParallel10.port_a.p) < 1.0 ($RES_EVT_584) (95) [SCAL] (1) boundary1.medium.sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(99999.99999999999 * boundary1.medium.p_bar) ($RES_SIM_289) (96) [SCAL] (1) $SEV_1 = abs(pipeN10.port_a.p - pipeN20.port_a.p) < 1.0 ($RES_EVT_585) (97) [SCAL] (1) boundary1.state.p = boundary1.p ($RES_SIM_541) (98) [SCAL] (1) pipeN20.state_a.h = boundary2.ports[1].h_outflow ($RES_SIM_543) (99) [SCAL] (1) $SEV_4 = (boundary5.medium.h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary5.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(boundary5.medium.sat.psat)) or boundary5.medium.h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary5.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(boundary5.medium.sat.psat))) or 99999.99999999999 * boundary5.medium.p_bar > 2.2064e7 ($RES_EVT_588) (100) [SCAL] (1) pipeN20.state_a.d = Modelica.Media.Water.IF97_Utilities.rho_ph(pipeN20.port_a.p, boundary2.ports[1].h_outflow, 0, 0) ($RES_SIM_544) (101) [SCAL] (1) $SEV_5 = abs(sum({abs(boundary4.ports[1].m_flow)}) - abs(boundary4.ports[1].m_flow)) <= 1e-60 ($RES_EVT_589) (102) [SCAL] (1) pipeN20.state_a.T = Modelica.Media.Water.IF97_Utilities.T_ph(pipeN20.port_a.p, boundary2.ports[1].h_outflow, 0, 0) ($RES_SIM_545) (103) [SCAL] (1) pipeN20.state_a.p = pipeN20.port_a.p ($RES_SIM_546) (104) [SCAL] (1) pipeN20.state_b.phase = 0 ($RES_SIM_547) (105) [SCAL] (1) pipeN20.state_b.h = boundary3.ports[1].h_outflow ($RES_SIM_548) (106) [SCAL] (1) pipeN20.state_b.d = Modelica.Media.Water.IF97_Utilities.rho_ph(pipeN20.port_b.p, boundary3.ports[1].h_outflow, 0, 0) ($RES_SIM_549) (107) [FOR-] (10) ($RES_SIM_375) (107) [----] for $i1 in 1:10 loop (107) [----] [SCAL] (1) pipeN10.mediums[$i1].phase = pipeN10.mediums[$i1].state.phase ($RES_SIM_376) (107) [----] end for; (108) [FOR-] (10) ($RES_SIM_377) (108) [----] for $i1 in 1:10 loop (108) [----] [SCAL] (1) pipeN10.mediums[$i1].d = pipeN10.mediums[$i1].state.d ($RES_SIM_378) (108) [----] end for; (109) [FOR-] (10) ($RES_SIM_379) (109) [----] for $i1 in 1:10 loop (109) [----] [SCAL] (1) pipeN10.mediums[$i1].T = pipeN10.mediums[$i1].state.T ($RES_SIM_380) (109) [----] end for; (110) [SCAL] (1) -((-273.15) - boundary1.medium.T_degC) = Modelica.Media.Water.IF97_Utilities.T_props_ph(99999.99999999999 * boundary1.medium.p_bar, boundary1.medium.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * boundary1.medium.p_bar, boundary1.medium.h, boundary1.medium.phase, 0)) ($RES_SIM_290) (111) [SCAL] (1) boundary1.medium.d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(99999.99999999999 * boundary1.medium.p_bar, boundary1.medium.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * boundary1.medium.p_bar, boundary1.medium.h, boundary1.medium.phase, 0)) ($RES_SIM_291) (112) [SCAL] (1) boundary1.medium.phase = if $SEV_36 then 1 else 2 ($RES_SIM_292) (113) [SCAL] (1) boundary.ports[1].p = 99999.99999999999 * boundary.medium.p_bar ($RES_SIM_294) (114) [SCAL] (1) boundary.ports[1].h_outflow = boundary.h ($RES_SIM_295) (115) [SCAL] (1) $SEV_8 = (boundary4.h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary4.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(boundary4.medium.sat.psat)) or boundary4.h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary4.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(boundary4.medium.sat.psat))) or 99999.99999999999 * boundary4.medium.p_bar > 2.2064e7 ($RES_EVT_592) (116) [FOR-] (10) ($RES_EVT_593) (116) [----] for $i1 in 1:10 loop (116) [----] [SCAL] (1) $SEV_9[$i1] = pipeN10nParallel10.flowModel.m_flows[$i1] > 0.0 ($RES_EVT_594) (116) [----] end for; (117) [SCAL] (1) pipeN20.state_b.T = Modelica.Media.Water.IF97_Utilities.T_ph(pipeN20.port_b.p, boundary3.ports[1].h_outflow, 0, 0) ($RES_SIM_550) (118) [SCAL] (1) $SEV_10 = pipeN10nParallel10.flowModel.m_flows[i] > 0.0 ($RES_EVT_595) (119) [SCAL] (1) pipeN20.state_b.p = pipeN20.port_b.p ($RES_SIM_551) (120) [FOR-] (10) ($RES_EVT_596) (120) [----] for $i1 in 1:10 loop (120) [----] [SCAL] (1) $SEV_11[$i1] = pipeN10nParallel10.mediums[$i1].p >= 0.0 ($RES_EVT_597) (120) [----] end for; (121) [SCAL] (1) boundary3.state.h = Modelica.Media.Water.IF97_Utilities.h_pT(boundary3.p, boundary3.T, 0) ($RES_SIM_553) (122) [FOR-] (10) ($RES_SIM_381) (122) [----] for $i1 in 1:10 loop (122) [----] [SCAL] (1) pipeN10.mediums[$i1].p = pipeN10.mediums[$i1].state.p ($RES_SIM_382) (122) [----] end for; (123) [SCAL] (1) boundary3.state.p = boundary3.p ($RES_SIM_556) (124) [FOR-] (10) ($RES_SIM_383) (124) [----] for $i1 in 1:10 loop (124) [----] [SCAL] (1) pipeN10.mediums[$i1].h = pipeN10.mediums[$i1].state.h ($RES_SIM_384) (124) [----] end for; (125) [SCAL] (1) pipeN10nParallel10.state_a.h = boundary4.ports[1].h_outflow ($RES_SIM_558) (126) [SCAL] (1) pipeN10nParallel10.state_a.d = Modelica.Media.Water.IF97_Utilities.rho_ph(pipeN10nParallel10.port_a.p, boundary4.ports[1].h_outflow, 0, 0) ($RES_SIM_559) (127) [FOR-] (10) ($RES_SIM_387) (127) [----] for $i1 in 1:10 loop (127) [----] [SCAL] (1) pipeN10.mediums[$i1].u = pipeN10.mediums[$i1].h - pipeN10.mediums[$i1].p / pipeN10.mediums[$i1].d ($RES_SIM_388) (127) [----] end for; (128) [FOR-] (10) ($RES_SIM_389) (128) [----] for $i1 in 1:10 loop (128) [----] [SCAL] (1) pipeN10.mediums[$i1].sat.psat = pipeN10.mediums[$i1].p ($RES_SIM_390) (128) [----] end for; (129) [SCAL] (1) boundary5.ports[1].p = 99999.99999999999 * boundary5.medium.p_bar ($RES_SIM_11) (130) [SCAL] (1) boundary5.ports[1].h_outflow = boundary5.medium.h ($RES_SIM_12) (131) [SCAL] (1) boundary5.medium.h = boundary5.state.h ($RES_SIM_13) (132) [SCAL] (1) 99999.99999999999 * boundary5.medium.p_bar = boundary5.state.p ($RES_SIM_14) (133) [SCAL] (1) pipeN10nParallel10.state_a.T = Modelica.Media.Water.IF97_Utilities.T_ph(pipeN10nParallel10.port_a.p, boundary4.ports[1].h_outflow, 0, 0) ($RES_SIM_560) (134) [SCAL] (1) pipeN10nParallel10.state_a.p = pipeN10nParallel10.port_a.p ($RES_SIM_561) (135) [SCAL] (1) pipeN10nParallel10.state_b.phase = 0 ($RES_SIM_562) (136) [SCAL] (1) pipeN10nParallel10.state_b.h = boundary5.ports[1].h_outflow ($RES_SIM_563) (137) [SCAL] (1) pipeN10nParallel10.state_b.d = Modelica.Media.Water.IF97_Utilities.rho_ph(pipeN10nParallel10.port_b.p, boundary5.ports[1].h_outflow, 0, 0) ($RES_SIM_564) (138) [SCAL] (1) pipeN10nParallel10.state_b.T = Modelica.Media.Water.IF97_Utilities.T_ph(pipeN10nParallel10.port_b.p, boundary5.ports[1].h_outflow, 0, 0) ($RES_SIM_565) (139) [FOR-] (10) ($RES_SIM_391) (139) [----] for $i1 in 1:10 loop (139) [----] [SCAL] (1) pipeN10.mediums[$i1].sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(pipeN10.mediums[$i1].p) ($RES_SIM_392) (139) [----] end for; (140) [SCAL] (1) pipeN10nParallel10.state_b.p = pipeN10nParallel10.port_b.p ($RES_SIM_566) (141) [FOR-] (10) ($RES_SIM_393) (141) [----] for $i1 in 1:10 loop (141) [----] [SCAL] (1) pipeN10.mediums[$i1].T = Modelica.Media.Water.IF97_Utilities.T_props_ph(pipeN10.mediums[$i1].p, pipeN10.mediums[$i1].h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeN10.mediums[$i1].p, pipeN10.mediums[$i1].h, pipeN10.mediums[$i1].phase, 0)) ($RES_SIM_394) (141) [----] end for; (142) [SCAL] (1) boundary5.state.h = Modelica.Media.Water.IF97_Utilities.h_pT(boundary5.p, boundary5.T, 0) ($RES_SIM_568) (143) [FOR-] (10) ($RES_SIM_395) (143) [----] for $i1 in 1:10 loop (143) [----] [SCAL] (1) pipeN10.mediums[$i1].d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(pipeN10.mediums[$i1].p, pipeN10.mediums[$i1].h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeN10.mediums[$i1].p, pipeN10.mediums[$i1].h, pipeN10.mediums[$i1].phase, 0)) ($RES_SIM_396) (143) [----] end for; (144) [FOR-] (10) ($RES_SIM_397) (144) [----] for $i1 in 1:10 loop (144) [----] [SCAL] (1) pipeN10.mediums[$i1].phase = if $SEV_49[$i1] then 1 else 2 ($RES_SIM_398) (144) [----] end for; (145) [SCAL] (1) boundary5.medium.phase = boundary5.medium.state.phase ($RES_SIM_21) (146) [SCAL] (1) boundary5.medium.d = boundary5.medium.state.d ($RES_SIM_22) (147) [SCAL] (1) -((-273.15) - boundary5.medium.T_degC) = boundary5.medium.state.T ($RES_SIM_23) (148) [SCAL] (1) 99999.99999999999 * boundary5.medium.p_bar = boundary5.medium.state.p ($RES_SIM_24) (149) [SCAL] (1) boundary5.medium.h = boundary5.medium.state.h ($RES_SIM_25) (150) [SCAL] (1) boundary5.medium.u = boundary5.medium.h - (99999.99999999999 * boundary5.medium.p_bar) / boundary5.medium.d ($RES_SIM_27) (151) [SCAL] (1) boundary5.medium.sat.psat = 99999.99999999999 * boundary5.medium.p_bar ($RES_SIM_28) (152) [SCAL] (1) boundary5.medium.sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(99999.99999999999 * boundary5.medium.p_bar) ($RES_SIM_29) (153) [SCAL] (1) boundary5.state.p = boundary5.p ($RES_SIM_571) (154) [SCAL] (1) -((-273.15) - boundary5.medium.T_degC) = Modelica.Media.Water.IF97_Utilities.T_props_ph(99999.99999999999 * boundary5.medium.p_bar, boundary5.medium.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * boundary5.medium.p_bar, boundary5.medium.h, boundary5.medium.phase, 0)) ($RES_SIM_30) (155) [SCAL] (1) boundary5.medium.d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(99999.99999999999 * boundary5.medium.p_bar, boundary5.medium.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * boundary5.medium.p_bar, boundary5.medium.h, boundary5.medium.phase, 0)) ($RES_SIM_31) (156) [SCAL] (1) boundary5.medium.phase = if $SEV_4 then 1 else 2 ($RES_SIM_32) (157) [SCAL] (1) boundary4.ports[1].p = 99999.99999999999 * boundary4.medium.p_bar ($RES_SIM_34) (158) [SCAL] (1) boundary4.ports[1].h_outflow = boundary4.h ($RES_SIM_35) (159) [SCAL] (1) boundary4.medium.phase = boundary4.medium.state.phase ($RES_SIM_47) (160) [SCAL] (1) boundary4.medium.d = boundary4.medium.state.d ($RES_SIM_48) (161) [SCAL] (1) -((-273.15) - boundary4.medium.T_degC) = boundary4.medium.state.T ($RES_SIM_49) (162) [SCAL] (1) 99999.99999999999 * boundary4.medium.p_bar = boundary4.medium.state.p ($RES_SIM_50) (163) [SCAL] (1) boundary4.medium.u = boundary4.h - (99999.99999999999 * boundary4.medium.p_bar) / boundary4.medium.d ($RES_SIM_53) (164) [SCAL] (1) boundary4.medium.sat.psat = 99999.99999999999 * boundary4.medium.p_bar ($RES_SIM_54) (165) [SCAL] (1) boundary4.medium.sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(99999.99999999999 * boundary4.medium.p_bar) ($RES_SIM_55) (166) [SCAL] (1) -((-273.15) - boundary4.medium.T_degC) = Modelica.Media.Water.IF97_Utilities.T_props_ph(99999.99999999999 * boundary4.medium.p_bar, boundary4.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * boundary4.medium.p_bar, boundary4.h, boundary4.medium.phase, 0)) ($RES_SIM_56) (167) [SCAL] (1) boundary4.medium.d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(99999.99999999999 * boundary4.medium.p_bar, boundary4.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * boundary4.medium.p_bar, boundary4.h, boundary4.medium.phase, 0)) ($RES_SIM_57) (168) [SCAL] (1) boundary4.medium.phase = if $SEV_8 then 1 else 2 ($RES_SIM_58) (169) [ARRY] (10) pipeN10nParallel10.flowModel.Is = {pipeN10nParallel10.flowModel.m_flows[i] * pipeN10nParallel10.flowModel.pathLengths[i] for i in 1:10} ($RES_SIM_100) (170) [ARRY] (10) pipeN10nParallel10.flowModel.dps_fg = {pipeN10nParallel10.flowModel.Fs_fg[i] / pipeN10nParallel10.flowModel.nParallel * 2.0 / (pipeN10nParallel10.flowModel.crossAreas[i] + pipeN10nParallel10.flowModel.crossAreas[i + 1]) for i in 1:10} ($RES_SIM_101) (171) [ARRY] (10) pipeN10nParallel10.flowModel.Fs_p = pipeN10nParallel10.flowModel.nParallel * {0.0 for i in 1:10} ($RES_SIM_102) (172) [ARRY] (10) pipeN10nParallel10.flowModel.Ib_flows = pipeN10nParallel10.flowModel.nParallel * {pipeN10nParallel10.flowModel.rhos[i] * pipeN10nParallel10.flowModel.vs[i] * pipeN10nParallel10.flowModel.vs[i] * pipeN10nParallel10.flowModel.crossAreas[i] - pipeN10nParallel10.flowModel.rhos[i + 1] * pipeN10nParallel10.flowModel.vs[i + 1] * pipeN10nParallel10.flowModel.vs[i + 1] * pipeN10nParallel10.flowModel.crossAreas[i + 1] for i in 1:10} ($RES_SIM_103) (173) [FOR-] (10) ($RES_SIM_104) (173) [----] for $i1 in 1:10 loop (173) [----] [SCAL] (1) pipeN10nParallel10.flowModel.rhos_act[$i1] = noEvent(if $SEV_9[$i1] then pipeN10nParallel10.flowModel.rhos[$i1] else pipeN10nParallel10.flowModel.rhos[$i1 + 1]) ($RES_SIM_105) (173) [----] end for; (174) [FOR-] (10) ($RES_SIM_106) (174) [----] for $i1 in 1:10 loop (174) [----] [SCAL] (1) pipeN10nParallel10.flowModel.mus_act[$i1] = noEvent(if $SEV_9[$i1] then pipeN10nParallel10.flowModel.mus[$i1] else pipeN10nParallel10.flowModel.mus[$i1 + 1]) ($RES_SIM_107) (174) [----] end for; (175) [ARRY] (10) pipeN10nParallel10.flowModel.dps_fg = {pipeN10nParallel10.flowModel.g * pipeN10nParallel10.flowModel.dheights[i] * (if $SEV_10 then pipeN10nParallel10.flowModel.rhos[i] else pipeN10nParallel10.flowModel.rhos[i + 1]) for i in 1:10} + (0.1 * pipeN10nParallel10.flowModel.dp_nominal) / pipeN10nParallel10.flowModel.m_flow_nominal * pipeN10nParallel10.flowModel.m_flows ($RES_SIM_108) (176) [FOR-] (10) ($RES_SIM_60) (176) [----] for $i1 in 1:10 loop (176) [----] [SCAL] (1) $DER.pipeN10nParallel10.ms[$i1] = pipeN10nParallel10.mb_flows[$i1] ($RES_SIM_61) (176) [----] end for; (177) [FOR-] (10) ($RES_SIM_62) (177) [----] for $i1 in 1:10 loop (177) [----] [SCAL] (1) $DER.pipeN10nParallel10.Us[$i1] = pipeN10nParallel10.Wb_flows[$i1] + pipeN10nParallel10.Hb_flows[$i1] + pipeN10nParallel10.Qb_flows[$i1] ($RES_SIM_63) (177) [----] end for; (178) [FOR-] (10) ($RES_SIM_64) (178) [----] for $i1 in 1:10 loop (178) [----] [SCAL] (1) pipeN10nParallel10.ms[$i1] = pipeN10nParallel10.fluidVolumes[$i1] * pipeN10nParallel10.mediums[$i1].d ($RES_SIM_65) (178) [----] end for; (179) [FOR-] (10) ($RES_SIM_66) (179) [----] for $i1 in 1:10 loop (179) [----] [SCAL] (1) pipeN10nParallel10.Us[$i1] = pipeN10nParallel10.ms[$i1] * pipeN10nParallel10.mediums[$i1].u ($RES_SIM_67) (179) [----] end for; (180) [SCAL] (1) pipeN10nParallel10.port_a.p = pipeN10nParallel10.mediums[1].p ($RES_SIM_68) (181) [SCAL] (1) pipeN10nParallel10.vsFM[11] = ((pipeN10nParallel10.m_flows[11] / pipeN10nParallel10.state_b.d) / pipeN10nParallel10.crossAreas[10]) / pipeN10nParallel10.nParallel ($RES_SIM_69) (182) [FOR-] (10) ($RES_SIM_115) (182) [----] for $i1 in 1:10 loop (182) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].phase = pipeN10nParallel10.mediums[$i1].state.phase ($RES_SIM_116) (182) [----] end for; (183) [FOR-] (10) ($RES_SIM_117) (183) [----] for $i1 in 1:10 loop (183) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].d = pipeN10nParallel10.mediums[$i1].state.d ($RES_SIM_118) (183) [----] end for; (184) [FOR-] (10) ($RES_SIM_119) (184) [----] for $i1 in 1:10 loop (184) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].T = pipeN10nParallel10.mediums[$i1].state.T ($RES_SIM_120) (184) [----] end for; (185) [FOR-] (10) ($RES_BND_419) (185) [----] for $i1 in 1:10 loop (185) [----] [SCAL] (1) pipeN10.fluidVolumes[$i1] = (10.0 * pipeN10.crossAreas[$i1]) * pipeN10.nParallel ($RES_BND_420) (185) [----] end for; (186) [ARRY] (10) pipeN10nParallel10.vsFM[1:10] = pipeN10nParallel10.vs ($RES_SIM_70) (187) [ARRY] (10) pipeN10nParallel10.m_flows[2:11] = pipeN10nParallel10.flowModel.m_flows[:] ($RES_SIM_71) (188) [ARRY] (20) pipeN20.vsFM[1:20] = pipeN20.vs ($RES_SIM_200) (189) [RECD] (5) pipeN10nParallel10.statesFM[11] = pipeN10nParallel10.state_b ($RES_SIM_72) (190) [ARRY] (20) pipeN20.m_flows[2:21] = pipeN20.flowModel.m_flows[:] ($RES_SIM_201) (191) [ARRY] (50) pipeN10nParallel10.statesFM[1:10] = pipeN10nParallel10.mediums[:].state ($RES_SIM_73) (192) [RECD] (5) pipeN20.statesFM[21] = pipeN20.state_b ($RES_SIM_202) (193) [ARRY] (100) pipeN20.statesFM[1:20] = pipeN20.mediums[:].state ($RES_SIM_203) (194) [SCAL] (1) pipeN10nParallel10.port_b.h_outflow = pipeN10nParallel10.mediums[10].h ($RES_SIM_76) (195) [SCAL] (1) pipeN10nParallel10.port_a.h_outflow = pipeN10nParallel10.mediums[1].h ($RES_SIM_77) (196) [SCAL] (1) pipeN10nParallel10.port_b.m_flow = -pipeN10nParallel10.m_flows[11] ($RES_SIM_78) (197) [SCAL] (1) pipeN20.port_b.h_outflow = pipeN20.mediums[20].h ($RES_SIM_206) (198) [ARRY] (55) pipeN10.flowModel.states = pipeN10.statesFM ($RES_BND_506) (199) [SCAL] (1) pipeN10nParallel10.port_a.m_flow = pipeN10nParallel10.m_flows[1] ($RES_SIM_79) (200) [SCAL] (1) pipeN20.port_a.h_outflow = pipeN20.mediums[1].h ($RES_SIM_207) (201) [ARRY] (50) pipeN10.heatTransfer.states = pipeN10.mediums.state ($RES_BND_507) (202) [SCAL] (1) pipeN20.port_b.m_flow = -pipeN20.m_flows[21] ($RES_SIM_208) (203) [ARRY] (105) pipeN20.flowModel.states = pipeN20.statesFM ($RES_BND_508) (204) [SCAL] (1) pipeN20.port_a.m_flow = pipeN20.m_flows[1] ($RES_SIM_209) (205) [ARRY] (100) pipeN20.heatTransfer.states = pipeN20.mediums.state ($RES_BND_509) (206) [FOR-] (10) ($RES_SIM_121) (206) [----] for $i1 in 1:10 loop (206) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].p = pipeN10nParallel10.mediums[$i1].state.p ($RES_SIM_122) (206) [----] end for; (207) [FOR-] (10) ($RES_BND_421) (207) [----] for $i1 in 1:10 loop (207) [----] [SCAL] (1) pipeN10.mediums[$i1].p_bar = 1e-5 * pipeN10.mediums[$i1].p ($RES_BND_422) (207) [----] end for; (208) [FOR-] (10) ($RES_SIM_123) (208) [----] for $i1 in 1:10 loop (208) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].h = pipeN10nParallel10.mediums[$i1].state.h ($RES_SIM_124) (208) [----] end for; (209) [FOR-] (10) ($RES_BND_423) (209) [----] for $i1 in 1:10 loop (209) [----] [SCAL] (1) pipeN10.mediums[$i1].T_degC = (-273.15) + pipeN10.mediums[$i1].T ($RES_BND_424) (209) [----] end for; (210) [ARRY] (11) pipeN10.flowModel.vs = pipeN10.vsFM ($RES_BND_425) (211) [ARRY] (11) pipeN10.flowModel.crossAreas = pipeN10.crossAreasFM ($RES_BND_426) (212) [FOR-] (10) ($RES_SIM_127) (212) [----] for $i1 in 1:10 loop (212) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].u = pipeN10nParallel10.mediums[$i1].h - pipeN10nParallel10.mediums[$i1].p / pipeN10nParallel10.mediums[$i1].d ($RES_SIM_128) (212) [----] end for; (213) [FOR-] (10) ($RES_SIM_129) (213) [----] for $i1 in 1:10 loop (213) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].sat.psat = pipeN10nParallel10.mediums[$i1].p ($RES_SIM_130) (213) [----] end for; (214) [ARRY] (10) pipeN10.flowModel.dheights = pipeN10.dheightsFM ($RES_BND_429) (215) [SCAL] (1) pipeN10nParallel10.H_flows[11] = -$FUN_11 ($RES_SIM_80) (216) [SCAL] (1) pipeN10nParallel10.H_flows[1] = $FUN_10 ($RES_SIM_81) (217) [SCAL] (1) pipeN20.H_flows[21] = -$FUN_7 ($RES_SIM_210) (218) [FOR-] (9) ($RES_SIM_82) (218) [----] for $i1 in 2:10 loop (218) [----] [SCAL] (1) pipeN10nParallel10.H_flows[$i1] = $FUN_9[integer(1.0 + ((-2.0) + $i1))] ($RES_SIM_83) (218) [----] end for; (219) [ARRY] (55) pipeN10nParallel10.flowModel.states = pipeN10nParallel10.statesFM ($RES_BND_510) (220) [SCAL] (1) pipeN20.H_flows[1] = $FUN_6 ($RES_SIM_211) (221) [ARRY] (50) pipeN10nParallel10.heatTransfer.states = pipeN10nParallel10.mediums.state ($RES_BND_511) (222) [FOR-] (19) ($RES_SIM_212) (222) [----] for $i1 in 2:20 loop (222) [----] [SCAL] (1) pipeN20.H_flows[$i1] = $FUN_5[integer(1.0 + ((-2.0) + $i1))] ($RES_SIM_213) (222) [----] end for; (223) [FOR-] (10) ($RES_SIM_84) (223) [----] for $i1 in 1:10 loop (223) [----] [SCAL] (1) pipeN10nParallel10.mb_flows[$i1] = pipeN10nParallel10.m_flows[$i1] - pipeN10nParallel10.m_flows[$i1 + 1] ($RES_SIM_85) (223) [----] end for; (224) [FOR-] (20) ($RES_SIM_214) (224) [----] for $i1 in 1:20 loop (224) [----] [SCAL] (1) pipeN20.mb_flows[$i1] = pipeN20.m_flows[$i1] - pipeN20.m_flows[$i1 + 1] ($RES_SIM_215) (224) [----] end for; (225) [FOR-] (10) ($RES_SIM_86) (225) [----] for $i1 in 1:10 loop (225) [----] [SCAL] (1) pipeN10nParallel10.Hb_flows[$i1] = pipeN10nParallel10.H_flows[$i1] - pipeN10nParallel10.H_flows[$i1 + 1] ($RES_SIM_87) (225) [----] end for; (226) [FOR-] (20) ($RES_SIM_216) (226) [----] for $i1 in 1:20 loop (226) [----] [SCAL] (1) pipeN20.Hb_flows[$i1] = pipeN20.H_flows[$i1] - pipeN20.H_flows[$i1 + 1] ($RES_SIM_217) (226) [----] end for; (227) [FOR-] (10) ($RES_EVT_600) (227) [----] for $i1 in 1:10 loop (227) [----] [SCAL] (1) $SEV_13[$i1] = pipeN10nParallel10.mediums[$i1].h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(pipeN10nParallel10.mediums.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(pipeN10nParallel10.mediums.sat.psat)) ($RES_EVT_601) (227) [----] end for; (228) [ARRY] (10) pipeN10.flowModel.pathLengths = pipeN10.pathLengths ($RES_BND_430) (229) [FOR-] (10) ($RES_SIM_131) (229) [----] for $i1 in 1:10 loop (229) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(pipeN10nParallel10.mediums[$i1].p) ($RES_SIM_132) (229) [----] end for; (230) [FOR-] (11) ($RES_BND_431) (230) [----] for $i1 in 1:11 loop (230) [----] [SCAL] (1) pipeN10.flowModel.rhos[$i1] = pipeN10.flowModel.states.d ($RES_BND_432) (230) [----] end for; (231) [FOR-] (10) ($RES_EVT_602) (231) [----] for $i1 in 1:10 loop (231) [----] [SCAL] (1) $SEV_14[$i1] = pipeN10nParallel10.mediums[$i1].h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(pipeN10nParallel10.mediums.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(pipeN10nParallel10.mediums.sat.psat)) ($RES_EVT_603) (231) [----] end for; (232) [SCAL] (1) boundary.medium.phase = boundary.medium.state.phase ($RES_SIM_307) (233) [SCAL] (1) boundary.medium.d = boundary.medium.state.d ($RES_SIM_308) (234) [FOR-] (10) ($RES_SIM_133) (234) [----] for $i1 in 1:10 loop (234) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].T = Modelica.Media.Water.IF97_Utilities.T_props_ph(pipeN10nParallel10.mediums[$i1].p, pipeN10nParallel10.mediums[$i1].h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeN10nParallel10.mediums[$i1].p, pipeN10nParallel10.mediums[$i1].h, pipeN10nParallel10.mediums[$i1].phase, 0)) ($RES_SIM_134) (234) [----] end for; (235) [FOR-] (11) ($RES_BND_433) (235) [----] for $i1 in 1:11 loop (235) [----] [SCAL] (1) pipeN10.flowModel.mus[$i1] = pipeN10.flowModel.mu_nominal ($RES_BND_434) (235) [----] end for; (236) [FOR-] (10) ($RES_EVT_604) (236) [----] for $i1 in 1:10 loop (236) [----] [SCAL] (1) $SEV_15[$i1] = $SEV_13[$i1] or $SEV_14[$i1] ($RES_EVT_605) (236) [----] end for; (237) [SCAL] (1) -((-273.15) - boundary.medium.T_degC) = boundary.medium.state.T ($RES_SIM_309) (238) [FOR-] (10) ($RES_SIM_135) (238) [----] for $i1 in 1:10 loop (238) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(pipeN10nParallel10.mediums[$i1].p, pipeN10nParallel10.mediums[$i1].h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeN10nParallel10.mediums[$i1].p, pipeN10nParallel10.mediums[$i1].h, pipeN10nParallel10.mediums[$i1].phase, 0)) ($RES_SIM_136) (238) [----] end for; (239) [FOR-] (10) ($RES_BND_435) (239) [----] for $i1 in 1:10 loop (239) [----] [SCAL] (1) pipeN10.vs[$i1] = ((0.5 * (pipeN10.m_flows[1 + $i1] + pipeN10.m_flows[$i1])) / (pipeN10.crossAreas[$i1] * pipeN10.mediums[$i1].d)) / pipeN10.nParallel ($RES_BND_436) (239) [----] end for; (240) [FOR-] (10) ($RES_EVT_606) (240) [----] for $i1 in 1:10 loop (240) [----] [SCAL] (1) $SEV_16[$i1] = pipeN10nParallel10.mediums[$i1].p > 2.2064e7 ($RES_EVT_607) (240) [----] end for; (241) [FOR-] (10) ($RES_SIM_137) (241) [----] for $i1 in 1:10 loop (241) [----] [SCAL] (1) pipeN10nParallel10.mediums[$i1].phase = if $SEV_17[$i1] then 1 else 2 ($RES_SIM_138) (241) [----] end for; (242) [FOR-] (10) ($RES_EVT_608) (242) [----] for $i1 in 1:10 loop (242) [----] [SCAL] (1) $SEV_17[$i1] = $SEV_15[$i1] or $SEV_16[$i1] ($RES_EVT_609) (242) [----] end for; (243) [FOR-] (10) ($RES_BND_438) (243) [----] for $i1 in 1:10 loop (243) [----] [SCAL] (1) pipeN10.heatTransfer.Ts[$i1] = pipeN10.heatTransfer.states.h ($RES_BND_439) (243) [----] end for; (244) [ARRY] (11) pipeN10nParallel10.crossAreasFM[:] = {pipeN10nParallel10.crossAreas[1], pipeN10nParallel10.crossAreas[2], pipeN10nParallel10.crossAreas[3], pipeN10nParallel10.crossAreas[4], pipeN10nParallel10.crossAreas[5], pipeN10nParallel10.crossAreas[6], pipeN10nParallel10.crossAreas[7], pipeN10nParallel10.crossAreas[8], pipeN10nParallel10.crossAreas[9], pipeN10nParallel10.crossAreas[10], pipeN10nParallel10.crossAreas[10]} ($RES_SIM_90) (245) [ARRY] (10) pipeN10nParallel10.dheightsFM[:] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0} ($RES_SIM_91) (246) [ARRY] (21) pipeN20.crossAreasFM[:] = {pipeN20.crossAreas[1], pipeN20.crossAreas[2], pipeN20.crossAreas[3], pipeN20.crossAreas[4], pipeN20.crossAreas[5], pipeN20.crossAreas[6], pipeN20.crossAreas[7], pipeN20.crossAreas[8], pipeN20.crossAreas[9], pipeN20.crossAreas[10], pipeN20.crossAreas[11], pipeN20.crossAreas[12], pipeN20.crossAreas[13], pipeN20.crossAreas[14], pipeN20.crossAreas[15], pipeN20.crossAreas[16], pipeN20.crossAreas[17], pipeN20.crossAreas[18], pipeN20.crossAreas[19], pipeN20.crossAreas[20], pipeN20.crossAreas[20]} ($RES_SIM_220) (247) [ARRY] (10) pipeN10nParallel10.pathLengths[:] = {10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0} ($RES_SIM_92) (248) [ARRY] (20) pipeN20.dheightsFM[:] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0} ($RES_SIM_221) (249) [SCAL] (1) pipeN10nParallel10.Wb_flows[10] = (0.5 * pipeN10nParallel10.flowModel.dps_fg[9] + 0.6666666666666666 * (pipeN10nParallel10.port_b.p - pipeN10nParallel10.mediums[9].p) + pipeN10nParallel10.flowModel.dps_fg[10]) * pipeN10nParallel10.crossAreas[10] * pipeN10nParallel10.vs[10] * pipeN10nParallel10.nParallel ($RES_SIM_93) (250) [ARRY] (20) pipeN20.pathLengths[:] = {5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0} ($RES_SIM_222) (251) [SCAL] (1) pipeN10nParallel10.Wb_flows[1] = (0.5 * (pipeN10nParallel10.mediums[2].p - pipeN10nParallel10.mediums[1].p) + 0.5 * pipeN10nParallel10.flowModel.dps_fg[1]) * pipeN10nParallel10.crossAreas[1] * pipeN10nParallel10.vs[1] * pipeN10nParallel10.nParallel ($RES_SIM_94) (252) [SCAL] (1) pipeN20.Wb_flows[20] = (0.5 * pipeN20.flowModel.dps_fg[19] + 0.6666666666666666 * (pipeN20.port_b.p - pipeN20.mediums[19].p) + pipeN20.flowModel.dps_fg[20]) * pipeN20.crossAreas[20] * pipeN20.vs[20] * pipeN20.nParallel ($RES_SIM_223) (253) [ARRY] (8) pipeN10nParallel10.Wb_flows[2:9] = {pipeN10nParallel10.vs[i] * pipeN10nParallel10.crossAreas[i] * ((pipeN10nParallel10.mediums[i + 1].p - pipeN10nParallel10.mediums[i - 1].p) / 2.0 + (pipeN10nParallel10.flowModel.dps_fg[i - 1] + pipeN10nParallel10.flowModel.dps_fg[i]) / 2.0) for i in 2:9} .* pipeN10nParallel10.nParallel ($RES_SIM_95) (254) [SCAL] (1) pipeN20.Wb_flows[1] = (0.5 * (pipeN20.mediums[2].p - pipeN20.mediums[1].p) + 0.5 * pipeN20.flowModel.dps_fg[1]) * pipeN20.crossAreas[1] * pipeN20.vs[1] * pipeN20.nParallel ($RES_SIM_224) (255) [ARRY] (10) pipeN10nParallel10.Qb_flows = pipeN10nParallel10.heatTransfer.Q_flows ($RES_SIM_96) (256) [ARRY] (18) pipeN20.Wb_flows[2:19] = {pipeN20.vs[i] * pipeN20.crossAreas[i] * ((pipeN20.mediums[i + 1].p - pipeN20.mediums[i - 1].p) / 2.0 + (pipeN20.flowModel.dps_fg[i - 1] + pipeN20.flowModel.dps_fg[i]) / 2.0) for i in 2:19} .* pipeN20.nParallel ($RES_SIM_225) (257) [ARRY] (10) pipeN10nParallel10.heatTransfer.Q_flows = pipeN10nParallel10.heatTransfer.heatPorts.Q_flow ($RES_SIM_97) (258) [ARRY] (20) pipeN20.Qb_flows = pipeN20.heatTransfer.Q_flows ($RES_SIM_226) (259) [ARRY] (10) pipeN10nParallel10.heatTransfer.Ts = pipeN10nParallel10.heatTransfer.heatPorts.T ($RES_SIM_98) (260) [ARRY] (20) pipeN20.heatTransfer.Q_flows = pipeN20.heatTransfer.heatPorts.Q_flow ($RES_SIM_227) (261) [ARRY] (10) $DER.pipeN10nParallel10.flowModel.Is = pipeN10nParallel10.flowModel.Ib_flows - (pipeN10nParallel10.flowModel.Fs_fg + pipeN10nParallel10.flowModel.Fs_p) ($RES_SIM_99) (262) [ARRY] (20) pipeN20.heatTransfer.Ts = pipeN20.heatTransfer.heatPorts.T ($RES_SIM_228) (263) [ARRY] (20) $DER.pipeN20.flowModel.Is = pipeN20.flowModel.Ib_flows - (pipeN20.flowModel.Fs_fg + pipeN20.flowModel.Fs_p) ($RES_SIM_229) (264) [SCAL] (1) 99999.99999999999 * boundary.medium.p_bar = boundary.medium.state.p ($RES_SIM_310) (265) [SCAL] (1) boundary.medium.u = boundary.h - (99999.99999999999 * boundary.medium.p_bar) / boundary.medium.d ($RES_SIM_313) (266) [SCAL] (1) boundary.medium.sat.psat = 99999.99999999999 * boundary.medium.p_bar ($RES_SIM_314) (267) [SCAL] (1) boundary.medium.sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(99999.99999999999 * boundary.medium.p_bar) ($RES_SIM_315) (268) [ARRY] (10) pipeN10.heatTransfer.vs = pipeN10.vs ($RES_BND_440) (269) [SCAL] (1) -((-273.15) - boundary.medium.T_degC) = Modelica.Media.Water.IF97_Utilities.T_props_ph(99999.99999999999 * boundary.medium.p_bar, boundary.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * boundary.medium.p_bar, boundary.h, boundary.medium.phase, 0)) ($RES_SIM_316) (270) [SCAL] (1) boundary3.ports[1].p = 99999.99999999999 * boundary3.medium.p_bar ($RES_SIM_141) (271) [SCAL] (1) $SEV_20 = (boundary3.medium.h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary3.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(boundary3.medium.sat.psat)) or boundary3.medium.h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary3.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(boundary3.medium.sat.psat))) or 99999.99999999999 * boundary3.medium.p_bar > 2.2064e7 ($RES_EVT_612) (272) [SCAL] (1) boundary.medium.d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(99999.99999999999 * boundary.medium.p_bar, boundary.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * boundary.medium.p_bar, boundary.h, boundary.medium.phase, 0)) ($RES_SIM_317) (273) [SCAL] (1) boundary3.ports[1].h_outflow = boundary3.medium.h ($RES_SIM_142) (274) [SCAL] (1) $SEV_21 = abs(sum({abs(boundary2.ports[1].m_flow)}) - abs(boundary2.ports[1].m_flow)) <= 1e-60 ($RES_EVT_613) (275) [SCAL] (1) boundary.medium.phase = if $SEV_40 then 1 else 2 ($RES_SIM_318) (276) [SCAL] (1) boundary3.medium.h = boundary3.state.h ($RES_SIM_143) (277) [SCAL] (1) 99999.99999999999 * boundary3.medium.p_bar = boundary3.state.p ($RES_SIM_144) (278) [SCAL] (1) $SEV_24 = (boundary2.h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary2.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(boundary2.medium.sat.psat)) or boundary2.h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary2.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(boundary2.medium.sat.psat))) or 99999.99999999999 * boundary2.medium.p_bar > 2.2064e7 ($RES_EVT_616) (279) [FOR-] (20) ($RES_EVT_617) (279) [----] for $i1 in 1:20 loop (279) [----] [SCAL] (1) $SEV_25[$i1] = pipeN20.flowModel.m_flows[$i1] > 0.0 ($RES_EVT_618) (279) [----] end for; (280) [FOR-] (20) ($RES_BND_448) (280) [----] for $i1 in 1:20 loop (280) [----] [SCAL] (1) pipeN20.fluidVolumes[$i1] = (5.0 * pipeN20.crossAreas[$i1]) * pipeN20.nParallel ($RES_BND_449) (280) [----] end for; (281) [SCAL] (1) $SEV_26 = pipeN20.flowModel.m_flows[i] > 0.0 ($RES_EVT_619) (282) [FOR-] (10) ($RES_SIM_401) (282) [----] for $i1 in 1:10 loop (282) [----] [SCAL] (1) pipeN10nParallel10.heatTransfer.heatPorts[$i1].Q_flow = 0.0 ($RES_SIM_402) (282) [----] end for; (283) [SCAL] (1) pipeN10nParallel10.port_b.m_flow + boundary5.ports[1].m_flow = 0.0 ($RES_SIM_403) (284) [FOR-] (20) ($RES_SIM_404) (284) [----] for $i1 in 1:20 loop (284) [----] [SCAL] (1) pipeN20.heatTransfer.heatPorts[$i1].Q_flow = 0.0 ($RES_SIM_405) (284) [----] end for; (285) [ARRY] (20) pipeN20.flowModel.Is = {pipeN20.flowModel.m_flows[i] * pipeN20.flowModel.pathLengths[i] for i in 1:20} ($RES_SIM_230) (286) [SCAL] (1) pipeN20.port_b.m_flow + boundary3.ports[1].m_flow = 0.0 ($RES_SIM_406) (287) [ARRY] (20) pipeN20.flowModel.dps_fg = {pipeN20.flowModel.Fs_fg[i] / pipeN20.flowModel.nParallel * 2.0 / (pipeN20.flowModel.crossAreas[i] + pipeN20.flowModel.crossAreas[i + 1]) for i in 1:20} ($RES_SIM_231) (288) [FOR-] (10) ($RES_SIM_407) (288) [----] for $i1 in 1:10 loop (288) [----] [SCAL] (1) pipeN10.heatTransfer.heatPorts[$i1].Q_flow = 0.0 ($RES_SIM_408) (288) [----] end for; (289) [ARRY] (20) pipeN20.flowModel.Fs_p = pipeN20.flowModel.nParallel * {0.0 for i in 1:20} ($RES_SIM_232) (290) [ARRY] (20) pipeN20.flowModel.Ib_flows = pipeN20.flowModel.nParallel * {pipeN20.flowModel.rhos[i] * pipeN20.flowModel.vs[i] * pipeN20.flowModel.vs[i] * pipeN20.flowModel.crossAreas[i] - pipeN20.flowModel.rhos[i + 1] * pipeN20.flowModel.vs[i + 1] * pipeN20.flowModel.vs[i + 1] * pipeN20.flowModel.crossAreas[i + 1] for i in 1:20} ($RES_SIM_233) (291) [SCAL] (1) pipeN10.port_b.m_flow + boundary1.ports[1].m_flow = 0.0 ($RES_SIM_409) (292) [FOR-] (20) ($RES_SIM_234) (292) [----] for $i1 in 1:20 loop (292) [----] [SCAL] (1) pipeN20.flowModel.rhos_act[$i1] = noEvent(if $SEV_25[$i1] then pipeN20.flowModel.rhos[$i1] else pipeN20.flowModel.rhos[$i1 + 1]) ($RES_SIM_235) (292) [----] end for; (293) [FOR-] (20) ($RES_SIM_236) (293) [----] for $i1 in 1:20 loop (293) [----] [SCAL] (1) pipeN20.flowModel.mus_act[$i1] = noEvent(if $SEV_25[$i1] then pipeN20.flowModel.mus[$i1] else pipeN20.flowModel.mus[$i1 + 1]) ($RES_SIM_237) (293) [----] end for; (294) [ARRY] (20) pipeN20.flowModel.dps_fg = {pipeN20.flowModel.g * pipeN20.flowModel.dheights[i] * (if $SEV_26 then pipeN20.flowModel.rhos[i] else pipeN20.flowModel.rhos[i + 1]) for i in 1:20} + (0.05 * pipeN20.flowModel.dp_nominal) / pipeN20.flowModel.m_flow_nominal * pipeN20.flowModel.m_flows ($RES_SIM_238) (295) [FOR-] (10) ($RES_SIM_320) (295) [----] for $i1 in 1:10 loop (295) [----] [SCAL] (1) $DER.pipeN10.ms[$i1] = pipeN10.mb_flows[$i1] ($RES_SIM_321) (295) [----] end for; (296) [FOR-] (10) ($RES_SIM_322) (296) [----] for $i1 in 1:10 loop (296) [----] [SCAL] (1) $DER.pipeN10.Us[$i1] = pipeN10.Wb_flows[$i1] + pipeN10.Hb_flows[$i1] + pipeN10.Qb_flows[$i1] ($RES_SIM_323) (296) [----] end for; (297) [FOR-] (10) ($RES_SIM_324) (297) [----] for $i1 in 1:10 loop (297) [----] [SCAL] (1) pipeN10.ms[$i1] = pipeN10.fluidVolumes[$i1] * pipeN10.mediums[$i1].d ($RES_SIM_325) (297) [----] end for; (298) [FOR-] (20) ($RES_EVT_620) (298) [----] for $i1 in 1:20 loop (298) [----] [SCAL] (1) $SEV_27[$i1] = pipeN20.mediums[$i1].p >= 0.0 ($RES_EVT_621) (298) [----] end for; (299) [FOR-] (20) ($RES_BND_450) (299) [----] for $i1 in 1:20 loop (299) [----] [SCAL] (1) pipeN20.mediums[$i1].p_bar = 1e-5 * pipeN20.mediums[$i1].p ($RES_BND_451) (299) [----] end for; (300) [FOR-] (10) ($RES_SIM_326) (300) [----] for $i1 in 1:10 loop (300) [----] [SCAL] (1) pipeN10.Us[$i1] = pipeN10.ms[$i1] * pipeN10.mediums[$i1].u ($RES_SIM_327) (300) [----] end for; (301) [SCAL] (1) boundary3.medium.phase = boundary3.medium.state.phase ($RES_SIM_151) (302) [SCAL] (1) boundary3.medium.d = boundary3.medium.state.d ($RES_SIM_152) (303) [FOR-] (20) ($RES_BND_452) (303) [----] for $i1 in 1:20 loop (303) [----] [SCAL] (1) pipeN20.mediums[$i1].T_degC = (-273.15) + pipeN20.mediums[$i1].T ($RES_BND_453) (303) [----] end for; (304) [SCAL] (1) pipeN10.port_a.p = pipeN10.mediums[1].p ($RES_SIM_328) (305) [SCAL] (1) -((-273.15) - boundary3.medium.T_degC) = boundary3.medium.state.T ($RES_SIM_153) (306) [FOR-] (20) ($RES_EVT_624) (306) [----] for $i1 in 1:20 loop (306) [----] [SCAL] (1) $SEV_29[$i1] = pipeN20.mediums[$i1].h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(pipeN20.mediums.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(pipeN20.mediums.sat.psat)) ($RES_EVT_625) (306) [----] end for; (307) [SCAL] (1) pipeN10.vsFM[11] = ((pipeN10.m_flows[11] / pipeN10.state_b.d) / pipeN10.crossAreas[10]) / pipeN10.nParallel ($RES_SIM_329) (308) [ARRY] (21) pipeN20.flowModel.vs = pipeN20.vsFM ($RES_BND_454) (309) [SCAL] (1) 99999.99999999999 * boundary3.medium.p_bar = boundary3.medium.state.p ($RES_SIM_154) (310) [ARRY] (21) pipeN20.flowModel.crossAreas = pipeN20.crossAreasFM ($RES_BND_455) (311) [SCAL] (1) boundary3.medium.h = boundary3.medium.state.h ($RES_SIM_155) (312) [FOR-] (20) ($RES_EVT_626) (312) [----] for $i1 in 1:20 loop (312) [----] [SCAL] (1) $SEV_30[$i1] = pipeN20.mediums[$i1].h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(pipeN20.mediums.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(pipeN20.mediums.sat.psat)) ($RES_EVT_627) (312) [----] end for; (313) [SCAL] (1) boundary3.medium.u = boundary3.medium.h - (99999.99999999999 * boundary3.medium.p_bar) / boundary3.medium.d ($RES_SIM_157) (314) [FOR-] (20) ($RES_EVT_628) (314) [----] for $i1 in 1:20 loop (314) [----] [SCAL] (1) $SEV_31[$i1] = $SEV_29[$i1] or $SEV_30[$i1] ($RES_EVT_629) (314) [----] end for; (315) [ARRY] (20) pipeN20.flowModel.dheights = pipeN20.dheightsFM ($RES_BND_458) (316) [SCAL] (1) boundary3.medium.sat.psat = 99999.99999999999 * boundary3.medium.p_bar ($RES_SIM_158) (317) [SCAL] (1) pipeN10nParallel10.port_b.p = boundary5.ports[1].p ($RES_SIM_410) (318) [ARRY] (20) pipeN20.flowModel.pathLengths = pipeN20.pathLengths ($RES_BND_459) (319) [SCAL] (1) boundary3.medium.sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(99999.99999999999 * boundary3.medium.p_bar) ($RES_SIM_159) (320) [SCAL] (1) pipeN10nParallel10.port_a.m_flow + boundary4.ports[1].m_flow = 0.0 ($RES_SIM_411) (321) [SCAL] (1) boundary4.ports[1].p = pipeN10nParallel10.port_a.p ($RES_SIM_412) (322) [SCAL] (1) pipeN20.port_b.p = boundary3.ports[1].p ($RES_SIM_413) (323) [SCAL] (1) pipeN20.port_a.m_flow + boundary2.ports[1].m_flow = 0.0 ($RES_SIM_414) (324) [SCAL] (1) boundary2.ports[1].p = pipeN20.port_a.p ($RES_SIM_415) (325) [SCAL] (1) pipeN10.port_b.p = boundary1.ports[1].p ($RES_SIM_416) (326) [SCAL] (1) pipeN10.port_a.m_flow + boundary.ports[1].m_flow = 0.0 ($RES_SIM_417) (327) [SCAL] (1) boundary.ports[1].p = pipeN10.port_a.p ($RES_SIM_418) (328) [FOR-] (20) ($RES_SIM_245) (328) [----] for $i1 in 1:20 loop (328) [----] [SCAL] (1) pipeN20.mediums[$i1].phase = pipeN20.mediums[$i1].state.phase ($RES_SIM_246) (328) [----] end for; (329) [FOR-] (20) ($RES_SIM_247) (329) [----] for $i1 in 1:20 loop (329) [----] [SCAL] (1) pipeN20.mediums[$i1].d = pipeN20.mediums[$i1].state.d ($RES_SIM_248) (329) [----] end for; (330) [FOR-] (20) ($RES_SIM_249) (330) [----] for $i1 in 1:20 loop (330) [----] [SCAL] (1) pipeN20.mediums[$i1].T = pipeN20.mediums[$i1].state.T ($RES_SIM_250) (330) [----] end for; (331) [ARRY] (10) pipeN10.vsFM[1:10] = pipeN10.vs ($RES_SIM_330) (332) [ARRY] (10) pipeN10.m_flows[2:11] = pipeN10.flowModel.m_flows[:] ($RES_SIM_331) (333) [RECD] (5) pipeN10.statesFM[11] = pipeN10.state_b ($RES_SIM_332) (334) [ARRY] (50) pipeN10.statesFM[1:10] = pipeN10.mediums[:].state ($RES_SIM_333) (335) [FOR-] (20) ($RES_EVT_630) (335) [----] for $i1 in 1:20 loop (335) [----] [SCAL] (1) $SEV_32[$i1] = pipeN20.mediums[$i1].p > 2.2064e7 ($RES_EVT_631) (335) [----] end for; (336) [FOR-] (21) ($RES_BND_460) (336) [----] for $i1 in 1:21 loop (336) [----] [SCAL] (1) pipeN20.flowModel.rhos[$i1] = pipeN20.flowModel.states.d ($RES_BND_461) (336) [----] end for; (337) [SCAL] (1) -((-273.15) - boundary3.medium.T_degC) = Modelica.Media.Water.IF97_Utilities.T_props_ph(99999.99999999999 * boundary3.medium.p_bar, boundary3.medium.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * boundary3.medium.p_bar, boundary3.medium.h, boundary3.medium.phase, 0)) ($RES_SIM_160) (338) [FOR-] (9) ($RES_$AUX_525) (338) [----] for $i1 in 2:10 loop (338) [----] [SCAL] (1) $FUN_1[integer(1.0 + ((-2.0) + $i1))] = semiLinear(pipeN10.m_flows[$i1], pipeN10.mediums[$i1 - 1].h, pipeN10.mediums[$i1].h) ($RES_$AUX_526) (338) [----] end for; (339) [SCAL] (1) pipeN10.port_b.h_outflow = pipeN10.mediums[10].h ($RES_SIM_336) (340) [SCAL] (1) boundary3.medium.d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(99999.99999999999 * boundary3.medium.p_bar, boundary3.medium.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * boundary3.medium.p_bar, boundary3.medium.h, boundary3.medium.phase, 0)) ($RES_SIM_161) (341) [SCAL] (1) $FUN_2 = semiLinear(pipeN10.port_a.m_flow, boundary.ports[1].h_outflow, pipeN10.mediums[1].h) ($RES_$AUX_524) (342) [FOR-] (20) ($RES_EVT_632) (342) [----] for $i1 in 1:20 loop (342) [----] [SCAL] (1) $SEV_33[$i1] = $SEV_31[$i1] or $SEV_32[$i1] ($RES_EVT_633) (342) [----] end for; (343) [SCAL] (1) pipeN10.port_a.h_outflow = pipeN10.mediums[1].h ($RES_SIM_337) (344) [FOR-] (21) ($RES_BND_462) (344) [----] for $i1 in 1:21 loop (344) [----] [SCAL] (1) pipeN20.flowModel.mus[$i1] = pipeN20.flowModel.mu_nominal ($RES_BND_463) (344) [----] end for; (345) [SCAL] (1) boundary3.medium.phase = if $SEV_20 then 1 else 2 ($RES_SIM_162) (346) [SCAL] (1) $FUN_3 = semiLinear(pipeN10.port_b.m_flow, boundary1.ports[1].h_outflow, pipeN10.mediums[10].h) ($RES_$AUX_523) (347) [SCAL] (1) pipeN10.port_b.m_flow = -pipeN10.m_flows[11] ($RES_SIM_338) (348) [SCAL] (1) -boundary.m_flow = sum(boundary.ports.m_flow) ($RES_$AUX_522) (349) [SCAL] (1) pipeN10.port_a.m_flow = pipeN10.m_flows[1] ($RES_SIM_339) (350) [FOR-] (20) ($RES_BND_464) (350) [----] for $i1 in 1:20 loop (350) [----] [SCAL] (1) pipeN20.vs[$i1] = ((0.5 * (pipeN20.m_flows[1 + $i1] + pipeN20.m_flows[$i1])) / (pipeN20.crossAreas[$i1] * pipeN20.mediums[$i1].d)) / pipeN20.nParallel ($RES_BND_465) (350) [----] end for; (351) [SCAL] (1) boundary2.ports[1].p = 99999.99999999999 * boundary2.medium.p_bar ($RES_SIM_164) (352) [SCAL] (1) boundary2.ports[1].h_outflow = boundary2.h ($RES_SIM_165) (353) [FOR-] (19) ($RES_$AUX_520) (353) [----] for $i1 in 2:20 loop (353) [----] [SCAL] (1) $FUN_5[integer(1.0 + ((-2.0) + $i1))] = semiLinear(pipeN20.m_flows[$i1], pipeN20.mediums[$i1 - 1].h, pipeN20.mediums[$i1].h) ($RES_$AUX_521) (353) [----] end for; (354) [SCAL] (1) $SEV_36 = (boundary1.medium.h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary1.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(boundary1.medium.sat.psat)) or boundary1.medium.h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary1.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(boundary1.medium.sat.psat))) or 99999.99999999999 * boundary1.medium.p_bar > 2.2064e7 ($RES_EVT_636) (355) [SCAL] (1) $SEV_37 = abs(sum({abs(boundary.ports[1].m_flow)}) - abs(boundary.ports[1].m_flow)) <= 1e-60 ($RES_EVT_637) (356) [FOR-] (20) ($RES_BND_467) (356) [----] for $i1 in 1:20 loop (356) [----] [SCAL] (1) pipeN20.heatTransfer.Ts[$i1] = pipeN20.heatTransfer.states.h ($RES_BND_468) (356) [----] end for; (357) [ARRY] (20) pipeN20.heatTransfer.vs = pipeN20.vs ($RES_BND_469) (358) [FOR-] (20) ($RES_SIM_251) (358) [----] for $i1 in 1:20 loop (358) [----] [SCAL] (1) pipeN20.mediums[$i1].p = pipeN20.mediums[$i1].state.p ($RES_SIM_252) (358) [----] end for; (359) [FOR-] (20) ($RES_SIM_253) (359) [----] for $i1 in 1:20 loop (359) [----] [SCAL] (1) pipeN20.mediums[$i1].h = pipeN20.mediums[$i1].state.h ($RES_SIM_254) (359) [----] end for;