I am trying to extend the Eichenbaum et al. (2020), “Epidemics in the Neoclassical and New Keynesian Models”, which incorporates SIR into the DSGE model. However, I encountered the error “The Jacobian or the dynamic model contains Inf”.
I have checked other posts also mentioned this error message and went through all the equations following the guidance. But I do not find any 0 parameter values or steady states appear in the denominator.
The deadline is approaching while I am still struggling with this issue. Any help will be highly appreciated! Thanks a lot!
The mod file is attached.SIR in a Two-sectoral DSGE.mod (11.2 KB)