Changeset 372 for trunk/eml/stage_separators/flash.mso
 Timestamp:
 Sep 21, 2007, 7:17:36 PM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/eml/stage_separators/flash.mso
r353 r372 64 64 Across as area (Brief="Flash Cross section area"); 65 65 vfrac as positive (Brief="Vapourization fraction", Symbol="\phi"); 66 Pratio as positive (Brief = "Pressure Ratio", Symbol ="P_{ratio}"); 67 Pdrop as press_delta (Brief = "Pressure Drop", DisplayUnit = 'kPa', Symbol ="\Delta P"); 66 68 67 69 EQUATIONS … … 102 104 "Mechanical Equilibrium" 103 105 OutletV.P = OutletL.P; 104 106 107 "Pressure Drop" 108 OutletL.P = Inlet.P  Pdrop; 109 110 "Pressure Ratio" 111 OutletL.P = Inlet.P * Pratio; 112 105 113 "Geometry Constraint" 106 114 V = ML * vL + MV * vV; … … 151 159 in InletQ as energy_stream (Brief="Rate of heat supply", PosX=1, PosY=0.7559, Symbol="_{in}"); 152 160 vfrac as fraction (Brief="Vapourization fraction", Symbol="\phi"); 161 Pratio as positive (Brief = "Pressure Ratio", Symbol ="P_{ratio}"); 162 Pdrop as press_delta (Brief = "Pressure Drop", DisplayUnit = 'kPa', Symbol ="\Delta P"); 153 163 154 164 EQUATIONS … … 170 180 "Mechanical Equilibrium" 171 181 OutletV.P = OutletL.P; 182 183 "Pressure Drop" 184 OutletL.P = Inlet.P  Pdrop; 185 186 "Pressure Ratio" 187 OutletL.P = Inlet.P * Pratio; 172 188 end 173 189 … … 203 219 vfrac as fraction(Brief="Vaporization fraction", Symbol="\phi"); 204 220 h as enth_mol(Brief="Mixture enthalpy"); 221 Pratio as positive (Brief = "Pressure Ratio", Symbol ="P_{ratio}"); 222 Pdrop as press_delta (Brief = "Pressure Drop", DisplayUnit = 'kPa', Symbol ="\Delta P"); 205 223 206 224 EQUATIONS … … 222 240 "Mechanical Equilibrium" 223 241 OutletV.P = OutletL.P; 242 243 "Pressure Drop" 244 OutletL.P = Inlet.P  Pdrop; 245 246 "Pressure Ratio" 247 OutletL.P = Inlet.P * Pratio; 224 248 end 225 249 … … 264 288 xsat(NComp) as Real(Lower=0, Upper=1, Brief="Liquid composition if saturated"); 265 289 ysat(NComp) as Real(Lower=0, Upper=1, Brief="Vapour composition if saturated"); 290 Pratio as positive (Brief = "Pressure Ratio", Symbol ="P_{ratio}"); 291 Pdrop as press_delta (Brief = "Pressure Drop", DisplayUnit = 'kPa', Symbol ="\Delta P"); 266 292 267 293 zero_one as fraction(Brief="Regularization Variable"); … … 295 321 "Mechanical Equilibrium" 296 322 OutletV.P = OutletL.P; 297 323 324 "Pressure Drop" 325 OutletL.P = Inlet.P  Pdrop; 326 327 "Pressure Ratio" 328 OutletL.P = Inlet.P * Pratio; 329 298 330 # regularization functions 299 331 zero_one = (1 + tanh(B * vsat))/2;
Note: See TracChangeset
for help on using the changeset viewer.