Thank you Prof. Pfeifer, I was sending a reply at OSR and Ramsey Welfare Comparison where in I had mentioned the same link.
Following Questions on Ramsey welfare in Dynare 4.7 - #7 by jpfeifer in Dynare 5.2 I was able to compute unconditional welfare for each agent. However, I do not know how to compute conditional welfare for each agent. Please advise on the next steps.