Changeset 312 for trunk/sample
- Timestamp:
- Jul 13, 2007, 9:34:39 PM (16 years ago)
- Location:
- trunk/sample
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sample/controllers/Sample_flash_pid.mso
r294 r312 52 52 L_ad as Real; 53 53 P_ad as Real; 54 Q as heat_rate (Brief="Heat supplied");54 Q as energy_source (Brief="Heat supplied"); 55 55 56 56 DEVICES … … 86 86 CONNECTIONS 87 87 s1.Outlet to fl.Inlet; 88 Q to fl.Q;88 Q.Outlet to fl.InletQ; 89 89 90 90 SPECIFY 91 91 92 Q = 1026.32 * 'kJ/s';92 Q.Outlet.Q = 1026.32 * 'kJ/s'; 93 93 94 94 #Parâmetros do controlador de nível -
trunk/sample/optimization/ammonia.mso
r247 r312 132 132 production as flow_mol(DisplayUnit = 'lbmol/h', Brief="Ammonia in the product"); 133 133 loose as flow_mol(DisplayUnit = 'lbmol/h', Brief="Ammonia in the purge"); 134 Q1 as heat_rate;135 Q2 as heat_rate;134 Q1 as energy_source; 135 Q2 as energy_source; 136 136 137 137 CONNECTIONS … … 147 147 C102.Outlet to M102.Inlet2; 148 148 149 Q1 to F101.Q;150 Q2 to F102.Q;149 Q1.Outlet to F101.InletQ; 150 Q2.Outlet to F102.InletQ; 151 151 152 152 SET … … 169 169 170 170 F102.OutletV.P = 10 * 'atm'; 171 F102. Q = 0 * 'kJ/h';171 F102.InletQ.Q = 0 * 'kJ/h'; 172 172 173 173 # We can choose between one of the following specs -
trunk/sample/optimization/ammonia_opt.mso
r258 r312 26 26 MINIMIZE 27 27 28 abs(Q1 ) + abs(Q2)28 abs(Q1.Outlet.Q) + abs(Q2.Outlet.Q) 29 29 #loose / 'lbmol/h' 30 30 # C102.Pot/'kW'*180 -
trunk/sample/optimization/flash_opt.mso
r260 r312 35 35 36 36 VARIABLES 37 Q as heat_rate (Brief="Heat supplied");37 Q as energy_source (Brief="Heat supplied"); 38 38 leves as fraction; 39 39 … … 48 48 CONNECTIONS 49 49 s1.Outlet to fl.Inlet; 50 Q to fl.Q;50 Q.Outlet to fl.InletQ; 51 51 52 52 EQUATIONS … … 62 62 fl.OutletL.P = 2.5 * 'atm'; 63 63 64 #Q = 0 * 'kJ/h';64 #Q.Outlet.Q = 0 * 'kJ/h'; 65 65 fl.OutletL.T = 315.06 * 'K'; 66 66
Note: See TracChangeset
for help on using the changeset viewer.