The timing problem

Hi,I am studying the BGG model ,I find that in the paper ,many variables are t(+1) but in dynare ,when writing the code these should be t or t(-1)I am confused .and
my code violate the BK condition ,is that because of the timing? thank you so much
bgg.mod (895 Bytes)

Have a look at https://sites.google.com/site/ambropo/dynarecodes