Changeset 562 for branches/gui/eml/streams.mso
- Timestamp:
- Jul 23, 2008, 7:54:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/eml/streams.mso
r555 r562 103 103 x(NComp) as fraction (Brief = "Liquid Molar Fraction",Hidden=true); 104 104 y(NComp) as fraction (Brief = "Vapour Molar Fraction",Hidden=true); 105 s as entr_mol (Brief = "Stream Entropy");106 105 107 106 EQUATIONS … … 113 112 v*PP.VapourEnthalpy(T, P, y); 114 113 115 "Entropy" 116 s = (1-v)*PP.LiquidEntropy(T, P, x) + 117 v*PP.VapourEntropy(T, P, y); 114 end 115 116 Model streamPHS as streamPH 117 ATTRIBUTES 118 Brief = "Stream with built-in flash calculation"; 119 Info = " 120 This model should be used when the vaporization fraction 121 is unknown. 122 123 The built-in flash calculation will determine the stream 124 state as a function of the overall composition '''z''', the 125 pressure '''P''' and the enthalpy '''h'''. 126 127 Additionally, the liquid composition '''x''' and the vapor 128 composition '''y''' are calculated. 129 "; 130 Pallete = false; 131 132 PARAMETERS 133 outer PP as Plugin(Brief = "External Physical Properties", Type="PP"); 134 135 VARIABLES 136 s as entr_mol (Brief = "Stream Entropy"); 137 138 EQUATIONS 139 140 "Entropy" 141 s = (1-v)*PP.LiquidEntropy(T, P, x) + v*PP.VapourEntropy(T, P, y); 142 118 143 end 119 144 … … 385 410 Pallete = true; 386 411 Icon = "icon/energy_source"; 387 Brief = "Ene gry stream source";412 Brief = "Energy stream source"; 388 413 389 414 VARIABLES
Note: See TracChangeset
for help on using the changeset viewer.