Changeset 46 for mso/eml/stage_separators
 Timestamp:
 Nov 7, 2006, 2:47:55 PM (16 years ago)
 Location:
 mso/eml/stage_separators
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

mso/eml/stage_separators/column.mso
r42 r46 167 167 "Pressure Drop through the tray" 168 168 trays(top).OutletV.F = (1 + tanh(1 * (trays(top).OutletV.P  ttop.Outlet.P)/"Pa"))/2 * 169 trays(top).Ah/trays(top).vV * sqrt(2*(trays(top).OutletV.P 169 trays(top).Ah/trays(top).vV /2* sqrt(2*(trays(top).OutletV.P  170 170 ttop.Outlet.P + 1e8 * "atm") / (trays(top).alfa*trays(top).rhoV)); 171 171 … … 173 173 (trays([top+topdown:topdown:bot]).OutletV.P  174 174 trays([top+topdown:topdown:bot]).InletL.P)/"Pa"))/2 * 175 trays([top+topdown:topdown:bot]).Ah/trays([top+topdown:topdown:bot]).vV *175 trays([top+topdown:topdown:bot]).Ah/trays([top+topdown:topdown:bot]).vV /2* 176 176 sqrt(2*(trays([top+topdown:topdown:bot]).OutletV.P  177 177 trays([top+topdown:topdown:bot]).InletL.P + 1e8 * "atm") / 
mso/eml/stage_separators/reboiler.mso
r38 r46 139 139 "Vapourisation Fraction" 140 140 OutletV.v = 1.0; 141 end 142 143 Model reboilerSteady_fakeH 144 PARAMETERS 145 ext PP as CalcObject; 146 ext NComp as Integer; 147 DP as press_delta (Brief="Pressure Drop in the reboiler"); 148 k as Real (Brief = "Flow Constant", Unit="mol/J"); 149 150 VARIABLES 151 in InletL as stream; #(Brief="Liquid inlet stream"); 152 out OutletV as stream; #(Brief="Vapour outlet stream"); 153 in Q as heat_rate (Brief="Heat supplied"); 154 155 EQUATIONS 156 "Molar Balance" 157 InletL.F = OutletV.F; 158 InletL.z = OutletV.z; 159 160 "Energy Balance" 161 InletL.F*InletL.h + Q = OutletV.F*OutletV.h; 162 163 "Pressure" 164 DP = InletL.P  OutletV.P; 165 166 "Fake Vapourisation Fraction" 167 OutletV.v = 1.0; 168 169 "Fake output temperature" 170 OutletV.T = 300*"K"; 171 172 "Pressure Drop through the reboiler" 173 OutletV.F = k*Q; 141 174 end 142 175
Note: See TracChangeset
for help on using the changeset viewer.