source: mso/sample/optimization/ammonia_opt.mso @ 78

Last change on this file since 78 was 33, checked in by Argimiro Resende Secchi, 17 years ago

clean up.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 434 bytes
Line 
1#* Arquivo de demonstração de otimização de processos
2* (baseado no arquivo disponível em www.vrtech.com.br)
3*#
4
5using "ammonia";
6
7Optimization AmmoniaOPT as Ammonia
8        MINIMIZE
9       
10        abs(Q1) + abs(Q2)
11        #loose / "lbmol/h"
12        # C102.Pot/"kW"*180
13        # + F101.Q/"kW"/10
14        ;
15       
16        FREE
17        #F101.OutletV.T
18        S101.frac;
19       
20        EQUATIONS
21        #F102.OutletL.z(5) > 0.95;
22        loose < 1 * "lbmol/h";
23        production > 90 * "lbmol/h";
24       
25        OPTIONS
26        relativeAccuracy = 1e-1;
27end
Note: See TracBrowser for help on using the repository browser.