- Timestamp:
- Sep 26, 2008, 6:59:05 PM (15 years ago)
- Location:
- branches/gui/eml/stage_separators
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/eml/stage_separators/columnTeste.mso
r627 r636 32 32 33 33 using "trayTeste"; 34 using "reboiler ";34 using "reboilerTeste"; 35 35 using "condenser"; 36 36 using "mixers_splitters/splitter"; … … 68 68 outer PP as Plugin (Brief="External Physical Properties", Type="PP"); 69 69 outer NComp as Integer (Brief="Number of components"); 70 NumberOfTrays as Integer (Brief="Number of trays", Default= 2);70 NumberOfTrays as Integer (Brief="Number of trays", Default=8); 71 71 SpecialTrayIndex(NumberOfTrays) as Integer (Brief="Number of trays", Default=0,Hidden=true); 72 72 FeedTrayLocation as Integer (Brief="Feed tray Location", Default=2); … … 88 88 OlsenCoeff as Real (Brief="Olsens correlation coefficient", Default=1); 89 89 TrayLiquidPasses as Real (Brief="Number of liquid passes in the tray", Default=1); 90 91 TopTemperature as temperature; 92 TbottomTemperature as temperature; 93 TopComposition(NComp) as fraction (Brief = "Component Molar Fraction at Top"); 94 BottomComposition(NComp) as fraction (Brief = "Component Molar Fraction at Bottom"); 90 95 91 96 V as volume (Brief="Total Volume of the tray",Hidden=true); … … 256 261 end 257 262 258 end 259 263 INITIAL 264 265 # The initial temperature of the trays 266 for i in 1:NumberOfTrays do 267 268 "The initial temperature of the trays" 269 trays(i).OutletL.T = TopTemperature+(TbottomTemperature-TopTemperature)*((i-1)/(NumberOfTrays-1)); 270 271 end 272 273 for i in 1:NComp-1 do 274 275 for j in 1:NumberOfTrays do 276 277 "The initial composition of the trays" 278 trays(j).OutletL.z(i) = TopComposition(i) +(BottomComposition(i)-TopComposition(i) )*((j-1)/(NumberOfTrays-1)); 279 280 end 281 282 end 283 284 end 260 285 261 286 #*----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.