Runge Kutta method to solve chapman kolmogorov differential equations

4 visualizaciones (últimos 30 días)
fakhar jahan
fakhar jahan el 24 de Jul. de 2019
Respondida: Le Duc Long el 29 de Jun. de 2020
I need to solve these 2 equations by runge kutta 4th order method. Could anyone help me out to imelemnt these equation without using ode45 function. Please assume any initial conditions of your choice.
Equation (3.7) states that the probability of being in state 0 with no one in the system a very short time from now is equal to (i) the probability that the system is in state 0 now and no customer arrives plus (ii) the probability that there is one customer in the system and that person finishes his or her service during the very short time. Equation (3.8) states that the probability that the system is in state i a very short time from now is equal to the sum of (i) the probability that the system is in state i-l now and there is one arrival during the very short time, (ii) the probability that the system is in state i right now and there are no arrivals or service completions during the short interval of time, and (iii) the probability that the system is in state i + 1 right now and there is one service completion during the short interval.
queue.PNG
  5 comentarios
Torsten
Torsten el 25 de Jul. de 2019
Editada: Torsten el 25 de Jul. de 2019
And what is P_(i+1) since you only have equations for P_0,...,P_i ?
Maybe P_(i+1) = 0 ?
fakhar jahan
fakhar jahan el 25 de Jul. de 2019
In my attempt, I have kept i=1, so (Pi+1=P2). Pi+1 is the probability for the next increment in "i" .In my attempt I have taken its initial value for P2=0. Although, I am not hundred precent sure that how it will be computed in these equations and htrough runge kutta method.
mu (M) and lambda (L) could be treated as constant for the ease of this computation. Please only take P indexed with respect to i.

Iniciar sesión para comentar.

Respuestas (3)

fakhar jahan
fakhar jahan el 24 de Jul. de 2019
i=2 will change the P0 to P1, P1 to P2 and P2 to P3 in the equation 3.8. As per my understanding i-1 is dependent on previous iteration of "i".

fakhar jahan
fakhar jahan el 24 de Jul. de 2019
Loop for "i" values? I think yes.

Le Duc Long
Le Duc Long el 29 de Jun. de 2020
Hi Fakhar Jahan,
This is Kolmogorov differential equations in theory queue. I am also concerned about Your problem? Do you have the code to solve this system of equations? You can share me at the address: lelongbg@gmail.com.
Thank you so much!
Best Regards!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by