ahuora-builder 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. ahuora_builder/__init__.py +0 -0
  2. ahuora_builder/arc_manager.py +33 -0
  3. ahuora_builder/build_state.py +57 -0
  4. ahuora_builder/custom/PIDController.py +494 -0
  5. ahuora_builder/custom/PySMOModel.py +178 -0
  6. ahuora_builder/custom/SimpleEffectivenessHX_DH.py +727 -0
  7. ahuora_builder/custom/__init__.py +0 -0
  8. ahuora_builder/custom/add_initial_dynamics.py +35 -0
  9. ahuora_builder/custom/custom_compressor.py +107 -0
  10. ahuora_builder/custom/custom_cooler.py +33 -0
  11. ahuora_builder/custom/custom_heat_exchanger.py +183 -0
  12. ahuora_builder/custom/custom_heat_exchanger_1d.py +258 -0
  13. ahuora_builder/custom/custom_heater.py +41 -0
  14. ahuora_builder/custom/custom_pressure_changer.py +34 -0
  15. ahuora_builder/custom/custom_pump.py +107 -0
  16. ahuora_builder/custom/custom_separator.py +371 -0
  17. ahuora_builder/custom/custom_tank.py +133 -0
  18. ahuora_builder/custom/custom_turbine.py +132 -0
  19. ahuora_builder/custom/custom_valve.py +300 -0
  20. ahuora_builder/custom/custom_variable.py +29 -0
  21. ahuora_builder/custom/direct_steam_injection.py +371 -0
  22. ahuora_builder/custom/energy/__init__.py +0 -0
  23. ahuora_builder/custom/energy/acBus.py +280 -0
  24. ahuora_builder/custom/energy/ac_property_package.py +279 -0
  25. ahuora_builder/custom/energy/battery.py +170 -0
  26. ahuora_builder/custom/energy/bus.py +182 -0
  27. ahuora_builder/custom/energy/energy_mixer.py +195 -0
  28. ahuora_builder/custom/energy/energy_splitter.py +228 -0
  29. ahuora_builder/custom/energy/grid.py +173 -0
  30. ahuora_builder/custom/energy/hydro.py +169 -0
  31. ahuora_builder/custom/energy/link.py +137 -0
  32. ahuora_builder/custom/energy/load.py +155 -0
  33. ahuora_builder/custom/energy/mainDistributionBoard.py +257 -0
  34. ahuora_builder/custom/energy/power_property_package.py +253 -0
  35. ahuora_builder/custom/energy/solar.py +176 -0
  36. ahuora_builder/custom/energy/storage.py +230 -0
  37. ahuora_builder/custom/energy/storage_wrapper +0 -0
  38. ahuora_builder/custom/energy/tests/__init__.py +0 -0
  39. ahuora_builder/custom/energy/tests/test_bus.py +44 -0
  40. ahuora_builder/custom/energy/tests/test_energy_mixer.py +46 -0
  41. ahuora_builder/custom/energy/tests/test_mdb.py +49 -0
  42. ahuora_builder/custom/energy/transformer.py +187 -0
  43. ahuora_builder/custom/energy/transformer_property_package.py +267 -0
  44. ahuora_builder/custom/energy/transmissionLine.py +228 -0
  45. ahuora_builder/custom/energy/wind.py +206 -0
  46. ahuora_builder/custom/hda_ideal_VLE.py +1341 -0
  47. ahuora_builder/custom/hda_reaction.py +182 -0
  48. ahuora_builder/custom/heat_exchanger_1d_wrapper.py +31 -0
  49. ahuora_builder/custom/integration_block.py +106 -0
  50. ahuora_builder/custom/inverted.py +81 -0
  51. ahuora_builder/custom/performance_curves.py +1 -0
  52. ahuora_builder/custom/reactions/__init__.py +0 -0
  53. ahuora_builder/custom/reactions/hda_stoich.py +10 -0
  54. ahuora_builder/custom/simple_separator.py +680 -0
  55. ahuora_builder/custom/tests/__init__.py +0 -0
  56. ahuora_builder/custom/tests/test_SimpleEffectivenessHX_DH.py +91 -0
  57. ahuora_builder/custom/tests/test_custom_tank.py +70 -0
  58. ahuora_builder/custom/tests/test_direct_steam_injection.py +41 -0
  59. ahuora_builder/custom/tests/test_simple_separator.py +46 -0
  60. ahuora_builder/custom/tests/test_waterpipe.py +46 -0
  61. ahuora_builder/custom/thermal_utility_systems/desuperheater.py +624 -0
  62. ahuora_builder/custom/thermal_utility_systems/header.py +889 -0
  63. ahuora_builder/custom/thermal_utility_systems/simple_heat_pump.py +567 -0
  64. ahuora_builder/custom/thermal_utility_systems/steam_header.py +353 -0
  65. ahuora_builder/custom/thermal_utility_systems/steam_user.py +944 -0
  66. ahuora_builder/custom/thermal_utility_systems/temp.py +349 -0
  67. ahuora_builder/custom/thermal_utility_systems/tests/test_desuperheater.py +142 -0
  68. ahuora_builder/custom/thermal_utility_systems/tests/test_header.py +998 -0
  69. ahuora_builder/custom/thermal_utility_systems/tests/test_ntu_hx.py +129 -0
  70. ahuora_builder/custom/thermal_utility_systems/tests/test_simple_heat_pump.py +120 -0
  71. ahuora_builder/custom/thermal_utility_systems/tests/test_steam_header.py +703 -0
  72. ahuora_builder/custom/thermal_utility_systems/tests/test_steam_user.py +277 -0
  73. ahuora_builder/custom/thermal_utility_systems/tests/test_waterpipe.py +36 -0
  74. ahuora_builder/custom/thermal_utility_systems/tests/test_willans_turbine.py +253 -0
  75. ahuora_builder/custom/thermal_utility_systems/willans_turbine.py +804 -0
  76. ahuora_builder/custom/translator.py +129 -0
  77. ahuora_builder/custom/updated_pressure_changer.py +1404 -0
  78. ahuora_builder/custom/valve_wrapper.py +38 -0
  79. ahuora_builder/custom/water_tank_with_units.py +456 -0
  80. ahuora_builder/diagnostics/__init__.py +0 -0
  81. ahuora_builder/diagnostics/infeasibilities.py +40 -0
  82. ahuora_builder/diagnostics/tests/__init__.py +0 -0
  83. ahuora_builder/diagnostics/tests/test_infeasibilities.py +28 -0
  84. ahuora_builder/flowsheet_manager.py +542 -0
  85. ahuora_builder/flowsheet_manager_type.py +20 -0
  86. ahuora_builder/generate_python_file.py +440 -0
  87. ahuora_builder/methods/BlockContext.py +84 -0
  88. ahuora_builder/methods/__init__.py +0 -0
  89. ahuora_builder/methods/adapter.py +355 -0
  90. ahuora_builder/methods/adapter_library.py +549 -0
  91. ahuora_builder/methods/adapter_methods.py +80 -0
  92. ahuora_builder/methods/expression_parsing.py +105 -0
  93. ahuora_builder/methods/load_unit_model.py +147 -0
  94. ahuora_builder/methods/slice_manipulation.py +7 -0
  95. ahuora_builder/methods/tests/__init__.py +0 -0
  96. ahuora_builder/methods/tests/test_expression_parsing.py +15 -0
  97. ahuora_builder/methods/units_handler.py +129 -0
  98. ahuora_builder/ml_wizard.py +101 -0
  99. ahuora_builder/port_manager.py +20 -0
  100. ahuora_builder/properties_manager.py +44 -0
  101. ahuora_builder/property_package_manager.py +78 -0
  102. ahuora_builder/solver.py +38 -0
  103. ahuora_builder/tear_manager.py +98 -0
  104. ahuora_builder/tests/__init__.py +0 -0
  105. ahuora_builder/tests/test_generate_python_file/__init__.py +0 -0
  106. ahuora_builder/tests/test_generate_python_file/configurations/compressor_generated.py +63 -0
  107. ahuora_builder/tests/test_generate_python_file/configurations/heat_exchanger_generated.py +70 -0
  108. ahuora_builder/tests/test_generate_python_file/configurations/pump_generated.py +84 -0
  109. ahuora_builder/tests/test_generate_python_file/configurations/recycle_generated.py +73 -0
  110. ahuora_builder/tests/test_generate_python_file/test_generate_python_file.py +108 -0
  111. ahuora_builder/tests/test_solver/__init__.py +0 -0
  112. ahuora_builder/tests/test_solver/configurations/BT_PR.json +59 -0
  113. ahuora_builder/tests/test_solver/configurations/BT_PR_solved.json +59 -0
  114. ahuora_builder/tests/test_solver/configurations/bus.json +99 -0
  115. ahuora_builder/tests/test_solver/configurations/bus_solved.json +50 -0
  116. ahuora_builder/tests/test_solver/configurations/compound_separator.json +377 -0
  117. ahuora_builder/tests/test_solver/configurations/compound_separator_solved.json +374 -0
  118. ahuora_builder/tests/test_solver/configurations/compressor.json +38 -0
  119. ahuora_builder/tests/test_solver/configurations/compressor_solved.json +68 -0
  120. ahuora_builder/tests/test_solver/configurations/constraints.json +44 -0
  121. ahuora_builder/tests/test_solver/configurations/constraints_solved.json +59 -0
  122. ahuora_builder/tests/test_solver/configurations/control.json +39 -0
  123. ahuora_builder/tests/test_solver/configurations/control_solved.json +68 -0
  124. ahuora_builder/tests/test_solver/configurations/dynamic_tank.json +733 -0
  125. ahuora_builder/tests/test_solver/configurations/dynamic_tank_solved.json +846 -0
  126. ahuora_builder/tests/test_solver/configurations/elimination.json +39 -0
  127. ahuora_builder/tests/test_solver/configurations/elimination_solved.json +68 -0
  128. ahuora_builder/tests/test_solver/configurations/expressions.json +68 -0
  129. ahuora_builder/tests/test_solver/configurations/expressions_solved.json +104 -0
  130. ahuora_builder/tests/test_solver/configurations/header.json +1192 -0
  131. ahuora_builder/tests/test_solver/configurations/header_solved.json +761 -0
  132. ahuora_builder/tests/test_solver/configurations/heat_exchanger.json +63 -0
  133. ahuora_builder/tests/test_solver/configurations/heat_exchanger_solved.json +104 -0
  134. ahuora_builder/tests/test_solver/configurations/heat_pump.json +137 -0
  135. ahuora_builder/tests/test_solver/configurations/heat_pump_solved.json +104 -0
  136. ahuora_builder/tests/test_solver/configurations/machine_learning.json +2156 -0
  137. ahuora_builder/tests/test_solver/configurations/machine_learning_solved.json +266 -0
  138. ahuora_builder/tests/test_solver/configurations/mass_flow_tear.json +77 -0
  139. ahuora_builder/tests/test_solver/configurations/mass_flow_tear_solved.json +68 -0
  140. ahuora_builder/tests/test_solver/configurations/milk_heater.json +521 -0
  141. ahuora_builder/tests/test_solver/configurations/milk_heater_solved.json +311 -0
  142. ahuora_builder/tests/test_solver/configurations/mixer.json +44 -0
  143. ahuora_builder/tests/test_solver/configurations/mixer_solved.json +86 -0
  144. ahuora_builder/tests/test_solver/configurations/optimization.json +62 -0
  145. ahuora_builder/tests/test_solver/configurations/optimization_solved.json +59 -0
  146. ahuora_builder/tests/test_solver/configurations/propane_heat_pump.json +167 -0
  147. ahuora_builder/tests/test_solver/configurations/propane_heat_pump_solved.json +158 -0
  148. ahuora_builder/tests/test_solver/configurations/propane_recycle.json +141 -0
  149. ahuora_builder/tests/test_solver/configurations/propane_recycle_solved.json +104 -0
  150. ahuora_builder/tests/test_solver/configurations/pump.json +64 -0
  151. ahuora_builder/tests/test_solver/configurations/pump_solved.json +59 -0
  152. ahuora_builder/tests/test_solver/configurations/pump_unit_conversions.json +63 -0
  153. ahuora_builder/tests/test_solver/configurations/recycle.json +49 -0
  154. ahuora_builder/tests/test_solver/configurations/recycle_solved.json +50 -0
  155. ahuora_builder/tests/test_solver/configurations/sb_vapor_frac.json +29 -0
  156. ahuora_builder/tests/test_solver/configurations/sb_vapor_frac_solved.json +29 -0
  157. ahuora_builder/tests/test_solver/configurations/solar.json +67 -0
  158. ahuora_builder/tests/test_solver/configurations/solar_solved.json +50 -0
  159. ahuora_builder/tests/test_solver/configurations/vapor_frac_target.json +67 -0
  160. ahuora_builder/tests/test_solver/configurations/vapor_frac_target_solved.json +68 -0
  161. ahuora_builder/tests/test_solver/test_solve_models.py +250 -0
  162. ahuora_builder/timing.py +65 -0
  163. ahuora_builder/types/__init__.py +1 -0
  164. ahuora_builder/unit_model_manager.py +48 -0
  165. ahuora_builder-0.1.0.dist-info/METADATA +14 -0
  166. ahuora_builder-0.1.0.dist-info/RECORD +167 -0
  167. ahuora_builder-0.1.0.dist-info/WHEEL +4 -0
