Skip to content

Commit

Permalink
clean up modular_extended
Browse files Browse the repository at this point in the history
  • Loading branch information
alma-walmsley committed Dec 22, 2024
1 parent 3f1c4fb commit f3983e5
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 1,151 deletions.
98 changes: 98 additions & 0 deletions file24.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
fs.compressor.control_volume.properties_in[0.0].flow_mol: 1 fixed
fs.compressor.control_volume.properties_in[0.0].mole_frac_comp[oxygen]: 0.5 fixed
fs.compressor.control_volume.properties_in[0.0].mole_frac_comp[nitrogen]: 0.5 fixed
fs.compressor.control_volume.properties_in[0.0].temperature: 298.08186264499585 unfixed
fs.compressor.control_volume.properties_in[0.0].pressure: 100000 fixed
fs.compressor.control_volume.properties_out[0.0].flow_mol: 6.57562972162535e-10 unfixed
fs.compressor.control_volume.properties_out[0.0].mole_frac_comp[oxygen]: 0.6267749501040214 unfixed
fs.compressor.control_volume.properties_out[0.0].mole_frac_comp[nitrogen]: 0.37322504989597827 unfixed
fs.compressor.control_volume.properties_out[0.0].temperature: 540.815233487118 unfixed
fs.compressor.control_volume.properties_out[0.0].pressure: 52495.189577299374 unfixed
fs.compressor.control_volume.work[0.0]: 12.500000194876284 unfixed
fs.compressor.control_volume.deltaP[0.0]: -47504.810422700626 unfixed
fs.compressor.ratioP[0.0]: 0.5249518957729937 unfixed
fs.compressor.efficiency_isentropic[0.0]: 0.8 fixed
fs.compressor.work_isentropic[0.0]: 10.000000155903408 unfixed
fs.compressor.control_volume.properties_in[0.0].flow_mol_phase[Liq]: 0.023005058626483423 unfixed
fs.compressor.control_volume.properties_in[0.0].flow_mol_phase[Vap]: 0.9769949413735161 unfixed
fs.compressor.control_volume.properties_in[0.0].mole_frac_phase_comp[Liq,oxygen]: 0.7814553536292846 unfixed
fs.compressor.control_volume.properties_in[0.0].mole_frac_phase_comp[Liq,nitrogen]: 0.18913795627561378 unfixed
fs.compressor.control_volume.properties_in[0.0].mole_frac_phase_comp[Vap,oxygen]: 0.4854838496927152 unfixed
fs.compressor.control_volume.properties_in[0.0].mole_frac_phase_comp[Vap,nitrogen]: 0.4851094602121835 unfixed
fs.compressor.control_volume.properties_in[0.0].phase_frac[Liq]: 0.023005058631352215 unfixed
fs.compressor.control_volume.properties_in[0.0].phase_frac[Vap]: 0.9769949413781533 unfixed
fs.compressor.control_volume.properties_in[0.0]._teq[Vap,Liq]: 85.35128696195348 unfixed
fs.compressor.control_volume.properties_in[0.0]._t1_Vap_Liq: 298.0818627602398 unfixed
fs.compressor.control_volume.properties_in[0.0].temperature_bubble[Vap,Liq]: 81.15070769322699 unfixed
fs.compressor.control_volume.properties_in[0.0]._mole_frac_tbub[Vap,Liq,oxygen]: 0.1963099228994071 unfixed
fs.compressor.control_volume.properties_in[0.0]._mole_frac_tbub[Vap,Liq,nitrogen]: 0.8036900771005928 unfixed
fs.compressor.control_volume.properties_in[0.0].log_mole_frac_comp[oxygen]: -0.6931471805599475 unfixed
fs.compressor.control_volume.properties_in[0.0].log_mole_frac_comp[nitrogen]: -0.6931471805599458 unfixed
fs.compressor.control_volume.properties_in[0.0].log_mole_frac_tbub[Vap,Liq,oxygen]: -1.6280606293114597 unfixed
fs.compressor.control_volume.properties_in[0.0].log_mole_frac_tbub[Vap,Liq,nitrogen]: -0.21854156036127984 unfixed
fs.compressor.control_volume.properties_in[0.0].temperature_dew[Vap,Liq]: 85.35128696224727 unfixed
fs.compressor.control_volume.properties_in[0.0]._mole_frac_tdew[Vap,Liq,oxygen]: 0.8080791333675067 unfixed
fs.compressor.control_volume.properties_in[0.0]._mole_frac_tdew[Vap,Liq,nitrogen]: 0.1919208666324939 unfixed
fs.compressor.control_volume.properties_in[0.0].log_mole_frac_tdew[Vap,Liq,oxygen]: -0.2130952879205655 unfixed
fs.compressor.control_volume.properties_in[0.0].log_mole_frac_tdew[Vap,Liq,nitrogen]: -1.6506721448684876 unfixed
fs.compressor.control_volume.properties_in[0.0].log_mole_frac_phase_comp[Liq,oxygen]: -0.24659725982574596 unfixed
fs.compressor.control_volume.properties_in[0.0].log_mole_frac_phase_comp[Liq,nitrogen]: -1.6652786028057271 unfixed
fs.compressor.control_volume.properties_in[0.0].log_mole_frac_phase_comp[Vap,oxygen]: -0.7226092571125734 unfixed
fs.compressor.control_volume.properties_in[0.0].log_mole_frac_phase_comp[Vap,nitrogen]: -0.7233807223499293 unfixed
fs.compressor.control_volume.properties_out[0.0].flow_mol_phase[Liq]: 0.0 unfixed
fs.compressor.control_volume.properties_out[0.0].flow_mol_phase[Vap]: 9.559685150849945e-09 unfixed
fs.compressor.control_volume.properties_out[0.0].mole_frac_phase_comp[Liq,oxygen]: 3.436473043731984e-07 unfixed
fs.compressor.control_volume.properties_out[0.0].mole_frac_phase_comp[Liq,nitrogen]: 0.021785521327024382 unfixed
fs.compressor.control_volume.properties_out[0.0].mole_frac_phase_comp[Vap,oxygen]: 0.02149969775415102 unfixed
fs.compressor.control_volume.properties_out[0.0].mole_frac_phase_comp[Vap,nitrogen]: 0.00028616728882837814 unfixed
fs.compressor.control_volume.properties_out[0.0].phase_frac[Liq]: 4.784612919644563e-06 unfixed
fs.compressor.control_volume.properties_out[0.0].phase_frac[Vap]: 14.719623584013826 unfixed
fs.compressor.control_volume.properties_out[0.0]._teq[Vap,Liq]: 176.86836842529004 unfixed
fs.compressor.control_volume.properties_out[0.0]._t1_Vap_Liq: 540.8152335410161 unfixed
fs.compressor.control_volume.properties_out[0.0].temperature_bubble[Vap,Liq]: 76.9776019724163 unfixed
fs.compressor.control_volume.properties_out[0.0]._mole_frac_tbub[Vap,Liq,oxygen]: 0.2548973116378595 unfixed
fs.compressor.control_volume.properties_out[0.0]._mole_frac_tbub[Vap,Liq,nitrogen]: 0.7451026883621408 unfixed
fs.compressor.control_volume.properties_out[0.0].log_mole_frac_comp[oxygen]: -0.46716773403401146 unfixed
fs.compressor.control_volume.properties_out[0.0].log_mole_frac_comp[nitrogen]: -0.9855736903537607 unfixed
fs.compressor.control_volume.properties_out[0.0].log_mole_frac_tbub[Vap,Liq,oxygen]: -1.3668945143882842 unfixed
fs.compressor.control_volume.properties_out[0.0].log_mole_frac_tbub[Vap,Liq,nitrogen]: -0.29423323337348073 unfixed
fs.compressor.control_volume.properties_out[0.0].temperature_dew[Vap,Liq]: 176.86836842546165 unfixed
fs.compressor.control_volume.properties_out[0.0]._mole_frac_tdew[Vap,Liq,oxygen]: 0.6267749501040248 unfixed
fs.compressor.control_volume.properties_out[0.0]._mole_frac_tdew[Vap,Liq,nitrogen]: 0.3732250498959747 unfixed
fs.compressor.control_volume.properties_out[0.0].log_mole_frac_tdew[Vap,Liq,oxygen]: -0.4671677340340085 unfixed
fs.compressor.control_volume.properties_out[0.0].log_mole_frac_tdew[Vap,Liq,nitrogen]: -0.985573690353764 unfixed
fs.compressor.control_volume.properties_out[0.0].log_mole_frac_phase_comp[Liq,oxygen]: -14.883739171323969 unfixed
fs.compressor.control_volume.properties_out[0.0].log_mole_frac_phase_comp[Liq,nitrogen]: -3.826509689029257 unfixed
fs.compressor.control_volume.properties_out[0.0].log_mole_frac_phase_comp[Vap,oxygen]: -3.8397164016317236 unfixed
fs.compressor.control_volume.properties_out[0.0].log_mole_frac_phase_comp[Vap,nitrogen]: -8.158933965396713 unfixed
fs.compressor.properties_isentropic[0.0].flow_mol: 3.4799210529450807e-09 unfixed
fs.compressor.properties_isentropic[0.0].mole_frac_comp[oxygen]: 0.506165142531512 unfixed
fs.compressor.properties_isentropic[0.0].mole_frac_comp[nitrogen]: 0.4938348574684874 unfixed
fs.compressor.properties_isentropic[0.0].pressure: 52495.189577299374 unfixed
fs.compressor.properties_isentropic[0.0].temperature: 300 unfixed
fs.compressor.properties_isentropic[0.0].flow_mol_phase[Liq]: 8.565243957053452e-11 unfixed
fs.compressor.properties_isentropic[0.0].flow_mol_phase[Vap]: 3.1303204846938315e-09 unfixed
fs.compressor.properties_isentropic[0.0].mole_frac_phase_comp[Liq,oxygen]: 0.8312971777273821 unfixed
fs.compressor.properties_isentropic[0.0].mole_frac_phase_comp[Liq,nitrogen]: 0.16404817682570494 unfixed
fs.compressor.properties_isentropic[0.0].mole_frac_phase_comp[Vap,oxygen]: 0.5038115958529246 unfixed
fs.compressor.properties_isentropic[0.0].mole_frac_phase_comp[Vap,nitrogen]: 0.4915337587001636 unfixed
fs.compressor.properties_isentropic[0.0].phase_frac[Liq]: 0.044004181848622224 unfixed
fs.compressor.properties_isentropic[0.0].phase_frac[Vap]: 1.0013268160053315 unfixed
fs.compressor.properties_isentropic[0.0]._teq[Vap,Liq]: 80.08261235742805 unfixed
fs.compressor.properties_isentropic[0.0]._t1_Vap_Liq: 300.0000001114594 unfixed
fs.compressor.properties_isentropic[0.0].temperature_bubble[Vap,Liq]: 75.7032281335816 unfixed
fs.compressor.properties_isentropic[0.0]._mole_frac_tbub[Vap,Liq,oxygen]: 0.17517382967610917 unfixed
fs.compressor.properties_isentropic[0.0]._mole_frac_tbub[Vap,Liq,nitrogen]: 0.8248261703238914 unfixed
fs.compressor.properties_isentropic[0.0].log_mole_frac_comp[oxygen]: -0.6808922943019795 unfixed
fs.compressor.properties_isentropic[0.0].log_mole_frac_comp[nitrogen]: -0.7055541143062826 unfixed
fs.compressor.properties_isentropic[0.0].log_mole_frac_tbub[Vap,Liq,oxygen]: -1.7419764856320588 unfixed
fs.compressor.properties_isentropic[0.0].log_mole_frac_tbub[Vap,Liq,nitrogen]: -0.192582617486082 unfixed
fs.compressor.properties_isentropic[0.0].temperature_dew[Vap,Liq]: 80.08261235771225 unfixed
fs.compressor.properties_isentropic[0.0]._mole_frac_tdew[Vap,Liq,oxygen]: 0.8355815665536349 unfixed
fs.compressor.properties_isentropic[0.0]._mole_frac_tdew[Vap,Liq,nitrogen]: 0.16441843344636473 unfixed
fs.compressor.properties_isentropic[0.0].log_mole_frac_tdew[Vap,Liq,oxygen]: -0.17962730967513357 unfixed
fs.compressor.properties_isentropic[0.0].log_mole_frac_tdew[Vap,Liq,nitrogen]: -1.8053406770595029 unfixed
fs.compressor.properties_isentropic[0.0].log_mole_frac_phase_comp[Liq,oxygen]: -0.1847679334618234 unfixed
fs.compressor.properties_isentropic[0.0].log_mole_frac_phase_comp[Liq,nitrogen]: -1.8075951331649516 unfixed
fs.compressor.properties_isentropic[0.0].log_mole_frac_phase_comp[Vap,oxygen]: -0.6855528985501691 unfixed
fs.compressor.properties_isentropic[0.0].log_mole_frac_phase_comp[Vap,nitrogen]: -0.7102246567075116 unfixed
72 changes: 31 additions & 41 deletions file_fs.state.txt
Original file line number Diff line number Diff line change
@@ -1,42 +1,32 @@
fs.state[0].flow_mol: 1 fixed
fs.state[0].mole_frac_comp[oxygen]: 0.33 fixed
fs.state[0].mole_frac_comp[argon]: 0.33 fixed
fs.state[0].mole_frac_comp[nitrogen]: 0.33 fixed
fs.state[0].pressure: 200000 fixed
fs.state[0].enth_mol: 4000 fixed
fs.state[0].flow_mol_phase[Liq]: 0.05503450613138045 unfixed
fs.state[0].flow_mol_phase[Vap]: 0.9449654938686196 unfixed
fs.state[0].mole_frac_phase_comp[Liq,oxygen]: 0.47077791836720434 unfixed
fs.state[0].mole_frac_phase_comp[Liq,argon]: 0.36891049697959266 unfixed
fs.state[0].mole_frac_phase_comp[Liq,nitrogen]: 0.15031158465320293 unfixed
fs.state[0].mole_frac_phase_comp[Vap,oxygen]: 0.3218010422538228 unfixed
fs.state[0].mole_frac_phase_comp[Vap,argon]: 0.32773388379929397 unfixed
fs.state[0].mole_frac_phase_comp[Vap,nitrogen]: 0.3404650739468832 unfixed
fs.state[0].temperature: 92.4653653053216 unfixed
fs.state[0].phase_frac[Liq]: 0.05503450613138045 unfixed
fs.state[0].phase_frac[Vap]: 0.9449654938686196 unfixed
fs.state[0]._teq[Vap,Liq]: 92.46512005288838 unfixed
fs.state[0]._t1_Vap_Liq: 92.46537475236082 unfixed
fs.state[0].temperature_bubble[Vap,Liq]: 89.81904298694354 unfixed
fs.state[0]._mole_frac_tbub[Vap,Liq,oxygen]: 0.17962142058398192 unfixed
fs.state[0]._mole_frac_tbub[Vap,Liq,argon]: 0.23129754896474208 unfixed
fs.state[0]._mole_frac_tbub[Vap,Liq,nitrogen]: 0.589081030451276 unfixed
fs.state[0].log_mole_frac_comp[oxygen]: -1.1086626245216111 unfixed
fs.state[0].log_mole_frac_comp[argon]: -1.1086626245216111 unfixed
fs.state[0].log_mole_frac_comp[nitrogen]: -1.1086626245216111 unfixed
fs.state[0].log_mole_frac_tbub[Vap,Liq,oxygen]: -1.716903861940957 unfixed
fs.state[0].log_mole_frac_tbub[Vap,Liq,argon]: -1.4640503065810795 unfixed
fs.state[0].log_mole_frac_tbub[Vap,Liq,nitrogen]: -0.529191531870467 unfixed
fs.state[0].temperature_dew[Vap,Liq]: 92.46536544012613 unfixed
fs.state[0]._mole_frac_tdew[Vap,Liq,oxygen]: 0.4839403861534373 unfixed
fs.state[0]._mole_frac_tdew[Vap,Liq,argon]: 0.371437904909194 unfixed
fs.state[0]._mole_frac_tdew[Vap,Liq,nitrogen]: 0.14462170893736873 unfixed
fs.state[0].log_mole_frac_tdew[Vap,Liq,oxygen]: -0.7257935489559108 unfixed
fs.state[0].log_mole_frac_tdew[Vap,Liq,argon]: -0.9903735757419188 unfixed
fs.state[0].log_mole_frac_tdew[Vap,Liq,nitrogen]: -1.9336338495621757 unfixed
fs.state[0].log_mole_frac_phase_comp[Liq,oxygen]: -0.7533688070595927 unfixed
fs.state[0].log_mole_frac_phase_comp[Liq,argon]: -0.9972012199738397 unfixed
fs.state[0].log_mole_frac_phase_comp[Liq,nitrogen]: -1.8950449083258598 unfixed
fs.state[0].log_mole_frac_phase_comp[Vap,oxygen]: -1.1338218056042926 unfixed
fs.state[0].log_mole_frac_phase_comp[Vap,argon]: -1.1155533297844114 unfixed
fs.state[0].log_mole_frac_phase_comp[Vap,nitrogen]: -1.077442731496745 unfixed
fs.state[0].mole_frac_comp[oxygen]: 0.5 fixed
fs.state[0].mole_frac_comp[nitrogen]: 0.5 fixed
fs.state[0].pressure: 100000 fixed
fs.state[0].enth_mol: -10 fixed
fs.state[0].flow_mol_phase[Liq]: 7.071166685008625e-05 unfixed
fs.state[0].flow_mol_phase[Vap]: 0.9999292883331499 unfixed
fs.state[0].mole_frac_phase_comp[Liq,oxygen]: 0.8080656169942638 unfixed
fs.state[0].mole_frac_phase_comp[Liq,nitrogen]: 0.19193438300573623 unfixed
fs.state[0].mole_frac_phase_comp[Vap,oxygen]: 0.49997821518309227 unfixed
fs.state[0].mole_frac_phase_comp[Vap,nitrogen]: 0.5000217848169077 unfixed
fs.state[0].temperature: 85.3512853489739 unfixed
fs.state[0].phase_frac[Liq]: 7.071166685008625e-05 unfixed
fs.state[0].phase_frac[Vap]: 0.9999292883331499 unfixed
fs.state[0]._teq[Vap,Liq]: 85.35103912197744 unfixed
fs.state[0]._t1_Vap_Liq: 85.35129130052786 unfixed
fs.state[0].temperature_bubble[Vap,Liq]: 81.15070769322693 unfixed
fs.state[0]._mole_frac_tbub[Vap,Liq,oxygen]: 0.19630992289940427 unfixed
fs.state[0]._mole_frac_tbub[Vap,Liq,nitrogen]: 0.8036900771005957 unfixed
fs.state[0].log_mole_frac_comp[oxygen]: -0.6931471805599453 unfixed
fs.state[0].log_mole_frac_comp[nitrogen]: -0.6931471805599453 unfixed
fs.state[0].log_mole_frac_tbub[Vap,Liq,oxygen]: -1.6280606293114737 unfixed
fs.state[0].log_mole_frac_tbub[Vap,Liq,nitrogen]: -0.21854156036127612 unfixed
fs.state[0].temperature_dew[Vap,Liq]: 85.35128696224731 unfixed
fs.state[0]._mole_frac_tdew[Vap,Liq,oxygen]: 0.808079133367472 unfixed
fs.state[0]._mole_frac_tdew[Vap,Liq,nitrogen]: 0.19192086663252803 unfixed
fs.state[0].log_mole_frac_tdew[Vap,Liq,oxygen]: -0.21309528792060936 unfixed
fs.state[0].log_mole_frac_tdew[Vap,Liq,nitrogen]: -1.6506721448683128 unfixed
fs.state[0].log_mole_frac_phase_comp[Liq,oxygen]: -0.21311201460700968 unfixed
fs.state[0].log_mole_frac_phase_comp[Liq,nitrogen]: -1.6506017205444223 unfixed
fs.state[0].log_mole_frac_phase_comp[Vap,oxygen]: -0.6931907511429448 unfixed
fs.state[0].log_mole_frac_phase_comp[Vap,nitrogen]: -0.6931036118752588 unfixed
Loading

0 comments on commit f3983e5

Please sign in to comment.