exchange rate peg and level irfs

Dear dynare-users,
In my model Ive got the change of the nominal exchange rate DS_t as an endogenous variable. I define an exchange rate peg as a policy which sets DS_t=1. My question is, how can I retrieve the level of the exchange ratewithout getting an unit root? Wheb I define exp(DS_t)=exp(S_t- S_t-1) I get the unit root problem...
Thanks for the support
In my model Ive got the change of the nominal exchange rate DS_t as an endogenous variable. I define an exchange rate peg as a policy which sets DS_t=1. My question is, how can I retrieve the level of the exchange ratewithout getting an unit root? Wheb I define exp(DS_t)=exp(S_t- S_t-1) I get the unit root problem...
Thanks for the support