Last change
on this file since 914 was
742,
checked in by gerson bicca, 14 years ago
|
added a work stream into pump model
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
1.5 KB
|
Rev | Line | |
---|
[742] | 1 | #*---------------------------------------------- |
---|
| 2 | * FlowSheet generated automaticaly by EMSO-GUI |
---|
| 3 | *----------------------------------------------*# |
---|
| 4 | |
---|
| 5 | using "streams"; |
---|
[1] | 6 | using "pressure_changers/pump"; |
---|
| 7 | |
---|
[742] | 8 | FlowSheet Sample_Pump_Diagram |
---|
| 9 | PARAMETERS |
---|
| 10 | PP as Plugin(Brief="Physical Properties", |
---|
[213] | 11 | Type="PP", |
---|
[740] | 12 | Components = ["water"], |
---|
[213] | 13 | LiquidModel = "PR", |
---|
| 14 | VapourModel = "PR" |
---|
| 15 | ); |
---|
[742] | 16 | NComp as Integer; |
---|
| 17 | SET |
---|
| 18 | NComp = PP.NumberOfComponents; |
---|
[57] | 19 | |
---|
[742] | 20 | DEVICES |
---|
| 21 | suction as simple_source; |
---|
| 22 | |
---|
[57] | 23 | SET |
---|
[742] | 24 | |
---|
[57] | 25 | SPECIFY |
---|
[742] | 26 | suction.MolarComposition = 1; |
---|
| 27 | suction.F = 1 * 'kmol/h'; |
---|
| 28 | suction.T = 298 * 'K'; |
---|
| 29 | suction.P = 2 * 'atm'; |
---|
[57] | 30 | |
---|
[742] | 31 | INITIAL |
---|
[1] | 32 | |
---|
[742] | 33 | GUESS |
---|
[578] | 34 | |
---|
[742] | 35 | DEVICES |
---|
| 36 | discharge as simple_sink; |
---|
| 37 | |
---|
[1] | 38 | SET |
---|
[578] | 39 | |
---|
[742] | 40 | SPECIFY |
---|
[1] | 41 | |
---|
[742] | 42 | INITIAL |
---|
| 43 | |
---|
| 44 | GUESS |
---|
| 45 | |
---|
| 46 | DEVICES |
---|
| 47 | Pump_Operation as centrifugal_pump; |
---|
| 48 | |
---|
| 49 | SET |
---|
| 50 | Pump_Operation.PumpEfficiency = 0.10; |
---|
| 51 | Pump_Operation.MechanicalEff = 0.95; |
---|
| 52 | Pump_Operation.NPSH_Options = "Include Kinetic Head"; |
---|
| 53 | Pump_Operation.SuctionArea = 0.01 * 'm^2'; |
---|
| 54 | |
---|
[1] | 55 | SPECIFY |
---|
[742] | 56 | Pump_Operation.Pratio = 7; |
---|
| 57 | Pump_Operation.StaticHead = 12 * 'm'; |
---|
[1] | 58 | |
---|
[742] | 59 | INITIAL |
---|
| 60 | |
---|
| 61 | GUESS |
---|
| 62 | |
---|
| 63 | DEVICES |
---|
| 64 | work_inlet as work_source; |
---|
| 65 | |
---|
| 66 | SET |
---|
| 67 | |
---|
| 68 | SPECIFY |
---|
| 69 | |
---|
| 70 | INITIAL |
---|
| 71 | |
---|
| 72 | GUESS |
---|
| 73 | |
---|
| 74 | CONNECTIONS |
---|
| 75 | suction.Outlet to Pump_Operation.Inlet; |
---|
| 76 | Pump_Operation.Outlet to discharge.Inlet; |
---|
| 77 | work_inlet.Work to Pump_Operation.WorkIn; |
---|
| 78 | |
---|
[1] | 79 | OPTIONS |
---|
[196] | 80 | Dynamic = false; |
---|
[742] | 81 | Integration = "original"; |
---|
| 82 | NLASolver( |
---|
| 83 | File = "sundials", |
---|
| 84 | RelativeAccuracy = 1e-3, |
---|
| 85 | AbsoluteAccuracy = 1e-6, |
---|
| 86 | MaxIterations = 100 |
---|
| 87 | ); |
---|
| 88 | DAESolver( |
---|
| 89 | File = "sundials", |
---|
| 90 | RelativeAccuracy = 1e-3, |
---|
| 91 | AbsoluteAccuracy = 1e-6, |
---|
| 92 | EventAccuracy = 1e-2 |
---|
| 93 | ); |
---|
[1] | 94 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.