I have 2 issues. Firstly I need to declare the square of a variable with 2 arguments, but sqr(V(i,t)) doesn't work.

As for the other, I have the following parameter: LPline_max(f,t,seg) and declared the variable LP_line(f,t,seg). However the following equation gives the errors 145 and 148 for both of them.

Code: Select all

`Net16ap2(f,t) .. LP_line(f,t,1) =l= LPline_max(f,t,1);`

Thanks in advance.