how to detrend a two-sector and two-country model

Hi, professor Pfeifer
I construct a two-sector and two-country model. The two sectors are tradable and non-tradable sector. Assuming the production functions of both sectors are cobb-douglas functions , the technologies of both sectors are labour-augmented and non-stationary. I want to study the impact of non-tradable productivity slowdown on macroeconomic variables , while assuming that productivity in other country remains at its steady state level throughout the period considered. My question is how to detrend this kind of model ?
I construct a two-sector and two-country model. The two sectors are tradable and non-tradable sector. Assuming the production functions of both sectors are cobb-douglas functions , the technologies of both sectors are labour-augmented and non-stationary. I want to study the impact of non-tradable productivity slowdown on macroeconomic variables , while assuming that productivity in other country remains at its steady state level throughout the period considered. My question is how to detrend this kind of model ?