initial.m load all variables according to initial conditions (Mongstad case or base case) --- vav.m function used to compute initial valve positions --- run.m Main file to be used (to be entered directly in the workspace) - set the control configuration & filters - re-initialise the valve and flow values if control is chosen to be active (self-optimising steady-state values) - launch the appropriate Simulink file The Simulink interface (Valvecontrol & Flowcontrol) have to be used to simulate disturbances (using the step block for example) The heat exchangers are initialized for the Mongstad steady-state so the open-loop system need approx 1000s to converge to the self-optimising steady-state if control is chosen That's why I suggest to turn on the controllers always after t=2000s --- SIMCtuning(flow)(nf).m Apply the SIMC tuning for the PI controllers if decentralised control is chosen --- MPC6010.mat MPC6010flow.mat MPC tuning (to be used with Matlab MPC toolbox) --- hexchXX.m S-function, heat exchanger counter-current model made of N cells --- mathisen.m Equations of the heat exchanger model --- Steadyvar.m Initialize the heat exchangers internal temperatures according to the Mongstad steady-state --- Capacities.m Data.m are files of data. --- optim.m self-made optimizer, functions with the Simulink file "al" and optimF2F3.m