I'm sorry but you question doesn't really make sense. It seems like you need to expand on your explanation a lot more before it becomes clear exactly what you are asking.
∑_(i=1)^T▒〖[c(x_i d_i s_i)+(x_i r_i ) 〗] for d>1 + ∑_(i=1)^T▒〖〖[x〗_i (d_i s_i+r_i )]〗 for d=1
x= number of people
s = number of events
i = unique event
d = days
c is a constant 0<c<1
Basically I'm trying to say that if a person is going to i that can only happen on a single day. So it only gets counted once.
The events s happen over the course of a number of days.
Days, d is the number of days the person attends across the period the events are held.
x is the number of people in a group.
I'm trying to say that if someone says they are going to i then they are goin to it once.
If the person is attending for one day then they go to whatever events they say they are attending.
If however they are going for more than one day the proportion of events other than i that they attend on any give day is c.
Can I do that as in have different conditions for d=1 and d>1 in the same equation.