How to deal with the varied the elasticity between retail goods

Dear dynare teams, I have a question and please look at the appendix. Looking forward to your applies. Thanks a lot. My best.

It’s not possible. See