Last change
on this file since 764 was
476,
checked in by Argimiro Resende Secchi, 15 years ago

Adding reconciliation examples.

File size:
1.0 KB

Line  

1  #using "types"; 

2  

3  FlowSheet HeatEx_Flow 

4  VARIABLES 

5  x1 as Real (Default=50.00, Lower=0.00, Upper=150); 

6  x2 as Real (Default=50.00, Lower=0.00, Upper=150); 

7  x3 as Real (Default=50.00, Lower=0.00, Upper=150); 

8  x4 as Real (Default=50.00, Lower=0.00, Upper=150); 

9  x5 as Real (Default=50.00, Lower=0.00, Upper=150); 

10  x6 as Real (Default=50.00, Lower=0.00, Upper=150); 

11  

12  SPECIFY 

13  x1 = 100.91; 

14  x2 = 64.45; 

15  #x3 = 34.65; 

16  

17  EQUATIONS 

18  x1  x2  x3 = 0; 

19  x2  x4 = 0; 

20  x3  x5 = 0; 

21  x4 + x5  x6 = 0; 

22  

23  OPTIONS 

24  Dynamic = false; 

25  end 

26  

27  Reconciliation HeatEx_Rec as HeatEx_Flow 

28  

29  RECONCILE 

30  x1; x2; x3; x4; x5; x6; 

31  #x1; x2; x5; x6; 

32  #x1; x2; 

33  #x1; x6; 

34  

35  FREE 

36  x1; x2; 

37  

38  EXPERIMENTS 

39  # FILE WEIGTH 

40  "heatEx.dat" 1; 

41  #"heatEx_1.dat" 1; 

42  #"heatEx_2.dat" 1; 

43  #"heatEx_3.dat" 1; 

44  #"heatEx_GE.dat" 1; 

45  

46  OPTIONS 

47  Filter = "mean"; 

48  Significance = 0.95; 

49  

50  GrossErrorTests( 

51  Global = true, 

52  Nodal = true, 

53  Measurements = true 

54  ); 

55  

56  NLPSolver( 

57  MaxIterations=1000, 

58  File = "complex" 

59  #File = "ipopt_emso" 

60  ); 

61  Dynamic = false; 

62  end 

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