Changeset 766 for branches/gui
- Timestamp:
- Jun 16, 2009, 11:29:18 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/sample/stage_separators/sample_flash_steady.mso
r749 r766 20 20 DEVICES 21 21 Heat as energy_source; 22 Feed as simple_source; 23 VaporProduct as sink; 24 LiquidProduct as sink; 25 flash_steady_1 as flash_steady; 22 26 23 SET 24 25 SPECIFY 26 27 INITIAL 28 29 GUESS 30 31 DEVICES 32 Feed as simple_source; 27 CONNECTIONS 28 flash_steady_1.OutletVapour to VaporProduct.Inlet; 29 flash_steady_1.OutletLiquid to LiquidProduct.Inlet; 30 Feed.Outlet to flash_steady_1.Inlet; 31 Heat.OutletQ to flash_steady_1.InletQ; 33 32 34 33 SET … … 43 42 Feed.P = 5 * 'atm'; 44 43 45 INITIAL46 47 GUESS48 49 DEVICES50 VaporProduct as sink;51 52 SET53 54 SPECIFY55 56 INITIAL57 58 GUESS59 60 DEVICES61 LiquidProduct as sink;62 63 SET64 65 SPECIFY66 67 INITIAL68 69 GUESS70 71 DEVICES72 flash_steady_1 as flash_steady;73 74 SET75 76 SPECIFY77 44 flash_steady_1.OutletLiquid.T = 330 * 'K'; 78 45 flash_steady_1.OutletLiquid.P = 0.6 * 'atm'; 79 46 80 INITIAL81 82 GUESS83 84 CONNECTIONS85 flash_steady_1.OutletVapour to VaporProduct.Inlet;86 flash_steady_1.OutletLiquid to LiquidProduct.Inlet;87 Feed.Outlet to flash_steady_1.Inlet;88 Heat.OutletQ to flash_steady_1.InletQ;89 90 47 OPTIONS 91 48 Dynamic = false; 92 Integration = "original";93 NLASolver(94 File = "sundials",95 RelativeAccuracy = 1e-3,96 AbsoluteAccuracy = 1e-3,97 MaxIterations = 10098 );99 DAESolver(100 File = "sundials",101 RelativeAccuracy = 1e-3,102 AbsoluteAccuracy = 1e-6,103 EventAccuracy = 1e-2104 );105 49 end
Note: See TracChangeset
for help on using the changeset viewer.