Summation with limits

Hi,
If the objective function is :
Max H= ∑ 4zzz+ 2c - e(t)

Where the summation is limited by t=1 and t=24.

What is the syntax equation of this objective function?
Knowing that I have defined zzz and c as positive integer.
But what about e(t), should I declare it or not ?
Thank you.
Faourkh

From your description it is unclear how to answer here. Why don’t you post the code you already have and then someone in the forum might be able to help. -Michael