Macro model with pandemics

Hello, guys
Is it possible to write macro-SIR model in dynare?

Hello Wenddy,

This exact question was already asked in the forum.

https://forum.dynare.org/t/susceptible-infected-recovered-sir-model/15534