Sorry Mark for letting passing too much time since the last time I texted you, the only thing I need is to write down the original formulation of the electrical cosumption using suitable functions in order it will be accepted by CVX. I’ve checked that cost function and constraints are recognized by CVX, and actually I have no idea on how to prov convexity of the term

sum(El,2)as function of Tz and s.

Are there any functions different from

pow_p

to formulate the following equation?

Thank you in advance,

Paolo De Bella