Endogeneizing parameters

How can I endogeneize parameters?

I see that I have to create a mod file like

@#if steady
var eta sigmam v ubshare varphi;
parameter U S omega SPR LEV

@#else
parameter eta sigma v ubshare varphi;
var U S LEV SPR omega;
@#endif

Then I do not understand where I should include it. The macro processor guide says to include it in a steadystate.mod file. How can I actually compute steady state? Should I include the mod file above before the model block?

Thanks

Please elaborate what exactly you are trying to achieve. I don’t understand the problem.