Counterfactual analysis in Dynare with shocks shut to 0 for a time period

Usually, this can be done using the simult_-function. See