Skip to main content
. 2023 Nov 10;8(4):1151–1168. doi: 10.1016/j.idm.2023.11.001
for i = 1:M (M represents the overall steps)
for j = 1:N (N represents the overall number of people in the population)
x(i+1,j)=(βy(i,j)z(i,j)γx(i,j)δx(i,j))Δt+x(i,j)
y(i+1,j)=(γx(i,j)βy(i,j)z(i,j)+εx(i,j)ηy(i,j)θp(i,j)y(i,j)+λq(i,j)+εq(i,j))Δt+y(i,j)
 ifz(i,j) > C (C is the nucleic acid testing threshold)
Minteraction(j,:)=0for14days
ifMinteraction(j,m)=0
Minteraction(m,:)=0for14days
 end
 restoretooriginalMinteractionafter14days
end
z(i+1,j)=(γx(i,j)βy(i,j)z(i,j)ζz(i,j)+αz(i,j)+j=1Nφ(z(k,j)))Δt+z(i,j)
φ(z(k,j))=μzjMinteraction(i,j)
p(i+1,j)=p(i,j)
q(i+1,j)=(θp(i,j)y(i,j)λq(i,j)δq(i,j))Δt+q(i,j)
end
end