Hi

is there a way to introduce “auxiliary variables”, that will not be treated as proper variables but just as definitions? (I am referring to a different type of auxiliary than the dynare manual)

Say you have a model with 3 variables and 3 equations

f(x,y,z)=0

g(x,y,z)=0

z=h(x,y)

Is it possible to define the model as one of 2 variables and 1 auxiliary, where the auxiliary is defined by z=h(x,y)? Such that when dynare reads z in equations 1 and 2 it replaces it by h(x,y)?

Of course one could simply replace z=h(x,y) in the first 2 equations, but that makes the code hard to read. Or one could keep z as a proper variable, but my model is already very large and I look for ways to reduce the dimensionality (nr of variables).

Many thanks!

Dominik