Question: Multi-Country-Model

Actually, that’s not completely true. It is the job of professors to help resolve their own students’ problems. So if you have a supervisor, ask him for help. He may have more time for you than I have.

It seens you uploaded the wrong code. It looks like a two country model. One thing that is definitely wrong is the incorrect accounting for parameter dependence. See e.g. [Question about IRFs)