I'm trying to analyze a system I found in a paper of two cells interacting, where i defines one cell, in which U inhibits V, and V inhibits U, but S gets activated by U while inhibiting it.
def system2(y,t,a_u,a_v,a_s,a_us,beta,lam):
u1,v1,s1,u2,v2,s2=y
return np.array([(lam*(a_u*(1/(1+v1**beta))+a_us*(1/(1+s_ext(s1,s2)**beta))-u1)), #u1
(lam*(a_v*(1/(1+u1**beta))-v1)), #v1
(lam*(a_s*(u1**beta/(1+u1**beta))-s1)), #s1
(lam*(a_u*(1/(1+v2**beta))+a_us*(1/(1+s_ext(s1,s2)**beta))-u2)), #u2
(lam*(a_v*(1/(1+u2**beta))-v2)), #v2
(lam*(a_s*(u2**beta/(1+u2**beta))-s2))]) #s2
The system looks visually like this, and s_ext is defined as
def s_ext(s1,s2):
return (s1+s2)/2
I'm trying to plot the null clines of u1 and u2, but I can't seem to figure it out. I've solved the dynamics of the system using odeint already, but I don't know how to proceed.
After plotting the null clines, I'd like to plot the bifurcation diagram of u as the parameter a_u changes.