These files simulate a heat exchanger network connected to a set of batch reactores which are discharged periodically. 

Johannes Jaeschke 2013

To run the simulation, simply place the files 
runSim.m
TankTest.mdl
plotgraphs.m

into a folder and run the file 'runSim.m' in Matlab.

Two cases are included: 
1. open-loop simulation
2  A simple "optimized" version.

The version to run can be selected in the 'runSim.m' file.