Steady state with one variable linearly increasing

In a model, if one of the variables is linearly increasing while all others would have a steady-state, is there a way to simulate such model? I understand having a terminal condition and without the steady-state option, I can simulate but I want to compare two policies in the model and prefer to have the steady-state enabled.

Many thanks.

You need to provide more details. Are you talking perfect foresight simulations? There, it should be feasible.

Yes, that’s right. It is a perfect foresight simulation. I tried but could not really get it to the steady-state. Could you please help?

What do you mean with

?
Also, DSGE_mod/Solow_model/Solow_nonstationary.mod at master · JohannesPfeifer/DSGE_mod · GitHub might be relevant.

Thanks for the code. I got the answer.