Modeling Problem in GAMS (Two conditional equations at the same time)

In the model I am working on, I am having trouble translating the 15th constraint in the photo into GAMS language. How can I write the t (d (i)) index in particular. I can send the model to those who want to help. Thank you…

[img][https://imgur.com/DSrPxPE]