Hi, I am new in dynare but learning.

I read a sample code but do not know what does # mean. Here is the example:

…

model;

# Trendk = Teand_AC + 1/(1-MUC) * Trend_Ak;

# …

# …

//% equations

…

I just do not know why the author define so many equations following #. It seems the model is a stochastic growth model and the author is defining stochastic trends and want to detrend the economy before writing down the other equations.

What does # mean? e.g., I know //% means that what follows it are comments.

Here are more similar statements:

model ;

# TRENDK = TREND_AC + 1/(1-MUC)*TREND_AK ;

# TRENDY = TREND_AC + MUC/(1-MUC)*TREND_AK;

# TRENDH = (1-MUH-KAPPA-MUBB)*TREND_AH + (MUH+MUBB)*TREND_AC + MUC*(MUH+MUBB)/(1-MUC)*TREND_AK ;

# TRENDQ = (1-MUH-MUBB)*TREND_AC + MUC*(1-MUH-MUBB)/(1-MUC)*TREND_AK - (1-MUH-KAPPA-MUBB)*TREND_AH ;

# llEXPTRENDY = exp ( TRENDY ) ;

# llEXPTRENDK = exp ( TRENDK ) ;

# llEXPTRENDQ = exp ( TRENDQ ) ;

# llEXPTRENDH = exp ( TRENDH ) ;

# llgamma_k = exp ( TREND_AK );

# llr = 1 / BETA ;

# llr1 = llr / llEXPTRENDY - 1 ;

# llZETA0 = BETA*llEXPTRENDK*MUC/(llgamma_k-BETA*(1-DKC))/X_SS ;

# llZETA1 = BETA*llEXPTRENDY*MUH/(1-BETA*(1-DKH));

# llZETA2 = JEI/(1-BETA*llEXPTRENDQ*(1-DH)) ;

# llZETA3 = JEI/(1-BETA1*llEXPTRENDQ*(1-DH)-llEXPTRENDQ*(BETA-BETA1)*M) ;

# llZETA4 = (llr/llEXPTRENDY-1)*M*llEXPTRENDQ/llr ;

Many thanks for your help.