Читать книгу Control Theory Applications for Dynamic Production Systems - Neil A. Duffie - Страница 19

Program 2.1 WIP response calculated using solution of differential equation

Оглавление

ww0=30; % initial WIP (hours) rd0=-10; % capacity disturbance (hours/day) t(1)=-2; rd(1)=0; ww(1)=ww0; % initial values t(2)=0; rd(2)=rd0; ww(2)=ww(1); % disturbance starts t(3)=3; rd(3)=0; ww(3)=ww(2)-3*rd0; % solution of differential equation t(4)=6; rd(4)=0; ww(4)=ww(3); % disturbance ends stairs(t,rd); hold on % plot disturbance and WIP vs time - Figure 2.2 plot(t,ww); hold off xlabel('time t (days)') legend ('capacity disturbance r_d(t) (hours/day)','WIP w_w(t) (hours)')

Control Theory Applications for Dynamic Production Systems

Подняться наверх