Modell of a small monetary union

These days I am trying to incorporate a modell of a small monetary union but i dont get it working the way it should.
I am not sure if I can right away implement it using the aggregate and difference functions.
For any help I would be really happy.