Changeset 310 for trunk/sample/stage_separators/sample_column.mso
 Timestamp:
 Jul 13, 2007, 6:28:33 PM (16 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/sample/stage_separators/sample_column.mso
r297 r310 201 201 202 202 VARIABLES 203 Qc as heat_rate (Brief="Heat rate removed from condenser");204 Qr as heat_rate (Brief="Heat rate supplied to reboiler");203 Qc as energy_source (Brief="Heat rate removed from condenser"); 204 Qr as energy_source (Brief="Heat rate supplied to reboiler"); 205 205 206 206 SET … … 217 217 zero to col.trays([1:4]).Inlet; 218 218 zero to col.trays([6:col.NTrays]).Inlet; 219 Qc to col.cond.Q;220 Qr to col.reb.Q;219 Qc.Outlet to col.cond.InletQ; 220 Qr.Outlet to col.reb.InletQ; 221 221 222 222 SPECIFY … … 237 237 col.sptop.frac = 0.444445; 238 238 col.cond.OutletV.F = 0 * 'kmol/h'; 239 Qr = 3.7743e6 * 'kJ/h';240 Qc = 3.71e6 * 'kJ/h';239 Qr.Outlet.Q = 3.7743e6 * 'kJ/h'; 240 Qc.Outlet.Q = 3.71e6 * 'kJ/h'; 241 241 col.pump1.dP = 16 * 'kPa'; 242 242 col.trays.Emv = 1; … … 293 293 294 294 VARIABLES 295 Qc as heat_rate (Brief="Heat rate removed from condenser");296 Qr as heat_rate (Brief="Heat rate supplied to reboiler");297 Qttop as heat_rate (Brief="Heat rate removed from condenser");298 Qtbottom as heat_rate (Brief="Heat rate supplied to reboiler");295 Qc as energy_source (Brief="Heat rate removed from condenser"); 296 Qr as energy_source (Brief="Heat rate supplied to reboiler"); 297 Qttop as energy_source (Brief="Heat rate removed from condenser"); 298 Qtbottom as energy_source (Brief="Heat rate supplied to reboiler"); 299 299 300 300 SET … … 310 310 zero to col.trays([1:4]).Inlet; 311 311 zero to col.trays([6:col.NTrays]).Inlet; 312 Qttop to col.ttop.Q;313 Qtbottom to col.tbottom.Q;314 Qc to col.cond.Q;315 Qr to col.reb.Q;312 Qttop.Outlet to col.ttop.InletQ; 313 Qtbottom.Outlet to col.tbottom.InletQ; 314 Qc.Outlet to col.cond.InletQ; 315 Qr.Outlet to col.reb.InletQ; 316 316 317 317 SPECIFY … … 332 332 col.spbottom.Outlet1.F = 100 * 'kmol/h'; 333 333 334 Qr = 3.7743e6 * 'kJ/h';335 Qc = 3.71e6 * 'kJ/h';336 Qttop = 0 * 'kJ/h';337 Qtbottom = 0 * 'kJ/h';334 Qr.Outlet.Q = 3.7743e6 * 'kJ/h'; 335 Qc.Outlet.Q = 3.71e6 * 'kJ/h'; 336 Qttop.Outlet.Q = 0 * 'kJ/h'; 337 Qtbottom.Outlet.Q = 0 * 'kJ/h'; 338 338 339 339 col.pump1.dP = 16 * 'kPa'; … … 407 407 408 408 VARIABLES 409 Qc as heat_rate (Brief="Heat rate removed from condenser");410 Qr as heat_rate (Brief="Heat rate supplied to reboiler");409 Qc as energy_source (Brief="Heat rate removed from condenser"); 410 Qr as energy_source (Brief="Heat rate supplied to reboiler"); 411 411 Had_top as Real (Brief="Dimensionless condenser level"); 412 412 Had_bot as Real (Brief="Dimensionless reboiler level"); … … 432 432 zero to col.trays([1:4]).Inlet; 433 433 zero to col.trays([6:col.NTrays]).Inlet; 434 Qc to col.cond.Q;435 Qr to col.reb.Q;434 Qc.Outlet to col.cond.InletQ; 435 Qr.Outlet to col.reb.InletQ; 436 436 437 437 EQUATIONS … … 452 452 TCcond.Ports.input = Tad; 453 453 Tad = (col.cond.OutletL.TTmin)/(TmaxTmin); 454 Qc = Qcmin+(QcmaxQcmin)*TCcond.Ports.output;454 Qc.Outlet.Q = Qcmin+(QcmaxQcmin)*TCcond.Ports.output; 455 455 456 456 "Pressure Controller" … … 529 529 zero.h = 0 * 'J/mol'; 530 530 531 Qr = 3e6 * 'kJ/h';531 Qr.Outlet.Q = 3e6 * 'kJ/h'; 532 532 col.pump1.dP = 16 * 'kPa'; 533 533 col.trays.Emv = 1;
Note: See TracChangeset
for help on using the changeset viewer.