@@ -0,0 +1,1192 @@
1
+ {
2
+ "id": 1,
3
+ "name": "",
4
+ "description": "",
5
+ "dynamic": false,
6
+ "is_rating_mode": false,
7
+ "time_set": [
8
+ 0.0
9
+ ],
10
+ "property_packages": [
11
+ {
12
+ "id": 0,
13
+ "type": "helmholtz",
14
+ "compounds": [
15
+ "water"
16
+ ],
17
+ "phases": [
18
+ "Liq",
19
+ "Vap"
20
+ ]
21
+ }
22
+ ],
23
+ "unit_models": [
24
+ {
25
+ "id": 2,
26
+ "type": "header",
27
+ "name": "Header1",
28
+ "args": {
29
+ "property_package": 0,
30
+ "num_inlets": 1,
31
+ "num_outlets": 2
32
+ },
33
+ "properties": {
34
+ "split_flow": {
35
+ "data": [
36
+ {
37
+ "id": 18,
38
+ "discrete_indexes": [
39
+ "outlet_1"
40
+ ],
41
+ "value": [
42
+ 0.1
43
+ ],
44
+ "controlled": null,
45
+ "guess": false,
46
+ "constraint": null
47
+ },
48
+ {
49
+ "id": 19,
50
+ "discrete_indexes": [
51
+ "outlet_2"
52
+ ],
53
+ "value": [
54
+ 0.3
55
+ ],
56
+ "controlled": null,
57
+ "guess": false,
58
+ "constraint": null
59
+ }
60
+ ],
61
+ "unit": "mol/s"
62
+ },
63
+ "splitter.vent.flow_mol": {
64
+ "data": [
65
+ {
66
+ "id": 20,
67
+ "discrete_indexes": [],
68
+ "value": null,
69
+ "controlled": null,
70
+ "guess": false,
71
+ "constraint": null
72
+ }
73
+ ],
74
+ "unit": ""
75
+ },
76
+ "heat_duty_inverted": {
77
+ "data": [
78
+ {
79
+ "id": 21,
80
+ "discrete_indexes": [],
81
+ "value": [
82
+ 0.0
83
+ ],
84
+ "controlled": null,
85
+ "guess": false,
86
+ "constraint": null
87
+ }
88
+ ],
89
+ "unit": "kW"
90
+ },
91
+ "deltaP_inverted": {
92
+ "data": [
93
+ {
94
+ "id": 22,
95
+ "discrete_indexes": [],
96
+ "value": [
97
+ 0.0
98
+ ],
99
+ "controlled": null,
100
+ "guess": false,
101
+ "constraint": null
102
+ }
103
+ ],
104
+ "unit": "kPa"
105
+ },
106
+ "total_flow_mass": {
107
+ "data": [
108
+ {
109
+ "id": 23,
110
+ "discrete_indexes": [],
111
+ "value": null,
112
+ "controlled": null,
113
+ "guess": false,
114
+ "constraint": null
115
+ }
116
+ ],
117
+ "unit": ""
118
+ },
119
+ "total_flow_mol": {
120
+ "data": [
121
+ {
122
+ "id": 24,
123
+ "discrete_indexes": [],
124
+ "value": null,
125
+ "controlled": null,
126
+ "guess": false,
127
+ "constraint": null
128
+ }
129
+ ],
130
+ "unit": ""
131
+ },
132
+ "balance_flow_mol": {
133
+ "data": [
134
+ {
135
+ "id": 25,
136
+ "discrete_indexes": [],
137
+ "value": null,
138
+ "controlled": null,
139
+ "guess": false,
140
+ "constraint": null
141
+ }
142
+ ],
143
+ "unit": ""
144
+ },
145
+ "temperature": {
146
+ "data": [
147
+ {
148
+ "id": 26,
149
+ "discrete_indexes": [],
150
+ "value": null,
151
+ "controlled": null,
152
+ "guess": false,
153
+ "constraint": null
154
+ }
155
+ ],
156
+ "unit": ""
157
+ },
158
+ "degree_of_superheat": {
159
+ "data": [
160
+ {
161
+ "id": 27,
162
+ "discrete_indexes": [],
163
+ "value": null,
164
+ "controlled": null,
165
+ "guess": false,
166
+ "constraint": null
167
+ }
168
+ ],
169
+ "unit": ""
170
+ },
171
+ "pressure": {
172
+ "data": [
173
+ {
174
+ "id": 28,
175
+ "discrete_indexes": [],
176
+ "value": null,
177
+ "controlled": null,
178
+ "guess": false,
179
+ "constraint": null
180
+ }
181
+ ],
182
+ "unit": ""
183
+ },
184
+ "vapor_frac": {
185
+ "data": [
186
+ {
187
+ "id": 29,
188
+ "discrete_indexes": [],
189
+ "value": null,
190
+ "controlled": null,
191
+ "guess": false,
192
+ "constraint": null
193
+ }
194
+ ],
195
+ "unit": ""
196
+ },
197
+ "enth_mass": {
198
+ "data": [
199
+ {
200
+ "id": 30,
201
+ "discrete_indexes": [],
202
+ "value": null,
203
+ "controlled": null,
204
+ "guess": false,
205
+ "constraint": null
206
+ }
207
+ ],
208
+ "unit": ""
209
+ },
210
+ "enth_mol": {
211
+ "data": [
212
+ {
213
+ "id": 31,
214
+ "discrete_indexes": [],
215
+ "value": null,
216
+ "controlled": null,
217
+ "guess": false,
218
+ "constraint": null
219
+ }
220
+ ],
221
+ "unit": ""
222
+ }
223
+ },
224
+ "ports": {
225
+ "mixer.inlet_1": {
226
+ "id": 3,
227
+ "properties": {
228
+ "flow_mol": {
229
+ "data": [
230
+ {
231
+ "id": 55,
232
+ "discrete_indexes": [],
233
+ "value": [
234
+ 1.0
235
+ ],
236
+ "controlled": null,
237
+ "guess": false,
238
+ "constraint": null
239
+ }
240
+ ],
241
+ "unit": "mol/s"
242
+ },
243
+ "pressure": {
244
+ "data": [
245
+ {
246
+ "id": 57,
247
+ "discrete_indexes": [],
248
+ "value": [
249
+ 100.0
250
+ ],
251
+ "controlled": null,
252
+ "guess": false,
253
+ "constraint": null
254
+ }
255
+ ],
256
+ "unit": "kPa"
257
+ },
258
+ "enth_mass": {
259
+ "data": [
260
+ {
261
+ "id": 60,
262
+ "discrete_indexes": [],
263
+ "value": null,
264
+ "controlled": null,
265
+ "guess": false,
266
+ "constraint": null
267
+ }
268
+ ],
269
+ "unit": ""
270
+ },
271
+ "enth_mol": {
272
+ "data": [
273
+ {
274
+ "id": 59,
275
+ "discrete_indexes": [],
276
+ "value": null,
277
+ "controlled": null,
278
+ "guess": false,
279
+ "constraint": null
280
+ }
281
+ ],
282
+ "unit": ""
283
+ },
284
+ "mole_frac_comp": {
285
+ "data": [
286
+ {
287
+ "id": 93,
288
+ "discrete_indexes": [
289
+ "water"
290
+ ],
291
+ "value": [
292
+ 1.0
293
+ ],
294
+ "controlled": null,
295
+ "guess": false,
296
+ "constraint": null
297
+ }
298
+ ],
299
+ "unit": "dimensionless"
300
+ },
301
+ "mole_frac_phase_comp": {
302
+ "data": [
303
+ {
304
+ "id": 94,
305
+ "discrete_indexes": [
306
+ "Liq",
307
+ "water"
308
+ ],
309
+ "value": null,
310
+ "controlled": null,
311
+ "guess": false,
312
+ "constraint": null
313
+ },
314
+ {
315
+ "id": 95,
316
+ "discrete_indexes": [
317
+ "Vap",
318
+ "water"
319
+ ],
320
+ "value": null,
321
+ "controlled": null,
322
+ "guess": false,
323
+ "constraint": null
324
+ }
325
+ ],
326
+ "unit": ""
327
+ },
328
+ "temperature": {
329
+ "data": [
330
+ {
331
+ "id": 56,
332
+ "discrete_indexes": [],
333
+ "value": [
334
+ 200.00000000000006
335
+ ],
336
+ "controlled": null,
337
+ "guess": false,
338
+ "constraint": null
339
+ }
340
+ ],
341
+ "unit": "degC"
342
+ },
343
+ "vapor_frac": {
344
+ "data": [
345
+ {
346
+ "id": 58,
347
+ "discrete_indexes": [],
348
+ "value": null,
349
+ "controlled": null,
350
+ "guess": false,
351
+ "constraint": null
352
+ }
353
+ ],
354
+ "unit": ""
355
+ },
356
+ "flow_mass": {
357
+ "data": [
358
+ {
359
+ "id": 54,
360
+ "discrete_indexes": [],
361
+ "value": null,
362
+ "controlled": null,
363
+ "guess": false,
364
+ "constraint": null
365
+ }
366
+ ],
367
+ "unit": ""
368
+ },
369
+ "flow_vol": {
370
+ "data": [
371
+ {
372
+ "id": 64,
373
+ "discrete_indexes": [],
374
+ "value": null,
375
+ "controlled": null,
376
+ "guess": false,
377
+ "constraint": null
378
+ }
379
+ ],
380
+ "unit": ""
381
+ },
382
+ "entr_mass": {
383
+ "data": [
384
+ {
385
+ "id": 62,
386
+ "discrete_indexes": [],
387
+ "value": null,
388
+ "controlled": null,
389
+ "guess": false,
390
+ "constraint": null
391
+ }
392
+ ],
393
+ "unit": ""
394
+ },
395
+ "entr_mol": {
396
+ "data": [
397
+ {
398
+ "id": 61,
399
+ "discrete_indexes": [],
400
+ "value": null,
401
+ "controlled": null,
402
+ "guess": false,
403
+ "constraint": null
404
+ }
405
+ ],
406
+ "unit": ""
407
+ },
408
+ "total_energy_flow": {
409
+ "data": [
410
+ {
411
+ "id": 63,
412
+ "discrete_indexes": [],
413
+ "value": null,
414
+ "controlled": null,
415
+ "guess": false,
416
+ "constraint": null
417
+ }
418
+ ],
419
+ "unit": ""
420
+ }
421
+ }
422
+ },
423
+ "splitter.outlet_1": {
424
+ "id": 4,
425
+ "properties": {
426
+ "flow_mol": {
427
+ "data": [
428
+ {
429
+ "id": 66,
430
+ "discrete_indexes": [],
431
+ "value": null,
432
+ "controlled": null,
433
+ "guess": false,
434
+ "constraint": null
435
+ }
436
+ ],
437
+ "unit": ""
438
+ },
439
+ "pressure": {
440
+ "data": [
441
+ {
442
+ "id": 68,
443
+ "discrete_indexes": [],
444
+ "value": null,
445
+ "controlled": null,
446
+ "guess": false,
447
+ "constraint": null
448
+ }
449
+ ],
450
+ "unit": ""
451
+ },
452
+ "enth_mass": {
453
+ "data": [
454
+ {
455
+ "id": 71,
456
+ "discrete_indexes": [],
457
+ "value": null,
458
+ "controlled": null,
459
+ "guess": false,
460
+ "constraint": null
461
+ }
462
+ ],
463
+ "unit": ""
464
+ },
465
+ "enth_mol": {
466
+ "data": [
467
+ {
468
+ "id": 70,
469
+ "discrete_indexes": [],
470
+ "value": null,
471
+ "controlled": null,
472
+ "guess": false,
473
+ "constraint": null
474
+ }
475
+ ],
476
+ "unit": ""
477
+ },
478
+ "mole_frac_comp": {
479
+ "data": [
480
+ {
481
+ "id": 96,
482
+ "discrete_indexes": [
483
+ "water"
484
+ ],
485
+ "value": null,
486
+ "controlled": null,
487
+ "guess": false,
488
+ "constraint": null
489
+ }
490
+ ],
491
+ "unit": ""
492
+ },
493
+ "mole_frac_phase_comp": {
494
+ "data": [
495
+ {
496
+ "id": 97,
497
+ "discrete_indexes": [
498
+ "Liq",
499
+ "water"
500
+ ],
501
+ "value": null,
502
+ "controlled": null,
503
+ "guess": false,
504
+ "constraint": null
505
+ },
506
+ {
507
+ "id": 98,
508
+ "discrete_indexes": [
509
+ "Vap",
510
+ "water"
511
+ ],
512
+ "value": null,
513
+ "controlled": null,
514
+ "guess": false,
515
+ "constraint": null
516
+ }
517
+ ],
518
+ "unit": ""
519
+ },
520
+ "temperature": {
521
+ "data": [
522
+ {
523
+ "id": 67,
524
+ "discrete_indexes": [],
525
+ "value": null,
526
+ "controlled": null,
527
+ "guess": false,
528
+ "constraint": null
529
+ }
530
+ ],
531
+ "unit": ""
532
+ },
533
+ "vapor_frac": {
534
+ "data": [
535
+ {
536
+ "id": 69,
537
+ "discrete_indexes": [],
538
+ "value": null,
539
+ "controlled": null,
540
+ "guess": false,
541
+ "constraint": null
542
+ }
543
+ ],
544
+ "unit": ""
545
+ },
546
+ "flow_mass": {
547
+ "data": [
548
+ {
549
+ "id": 65,
550
+ "discrete_indexes": [],
551
+ "value": null,
552
+ "controlled": null,
553
+ "guess": false,
554
+ "constraint": null
555
+ }
556
+ ],
557
+ "unit": ""
558
+ },
559
+ "flow_vol": {
560
+ "data": [
561
+ {
562
+ "id": 75,
563
+ "discrete_indexes": [],
564
+ "value": null,
565
+ "controlled": null,
566
+ "guess": false,
567
+ "constraint": null
568
+ }
569
+ ],
570
+ "unit": ""
571
+ },
572
+ "entr_mass": {
573
+ "data": [
574
+ {
575
+ "id": 73,
576
+ "discrete_indexes": [],
577
+ "value": null,
578
+ "controlled": null,
579
+ "guess": false,
580
+ "constraint": null
581
+ }
582
+ ],
583
+ "unit": ""
584
+ },
585
+ "entr_mol": {
586
+ "data": [
587
+ {
588
+ "id": 72,
589
+ "discrete_indexes": [],
590
+ "value": null,
591
+ "controlled": null,
592
+ "guess": false,
593
+ "constraint": null
594
+ }
595
+ ],
596
+ "unit": ""
597
+ },
598
+ "total_energy_flow": {
599
+ "data": [
600
+ {
601
+ "id": 74,
602
+ "discrete_indexes": [],
603
+ "value": null,
604
+ "controlled": null,
605
+ "guess": false,
606
+ "constraint": null
607
+ }
608
+ ],
609
+ "unit": ""
610
+ }
611
+ }
612
+ },
613
+ "splitter.outlet_2": {
614
+ "id": 5,
615
+ "properties": {
616
+ "flow_mol": {
617
+ "data": [
618
+ {
619
+ "id": 77,
620
+ "discrete_indexes": [],
621
+ "value": null,
622
+ "controlled": null,
623
+ "guess": false,
624
+ "constraint": null
625
+ }
626
+ ],
627
+ "unit": ""
628
+ },
629
+ "pressure": {
630
+ "data": [
631
+ {
632
+ "id": 79,
633
+ "discrete_indexes": [],
634
+ "value": null,
635
+ "controlled": null,
636
+ "guess": false,
637
+ "constraint": null
638
+ }
639
+ ],
640
+ "unit": ""
641
+ },
642
+ "enth_mass": {
643
+ "data": [
644
+ {
645
+ "id": 82,
646
+ "discrete_indexes": [],
647
+ "value": null,
648
+ "controlled": null,
649
+ "guess": false,
650
+ "constraint": null
651
+ }
652
+ ],
653
+ "unit": ""
654
+ },
655
+ "enth_mol": {
656
+ "data": [
657
+ {
658
+ "id": 81,
659
+ "discrete_indexes": [],
660
+ "value": null,
661
+ "controlled": null,
662
+ "guess": false,
663
+ "constraint": null
664
+ }
665
+ ],
666
+ "unit": ""
667
+ },
668
+ "mole_frac_comp": {
669
+ "data": [
670
+ {
671
+ "id": 99,
672
+ "discrete_indexes": [
673
+ "water"
674
+ ],
675
+ "value": null,
676
+ "controlled": null,
677
+ "guess": false,
678
+ "constraint": null
679
+ }
680
+ ],
681
+ "unit": ""
682
+ },
683
+ "mole_frac_phase_comp": {
684
+ "data": [
685
+ {
686
+ "id": 100,
687
+ "discrete_indexes": [
688
+ "Liq",
689
+ "water"
690
+ ],
691
+ "value": null,
692
+ "controlled": null,
693
+ "guess": false,
694
+ "constraint": null
695
+ },
696
+ {
697
+ "id": 101,
698
+ "discrete_indexes": [
699
+ "Vap",
700
+ "water"
701
+ ],
702
+ "value": null,
703
+ "controlled": null,
704
+ "guess": false,
705
+ "constraint": null
706
+ }
707
+ ],
708
+ "unit": ""
709
+ },
710
+ "temperature": {
711
+ "data": [
712
+ {
713
+ "id": 78,
714
+ "discrete_indexes": [],
715
+ "value": null,
716
+ "controlled": null,
717
+ "guess": false,
718
+ "constraint": null
719
+ }
720
+ ],
721
+ "unit": ""
722
+ },
723
+ "vapor_frac": {
724
+ "data": [
725
+ {
726
+ "id": 80,
727
+ "discrete_indexes": [],
728
+ "value": null,
729
+ "controlled": null,
730
+ "guess": false,
731
+ "constraint": null
732
+ }
733
+ ],
734
+ "unit": ""
735
+ },
736
+ "flow_mass": {
737
+ "data": [
738
+ {
739
+ "id": 76,
740
+ "discrete_indexes": [],
741
+ "value": null,
742
+ "controlled": null,
743
+ "guess": false,
744
+ "constraint": null
745
+ }
746
+ ],
747
+ "unit": ""
748
+ },
749
+ "flow_vol": {
750
+ "data": [
751
+ {
752
+ "id": 86,
753
+ "discrete_indexes": [],
754
+ "value": null,
755
+ "controlled": null,
756
+ "guess": false,
757
+ "constraint": null
758
+ }
759
+ ],
760
+ "unit": ""
761
+ },
762
+ "entr_mass": {
763
+ "data": [
764
+ {
765
+ "id": 84,
766
+ "discrete_indexes": [],
767
+ "value": null,
768
+ "controlled": null,
769
+ "guess": false,
770
+ "constraint": null
771
+ }
772
+ ],
773
+ "unit": ""
774
+ },
775
+ "entr_mol": {
776
+ "data": [
777
+ {
778
+ "id": 83,
779
+ "discrete_indexes": [],
780
+ "value": null,
781
+ "controlled": null,
782
+ "guess": false,
783
+ "constraint": null
784
+ }
785
+ ],
786
+ "unit": ""
787
+ },
788
+ "total_energy_flow": {
789
+ "data": [
790
+ {
791
+ "id": 85,
792
+ "discrete_indexes": [],
793
+ "value": null,
794
+ "controlled": null,
795
+ "guess": false,
796
+ "constraint": null
797
+ }
798
+ ],
799
+ "unit": ""
800
+ }
801
+ }
802
+ },
803
+ "splitter.vent": {
804
+ "id": 2,
805
+ "properties": {
806
+ "flow_mol": {
807
+ "data": [
808
+ {
809
+ "id": 44,
810
+ "discrete_indexes": [],
811
+ "value": null,
812
+ "controlled": null,
813
+ "guess": false,
814
+ "constraint": null
815
+ }
816
+ ],
817
+ "unit": ""
818
+ },
819
+ "pressure": {
820
+ "data": [
821
+ {
822
+ "id": 46,
823
+ "discrete_indexes": [],
824
+ "value": null,
825
+ "controlled": null,
826
+ "guess": false,
827
+ "constraint": null
828
+ }
829
+ ],
830
+ "unit": ""
831
+ },
832
+ "enth_mass": {
833
+ "data": [
834
+ {
835
+ "id": 49,
836
+ "discrete_indexes": [],
837
+ "value": null,
838
+ "controlled": null,
839
+ "guess": false,
840
+ "constraint": null
841
+ }
842
+ ],
843
+ "unit": ""
844
+ },
845
+ "enth_mol": {
846
+ "data": [
847
+ {
848
+ "id": 48,
849
+ "discrete_indexes": [],
850
+ "value": null,
851
+ "controlled": null,
852
+ "guess": false,
853
+ "constraint": null
854
+ }
855
+ ],
856
+ "unit": ""
857
+ },
858
+ "mole_frac_comp": {
859
+ "data": [
860
+ {
861
+ "id": 90,
862
+ "discrete_indexes": [
863
+ "water"
864
+ ],
865
+ "value": null,
866
+ "controlled": null,
867
+ "guess": false,
868
+ "constraint": null
869
+ }
870
+ ],
871
+ "unit": ""
872
+ },
873
+ "mole_frac_phase_comp": {
874
+ "data": [
875
+ {
876
+ "id": 91,
877
+ "discrete_indexes": [
878
+ "Liq",
879
+ "water"
880
+ ],
881
+ "value": null,
882
+ "controlled": null,
883
+ "guess": false,
884
+ "constraint": null
885
+ },
886
+ {
887
+ "id": 92,
888
+ "discrete_indexes": [
889
+ "Vap",
890
+ "water"
891
+ ],
892
+ "value": null,
893
+ "controlled": null,
894
+ "guess": false,
895
+ "constraint": null
896
+ }
897
+ ],
898
+ "unit": ""
899
+ },
900
+ "temperature": {
901
+ "data": [
902
+ {
903
+ "id": 45,
904
+ "discrete_indexes": [],
905
+ "value": null,
906
+ "controlled": null,
907
+ "guess": false,
908
+ "constraint": null
909
+ }
910
+ ],
911
+ "unit": ""
912
+ },
913
+ "vapor_frac": {
914
+ "data": [
915
+ {
916
+ "id": 47,
917
+ "discrete_indexes": [],
918
+ "value": null,
919
+ "controlled": null,
920
+ "guess": false,
921
+ "constraint": null
922
+ }
923
+ ],
924
+ "unit": ""
925
+ },
926
+ "flow_mass": {
927
+ "data": [
928
+ {
929
+ "id": 43,
930
+ "discrete_indexes": [],
931
+ "value": null,
932
+ "controlled": null,
933
+ "guess": false,
934
+ "constraint": null
935
+ }
936
+ ],
937
+ "unit": ""
938
+ },
939
+ "flow_vol": {
940
+ "data": [
941
+ {
942
+ "id": 53,
943
+ "discrete_indexes": [],
944
+ "value": null,
945
+ "controlled": null,
946
+ "guess": false,
947
+ "constraint": null
948
+ }
949
+ ],
950
+ "unit": ""
951
+ },
952
+ "entr_mass": {
953
+ "data": [
954
+ {
955
+ "id": 51,
956
+ "discrete_indexes": [],
957
+ "value": null,
958
+ "controlled": null,
959
+ "guess": false,
960
+ "constraint": null
961
+ }
962
+ ],
963
+ "unit": ""
964
+ },
965
+ "entr_mol": {
966
+ "data": [
967
+ {
968
+ "id": 50,
969
+ "discrete_indexes": [],
970
+ "value": null,
971
+ "controlled": null,
972
+ "guess": false,
973
+ "constraint": null
974
+ }
975
+ ],
976
+ "unit": ""
977
+ },
978
+ "total_energy_flow": {
979
+ "data": [
980
+ {
981
+ "id": 52,
982
+ "discrete_indexes": [],
983
+ "value": null,
984
+ "controlled": null,
985
+ "guess": false,
986
+ "constraint": null
987
+ }
988
+ ],
989
+ "unit": ""
990
+ }
991
+ }
992
+ },
993
+ "phase_separator.condensate_outlet": {
994
+ "id": 1,
995
+ "properties": {
996
+ "flow_mol": {
997
+ "data": [
998
+ {
999
+ "id": 33,
1000
+ "discrete_indexes": [],
1001
+ "value": null,
1002
+ "controlled": null,
1003
+ "guess": false,
1004
+ "constraint": null
1005
+ }
1006
+ ],
1007
+ "unit": ""
1008
+ },
1009
+ "pressure": {
1010
+ "data": [
1011
+ {
1012
+ "id": 35,
1013
+ "discrete_indexes": [],
1014
+ "value": null,
1015
+ "controlled": null,
1016
+ "guess": false,
1017
+ "constraint": null
1018
+ }
1019
+ ],
1020
+ "unit": ""
1021
+ },
1022
+ "enth_mass": {
1023
+ "data": [
1024
+ {
1025
+ "id": 38,
1026
+ "discrete_indexes": [],
1027
+ "value": null,
1028
+ "controlled": null,
1029
+ "guess": false,
1030
+ "constraint": null
1031
+ }
1032
+ ],
1033
+ "unit": ""
1034
+ },
1035
+ "enth_mol": {
1036
+ "data": [
1037
+ {
1038
+ "id": 37,
1039
+ "discrete_indexes": [],
1040
+ "value": null,
1041
+ "controlled": null,
1042
+ "guess": false,
1043
+ "constraint": null
1044
+ }
1045
+ ],
1046
+ "unit": ""
1047
+ },
1048
+ "mole_frac_comp": {
1049
+ "data": [
1050
+ {
1051
+ "id": 87,
1052
+ "discrete_indexes": [
1053
+ "water"
1054
+ ],
1055
+ "value": null,
1056
+ "controlled": null,
1057
+ "guess": false,
1058
+ "constraint": null
1059
+ }
1060
+ ],
1061
+ "unit": ""
1062
+ },
1063
+ "mole_frac_phase_comp": {
1064
+ "data": [
1065
+ {
1066
+ "id": 88,
1067
+ "discrete_indexes": [
1068
+ "Liq",
1069
+ "water"
1070
+ ],
1071
+ "value": null,
1072
+ "controlled": null,
1073
+ "guess": false,
1074
+ "constraint": null
1075
+ },
1076
+ {
1077
+ "id": 89,
1078
+ "discrete_indexes": [
1079
+ "Vap",
1080
+ "water"
1081
+ ],
1082
+ "value": null,
1083
+ "controlled": null,
1084
+ "guess": false,
1085
+ "constraint": null
1086
+ }
1087
+ ],
1088
+ "unit": ""
1089
+ },
1090
+ "temperature": {
1091
+ "data": [
1092
+ {
1093
+ "id": 34,
1094
+ "discrete_indexes": [],
1095
+ "value": null,
1096
+ "controlled": null,
1097
+ "guess": false,
1098
+ "constraint": null
1099
+ }
1100
+ ],
1101
+ "unit": ""
1102
+ },
1103
+ "vapor_frac": {
1104
+ "data": [
1105
+ {
1106
+ "id": 36,
1107
+ "discrete_indexes": [],
1108
+ "value": null,
1109
+ "controlled": null,
1110
+ "guess": false,
1111
+ "constraint": null
1112
+ }
1113
+ ],
1114
+ "unit": ""
1115
+ },
1116
+ "flow_mass": {
1117
+ "data": [
1118
+ {
1119
+ "id": 32,
1120
+ "discrete_indexes": [],
1121
+ "value": null,
1122
+ "controlled": null,
1123
+ "guess": false,
1124
+ "constraint": null
1125
+ }
1126
+ ],
1127
+ "unit": ""
1128
+ },
1129
+ "flow_vol": {
1130
+ "data": [
1131
+ {
1132
+ "id": 42,
1133
+ "discrete_indexes": [],
1134
+ "value": null,
1135
+ "controlled": null,
1136
+ "guess": false,
1137
+ "constraint": null
1138
+ }
1139
+ ],
1140
+ "unit": ""
1141
+ },
1142
+ "entr_mass": {
1143
+ "data": [
1144
+ {
1145
+ "id": 40,
1146
+ "discrete_indexes": [],
1147
+ "value": null,
1148
+ "controlled": null,
1149
+ "guess": false,
1150
+ "constraint": null
1151
+ }
1152
+ ],
1153
+ "unit": ""
1154
+ },
1155
+ "entr_mol": {
1156
+ "data": [
1157
+ {
1158
+ "id": 39,
1159
+ "discrete_indexes": [],
1160
+ "value": null,
1161
+ "controlled": null,
1162
+ "guess": false,
1163
+ "constraint": null
1164
+ }
1165
+ ],
1166
+ "unit": ""
1167
+ },
1168
+ "total_energy_flow": {
1169
+ "data": [
1170
+ {
1171
+ "id": 41,
1172
+ "discrete_indexes": [],
1173
+ "value": null,
1174
+ "controlled": null,
1175
+ "guess": false,
1176
+ "constraint": null
1177
+ }
1178
+ ],
1179
+ "unit": ""
1180
+ }
1181
+ }
1182
+ }
1183
+ }
1184
+ }
1185
+ ],
1186
+ "arcs": [],
1187
+ "machineLearningBlock": null,
1188
+ "expressions": [],
1189
+ "optimizations": [],
1190
+ "disable_initialization": false,
1191
+ "solver_option": "ipopt"
1192
+ }