Bayesian estimation and welfare?

Dear all,
Currently, I’m estimating a DSGE model using bayesian approach. I’m wondering how can I compute the welfare effect in this case. Should I follow the same steps as in the stoch_simul case.

Thanks a lot.
Kind regards.
Moh