Title: A thesis on the optimal control of semi-batch reactor studies