Equation 30 Schmitt-Grohe and Uribe (2004)

Dear all,
I’m a new dynare user and I would like to know if there exists a mod file which replicates the welfare results of Schmitt-Grohe and Uribe (2004). To be more precise, I would like to know, what we should do to get the lambda (or to implement it) (see equation 30 in the paper attached).

Thanks

Did you look at Welfare cost of business cycles ?