The rank condition ISN'T verified! (# eigenvalue = # forward-looking variables)

Thank you professor. I improved the model according to your suggestion, it works. So thank you again.

But I still have a question, I give a 1% shock in the probability of outbreak of pandemic and the irf looks like this. It takes about 500 periods for the economy to recover (in terms of output). Pandemic probability shock is only shock that is so different, all other shocks are normal. This result is unexpected. Because I’ve never had any experience modeling epidemics, I don’t know if this result is correct, the effect of covid19 is so long-lasting for economy. What is your opinion?