Hi
I’m trying to replicate a DSGE from Gonzalez et all. After runing the mod file appears a long list of errors. I’dont know how to do a lecture of each error and what I have to do in order to fix the code.

Thank you for your help. I will use the steady_state block.

One more thing, before your answer I tried with initial values but no matter the value the resids did not change. What could be happening? bis_c.mod (8.1 KB)

At this point I have no NaN nor Inf. I’ve been changing initial values to reduce residuals. However, I think that no matter how much I get close to 0 It will not find a solution. Are there any tool to verify if I have problematic equations? bis_c_vnby.mod (7.2 KB)

DYNARE_SOLVE (solve_algo=2|4): solving block 2, of size 1
warning: division by zero
warning: called from
trust_region>dogleg at line 198 column 3
trust_region at line 115 column 7
dynare_solve at line 253 column 17
evaluate_steady_state at line 227 column 34
model_diagnostics at line 74 column 24
DYNARE_SOLVE (solve_algo=2|4): solving block 1, of size 41
MODEL_DIAGNOSTICS: The steady state cannot be computed

I don’t know how to read that message, where is the division by zero?

By following the video’s instructions you will be able to track that error from that Dynare reports, through the auxiliary files (built in in Dynare), to your code.