IRF exclusion

Dear All,

I am simulating a model that involves an endogenous distribution of firms over different level of capitals. I would like to obtain IRF for a shock keeping the distribution costant, to understand the contribution of movement in the distribution account for the result I obtain. Is there an easy way to do it?

Thanks a lot in advance,