source: trunk/sample/estimation/sample_est.mso @ 416

Last change on this file since 416 was 380, checked in by Argimiro Resende Secchi, 16 years ago

Adjust NLP parameters.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 663 bytes
Line 
1using "types";
2
3FlowSheet PV_Flow
4        VARIABLES
5        T as temperature;
6        PV as pressure;
7
8        PARAMETERS
9        A as Real(Default=1.5);
10        B as temperature(Default=1000);
11        C as temperature(Default=50);
12
13        SPECIFY
14        T = 350 * 'K';
15       
16        EQUATIONS
17        PV/'atm' = exp(A - B/(T-C));
18       
19        OPTIONS
20        Dynamic = false;
21end
22
23Estimation PV_Est as PV_Flow
24
25        ESTIMATE
26        # PAR   START  LOWER  UPPER  UNIT
27        A       1.5    -3     10;
28        B       1000   800    3000    'K';
29        C       50     20     200     'K';
30
31        EXPERIMENTS
32        # FILE                WEIGTH
33        "sample_est.dat"      1;
34
35        OPTIONS
36        NLPSolver(
37                File = "ipopt_emso",
38#               File = "complex",
39                acceptable_tol = 1e-3,
40                ObjTol = 1e-3
41        );
42        Dynamic = false;
43end
Note: See TracBrowser for help on using the repository browser.