SOE Model with Current Account Dynamics

Hi
Can anyone help with Dynare code modelling current account dynamics in a small open economy. Something along the lines of Bergin (2006) and Ferrero, Gertler and Svensson (2010), but in a small open economy setting.
Thanks
Can anyone help with Dynare code modelling current account dynamics in a small open economy. Something along the lines of Bergin (2006) and Ferrero, Gertler and Svensson (2010), but in a small open economy setting.
Thanks