Changeset 313 for trunk/sample
- Timestamp:
- Jul 14, 2007, 1:45:55 PM (16 years ago)
- Location:
- trunk/sample
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sample/controllers/Sample_flash_pid.mso
r312 r313 86 86 CONNECTIONS 87 87 s1.Outlet to fl.Inlet; 88 Q.Outlet to fl.InletQ;88 Q.OutletQ to fl.InletQ; 89 89 90 90 SPECIFY 91 91 92 Q.Outlet .Q = 1026.32 * 'kJ/s';92 Q.OutletQ.Q = 1026.32 * 'kJ/s'; 93 93 94 94 #Parâmetros do controlador de nível -
trunk/sample/miscellaneous/sample_tanks.mso
r182 r313 40 40 INITIAL 41 41 "altura inicial" 42 Tanque. h= 1 * 'm';42 Tanque.Level = 1 * 'm'; 43 43 44 44 OPTIONS … … 70 70 INITIAL 71 71 "altura inicial" 72 Tanque1. h= 1 * 'm';73 Tanque2. h= 2 * 'm';74 Tanque3. h= 1 * 'm';72 Tanque1.Level = 1 * 'm'; 73 Tanque2.Level = 2 * 'm'; 74 Tanque3.Level = 1 * 'm'; 75 75 76 76 OPTIONS -
trunk/sample/optimization/ammonia.mso
r312 r313 147 147 C102.Outlet to M102.Inlet2; 148 148 149 Q1.Outlet to F101.InletQ;150 Q2.Outlet to F102.InletQ;149 Q1.OutletQ to F101.InletQ; 150 Q2.OutletQ to F102.InletQ; 151 151 152 152 SET -
trunk/sample/optimization/ammonia_opt.mso
r312 r313 26 26 MINIMIZE 27 27 28 abs(Q1.Outlet .Q) + abs(Q2.Outlet.Q)28 abs(Q1.OutletQ.Q) + abs(Q2.OutletQ.Q) 29 29 #loose / 'lbmol/h' 30 30 # C102.Pot/'kW'*180 -
trunk/sample/optimization/flash_opt.mso
r312 r313 48 48 CONNECTIONS 49 49 s1.Outlet to fl.Inlet; 50 Q.Outlet to fl.InletQ;50 Q.OutletQ to fl.InletQ; 51 51 52 52 EQUATIONS … … 62 62 fl.OutletL.P = 2.5 * 'atm'; 63 63 64 #Q.Outlet .Q = 0 * 'kJ/h';64 #Q.OutletQ.Q = 0 * 'kJ/h'; 65 65 fl.OutletL.T = 315.06 * 'K'; 66 66 -
trunk/sample/reactors/sample_batch.mso
r172 r313 29 29 DEVICES 30 30 feed as stream; 31 reac as batch_isot ermic;31 reac as batch_isothermic; 32 32 33 33 CONNECTIONS -
trunk/sample/stage_separators/sample_column.mso
r310 r313 217 217 zero to col.trays([1:4]).Inlet; 218 218 zero to col.trays([6:col.NTrays]).Inlet; 219 Qc.Outlet to col.cond.InletQ;220 Qr.Outlet to col.reb.InletQ;219 Qc.OutletQ to col.cond.InletQ; 220 Qr.OutletQ 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.Outlet .Q = 3.7743e6 * 'kJ/h';240 Qc.Outlet .Q = -3.71e6 * 'kJ/h';239 Qr.OutletQ.Q = 3.7743e6 * 'kJ/h'; 240 Qc.OutletQ.Q = -3.71e6 * 'kJ/h'; 241 241 col.pump1.dP = 16 * 'kPa'; 242 242 col.trays.Emv = 1; … … 310 310 zero to col.trays([1:4]).Inlet; 311 311 zero to col.trays([6:col.NTrays]).Inlet; 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;312 Qttop.OutletQ to col.ttop.InletQ; 313 Qtbottom.OutletQ to col.tbottom.InletQ; 314 Qc.OutletQ to col.cond.InletQ; 315 Qr.OutletQ to col.reb.InletQ; 316 316 317 317 SPECIFY … … 332 332 col.spbottom.Outlet1.F = 100 * 'kmol/h'; 333 333 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';334 Qr.OutletQ.Q = 3.7743e6 * 'kJ/h'; 335 Qc.OutletQ.Q = -3.71e6 * 'kJ/h'; 336 Qttop.OutletQ.Q = 0 * 'kJ/h'; 337 Qtbottom.OutletQ.Q = 0 * 'kJ/h'; 338 338 339 339 col.pump1.dP = 16 * 'kPa'; … … 432 432 zero to col.trays([1:4]).Inlet; 433 433 zero to col.trays([6:col.NTrays]).Inlet; 434 Qc.Outlet to col.cond.InletQ;435 Qr.Outlet to col.reb.InletQ;434 Qc.OutletQ to col.cond.InletQ; 435 Qr.OutletQ to col.reb.InletQ; 436 436 437 437 EQUATIONS … … 452 452 TCcond.Ports.input = Tad; 453 453 Tad = (col.cond.OutletL.T-Tmin)/(Tmax-Tmin); 454 Qc.Outlet .Q = Qcmin+(Qcmax-Qcmin)*TCcond.Ports.output;454 Qc.OutletQ.Q = Qcmin+(Qcmax-Qcmin)*TCcond.Ports.output; 455 455 456 456 "Pressure Controller" … … 529 529 zero.h = 0 * 'J/mol'; 530 530 531 Qr.Outlet .Q = 3e6 * 'kJ/h';531 Qr.OutletQ.Q = 3e6 * 'kJ/h'; 532 532 col.pump1.dP = 16 * 'kPa'; 533 533 col.trays.Emv = 1; -
trunk/sample/stage_separators/sample_columnReact.mso
r310 r313 77 77 zero to col.trays([1:4]).Inlet; 78 78 zero to col.trays([6:col.NTrays]).Inlet; 79 Qc.Outlet to col.cond.InletQ;80 Qr.Outlet to col.reb.InletQ;79 Qc.OutletQ to col.cond.InletQ; 80 Qr.OutletQ to col.reb.InletQ; 81 81 82 82 EQUATIONS … … 91 91 92 92 if col.reb.startup then 93 Qc.Outlet .Q = 0 * PIDTcond.Ports.output * 'kJ/s';94 Qr.Outlet .Q = 0 * PIDTreb.Ports.output * 'kJ/s';93 Qc.OutletQ.Q = 0 * PIDTcond.Ports.output * 'kJ/s'; 94 Qr.OutletQ.Q = 0 * PIDTreb.Ports.output * 'kJ/s'; 95 95 96 96 PIDTreb.Ports.input = PIDTreb.Ports.setPoint; 97 97 else 98 Qc.Outlet .Q = Qcmin+(Qcmax-Qcmin)*PIDTcond.Ports.output;99 Qr.Outlet .Q = Qrmin+(Qrmax-Qrmin)*PIDTreb.Ports.output;98 Qc.OutletQ.Q = Qcmin+(Qcmax-Qcmin)*PIDTcond.Ports.output; 99 Qr.OutletQ.Q = Qrmin+(Qrmax-Qrmin)*PIDTreb.Ports.output; 100 100 101 101 PIDTreb.Ports.input=Treb_ad; -
trunk/sample/stage_separators/sample_condenser.mso
r310 r313 51 51 s1.Outlet to c1.InletV; 52 52 c1.OutletL to sp.Inlet; 53 Q.Outlet to c1.InletQ;53 Q.OutletQ to c1.InletQ; 54 54 55 55 SPECIFY … … 63 63 c1.OutletL.F = 153 * 'kmol/h'; 64 64 65 Q.Outlet .Q = -3.71e6 * 'kJ/h';65 Q.OutletQ.Q = -3.71e6 * 'kJ/h'; 66 66 67 67 SET … … 101 101 CONNECTIONS 102 102 s1.Outlet to c1.InletV; 103 Q.Outlet to c1.InletQ;103 Q.OutletQ to c1.InletQ; 104 104 105 105 SPECIFY … … 109 109 s1.Outlet.z = [0.664, 0.336]; 110 110 111 Q.Outlet .Q = 3.71e6 * 'kJ/h';111 Q.OutletQ.Q = 3.71e6 * 'kJ/h'; 112 112 c1.DP = 100 * 'kPa'; 113 113 -
trunk/sample/stage_separators/sample_flash.mso
r310 r313 49 49 CONNECTIONS 50 50 s1.Outlet to fl.Inlet; 51 Q.Outlet to fl.InletQ;51 Q.OutletQ to fl.InletQ; 52 52 53 53 EQUATIONS … … 62 62 63 63 fl.OutletV.F = 68.5 * 'kmol/h'; 64 Q.Outlet .Q = 0 * 'kJ/h';64 Q.OutletQ.Q = 0 * 'kJ/h'; 65 65 66 66 SET … … 111 111 CONNECTIONS 112 112 s1.Outlet to fl.Inlet; 113 Q.Outlet to fl.InletQ;113 Q.OutletQ to fl.InletQ; 114 114 115 115 SPECIFY … … 122 122 fl.OutletL.P = 2.5 * 'atm'; 123 123 124 #Q.Outlet = 0 * 'kJ/h';124 #Q.OutletQ.Q = 0 * 'kJ/h'; 125 125 fl.OutletL.T = 315.06 * 'K'; 126 126 -
trunk/sample/stage_separators/sample_reboiler.mso
r310 r313 49 49 feed to r1.Inlet; 50 50 s1.Outlet to r1.InletL; 51 Q.Outlet to r1.InletQ;51 Q.OutletQ to r1.InletQ; 52 52 53 53 SPECIFY … … 67 67 r1.OutletV.F = 111.6 * 'kmol/h'; 68 68 69 Q.Outlet .Q = 3.7743e6 * 'kJ/h';69 Q.OutletQ.Q = 3.7743e6 * 'kJ/h'; 70 70 71 71 SET … … 106 106 CONNECTIONS 107 107 s1.Outlet to r1.InletL; 108 Q.Outlet to r1.InletQ;108 Q.OutletQ to r1.InletQ; 109 109 110 110 SPECIFY … … 114 114 s1.Outlet.z = [0.006061, 0.9939]; 115 115 116 # Q.Outlet .Q = 3.7743e6 * 'kJ/h';116 # Q.OutletQ.Q = 3.7743e6 * 'kJ/h'; 117 117 r1.OutletV.T = 350 * 'K'; 118 118 -
trunk/sample/stage_separators/sample_tank.mso
r310 r313 46 46 CONNECTIONS 47 47 s.Outlet to t.Inlet; 48 Qtank.Outlet to t.InletQ;48 Qtank.OutletQ to t.InletQ; 49 49 50 50 SPECIFY … … 55 55 # s.v = 0.698; 56 56 57 Qtank.Outlet .Q = 0 * 'J/s';57 Qtank.OutletQ.Q = 0 * 'J/s'; 58 58 t.Outlet.F = 179 * 'kmol/h'; 59 59 … … 92 92 CONNECTIONS 93 93 s.Outlet to t.Inlet; 94 Qtank.Outlet to t.InletQ;94 Qtank.OutletQ to t.InletQ; 95 95 96 96 SPECIFY … … 101 101 #s.v = 0.368; 102 102 103 Qtank.Outlet .Q = 0 * 'J/s';103 Qtank.OutletQ.Q = 0 * 'J/s'; 104 104 t.Outlet.F = 490 * 'kmol/h'; 105 105
Note: See TracChangeset
for help on using the changeset viewer.