% header
clear all 
% close all
clc
addpath('m_files_MPC')
warning off
scrsz = get(0,'ScreenSize')/2;
% Part 1.2: Plant Model
% ############
kAB=1;
kBC=3;
kCB=2;
dvdt=1;
VR=10;
A=[-kAB-dvdt/VR 0 0; kAB -kBC-dvdt/VR kCB; 0 kBC -kCB-dvdt/VR];
B=[dvdt/VR;0;0];
C = [0 1 0];
% Part 1.3:Create Step Response Model
% ###########################
eigenwerte = eig(A);
ts=0.5;
mod=ss2step(A,B,C,0,60,0,ts);