Using steady state values in model block

Hi everybody,
sorry if this question has come up before, but I was wondering if there is a way to use the values that dynare computes using the steady command in the model declaration.
To give an example, suppose I have an equation f(k,k_ss)=0 in my model, where k_ss is the steady state of k. I would like to call a function that automatically puts the steady state of k into this equation. For example:


where steady is the function that I described. Computing the steady state beforehand is cumbersome in my model, so I’d like dynare to do the heavy lifting if possible.

Any comments would be greatly appreciated.

Use the steady_state() operator (see the manual). But for this to work, Dynare needs to be able to find the steady state.

Perfect, thanks!