Changeset 809 for branches/gui/eml/stage_separators/column.mso
- Timestamp:
- Aug 4, 2009, 12:12:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/eml/stage_separators/column.mso
r808 r809 817 817 CONTROL as ControlSection (Brief = "Control"); 818 818 819 out TCI as control_signal (Brief="Temperature Indicator", Protected = true, PosX=1, PosY=0. 63);819 out TCI as control_signal (Brief="Temperature Indicator", Protected = true, PosX=1, PosY=0.55); 820 820 out PCI as control_signal (Brief="Pressure Indicator", Protected = true, PosX=0, PosY=0.23); 821 821 … … 1169 1169 1170 1170 out TI_reb as control_signal (Brief="Temperature Indicator of Reboiler ",Protected = true, PosX=1, PosY=0.92); 1171 out PI_reb as control_signal (Brief="Pressure Indicator of Reboiler", Protected = true, PosX=1, PosY=0.8 5);1171 out PI_reb as control_signal (Brief="Pressure Indicator of Reboiler", Protected = true, PosX=1, PosY=0.875); 1172 1172 1173 1173 out TI_cond as control_signal (Brief="Temperature Indicator of Condenser ", Protected = true, PosX=0.52, PosY=0); 1174 1174 out PI_cond as control_signal (Brief="Pressure Indicator of Condenser", Protected = true, PosX=0.42, PosY=0); 1175 1175 1176 out TI_drum as control_signal (Brief="Temperature Indicator of Reflux Drum ", Protected = true, PosX=1, PosY=0. 18);1177 out PI_drum as control_signal (Brief="Pressure Indicator of Reflux Drum", Protected = true, PosX=1, PosY=0.1 7);1176 out TI_drum as control_signal (Brief="Temperature Indicator of Reflux Drum ", Protected = true, PosX=1, PosY=0.20); 1177 out PI_drum as control_signal (Brief="Pressure Indicator of Reflux Drum", Protected = true, PosX=1, PosY=0.155); 1178 1178 out LI_drum as control_signal (Brief="Level Indicator of Reflux Drum", Protected = true, PosX=1, PosY=0.24); 1179 1179 1180 out LI_sump as control_signal (Brief="Level Indicator of Column Sump", Protected = true, PosX=1, PosY=0.7 0);1181 out TI_sump as control_signal (Brief="Temperature Indicator of Column Sump ",Protected = true, PosX=1, PosY=0.7 5);1182 1183 out LiquidDistillate as liquid_stream (Brief="Liquid outlet stream From Top Splitter", PosX=1, PosY=0.32);1184 out BottomProduct as liquid_stream (Brief="Liquid outlet stream From Bottom Splitter", PosX=0.05, PosY=1);1185 1186 in ConnectorSplitterBottom as stream (Brief="Connector for Liquid outlet stream From Reboiler", Hidden=true);1187 in ConnectorSplitterTop as stream (Brief="Connector for Liquid outlet stream From Top Splitter", Hidden=true);1180 out LI_sump as control_signal (Brief="Level Indicator of Column Sump", Protected = true, PosX=1, PosY=0.765); 1181 out TI_sump as control_signal (Brief="Temperature Indicator of Column Sump ",Protected = true, PosX=1, PosY=0.71); 1182 1183 out LiquidDistillate as liquid_stream (Brief="Liquid outlet stream From Top Splitter", PosX=1, PosY=0.33); 1184 out BottomProduct as liquid_stream (Brief="Liquid outlet stream From Bottom Splitter", PosX=0.06, PosY=1); 1185 1186 in ConnectorSplitterBottom as stream (Brief="Connector for Liquid outlet stream From Reboiler", Hidden=true); 1187 in ConnectorSplitterTop as stream (Brief="Connector for Liquid outlet stream From Top Splitter", Hidden=true); 1188 1188 1189 1189 ConnectorHeatReboiler as power (Brief="Connector for Heat supplied to Reboiler", Hidden=true); 1190 1190 ConnectorHeatCondenser as power (Brief="Connector for Heat supplied to Condenser", Hidden=true); 1191 1191 ConnectorHeatRefluxDrum as power (Brief="Connector for Heat supplied to Reflux Drum", Hidden=true); 1192 1192 1193 1193 EQUATIONS 1194 1195 TI_reb = REBOILER.TI ; 1196 PI_reb = REBOILER.PI; 1197 1198 TI_cond = CONDENSER.TI; 1199 PI_cond = CONDENSER.PI; 1200 1201 TI_drum = REFLUX_DRUM.TI; 1202 PI_drum = REFLUX_DRUM.PI; 1203 LI_drum = REFLUX_DRUM.LI; 1204 1205 TI_sump = SUMP.TI; 1206 LI_sump = SUMP.LI; 1207 1208 for i in 1:NumberOfTrays do 1209 1210 if i equal FeedTrayLocation(1) then 1211 1212 "FeedTrayTop Inlet Flow" 1213 FeedTray.F= TRAYS(i).Inlet.F; 1214 1215 "FeedTrayTop Inlet Temperature" 1216 FeedTray.T = TRAYS(i).Inlet.T; 1217 1218 "FeedTrayTop Inlet Pressure" 1219 FeedTray.P = TRAYS(i).Inlet.P; 1220 1221 "FeedTrayTop Inlet Composition" 1222 FeedTray.z = TRAYS(i).Inlet.z; 1223 1224 "FeedTrayTop Inlet Vapour Fraction" 1225 FeedTray.v = TRAYS(i).Inlet.v; 1226 1227 "FeedTrayTop Inlet Enthalpy" 1228 FeedTray.h = TRAYS(i).Inlet.h; 1229 1230 else 1231 1232 "Inlet Tray - Flow Sealed" 1233 0*'mol/h'= TRAYS(i).Inlet.F; 1234 1235 "Inlet Tray - Temperature" 1236 FeedTray.T = TRAYS(i).Inlet.T; 1237 1238 "Inlet Tray - Pressure" 1239 FeedTray.P = TRAYS(i).Inlet.P; 1240 1241 "Inlet Tray - Composition" 1242 FeedTray.z = TRAYS(i).Inlet.z; 1243 1244 "Inlet Tray - Vapour Fraction" 1245 FeedTray.v = TRAYS(i).Inlet.v; 1246 1247 "Inlet Tray - Enthalpy" 1248 FeedTray.h = TRAYS(i).Inlet.h; 1249 1250 end 1251 1252 end 1194 1253 1195 1254 # Heat Connector Equations … … 1209 1268 ConnectorSplitterBottom.F = BottomProduct.F; 1210 1269 ConnectorSplitterBottom.z = BottomProduct.z; 1211 1270 1212 1271 CONNECTIONS 1213 1272 #vapor
Note: See TracChangeset
for help on using the changeset viewer.