Subscript indices must either be real positive integers or l

I keep getting the following error message "subscript indices must either be real positive integers or logicals". I am trying to solve a small open economy model and have attached the file. Any help would be greatly appreciated. 
