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

Adding new samples for estimation (Tiago).

File size:
631 bytes

Line  

1  using "types"; 

2  

3  FlowSheet 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 = exp(A  B/(TC)) * 'atm'; 

18  

19  OPTIONS 

20  Dynamic = false; 

21  end 

22  

23  Estimation 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  "pv_est.dat" 1; 

34  

35  OPTIONS 

36  NumJac = false; 

37  

38  NLPSolver( 

39  File = "ipopt_emso" 

40  #File = "complex" 

41  ); 

42  Dynamic = false; 

43  end 

Note: See
TracBrowser
for help on using the repository browser.