Preprocessing failed- Unexpected divide


I have the attached Dynare code, which I have worked on for several days. Unfortunately, it is not running - I remain at a loss after going through it multiple times, reading through the Dynare Manual, reading previous related forums, and Googling the error that pops up.

Could someone please let me know what the problem is, if they know? It would be highly appreciated!!

Many thanks in advance!
Dynare_preprocessing_failed.mod (6.82 KB)

It says

[quote]ERROR: Dynare_preprocessing_failed.mod: line 81, col 13: syntax error, unexpected DIVIDE

Line 81, column 13 is

The slash signals division. You cannot use it in a variable name.