I’ve written a multiple country large scale DSGE model (over 400 equations). To write the code, I rely on local variables to cut down on the number of equations and also use the macro processor very intensively. The code runs fine and I get the deterministic solution within one minute. Now I am trying to solve it faster so that I can add more countries. I wanted to use a block decomposition of the model and the bytecode option but get the following error:
ERROR: In ‘model’ block, ‘block’ or ‘bytecode’ options are not yet compatible with pound expressions
Is there any way around this? I really don’t want to write the model line by line.
Thanks for any suggestions!