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 | ObjectiveFunction = "Normal"; |
---|

48 | Filter = "mean"; |
---|

49 | Significance = 0.95; |
---|

50 | |
---|

51 | GrossErrorTests( |
---|

52 | Global = true, |
---|

53 | Nodal = true, |
---|

54 | Measurements = true |
---|

55 | ); |
---|

56 | |
---|

57 | NLPSolver( |
---|

58 | MaxIterations=1000, |
---|

59 | File = "complex" |
---|

60 | #File = "ipopt_emso" |
---|

61 | ); |
---|

62 | Dynamic = false; |
---|

63 | end |
---|

**Note:** See

TracBrowser
for help on using the repository browser.