Hi,
I got a syntax error which says The symbol ")" is not expected. But I didn't see anything wrong here. Could you help me find the problem? Thank you so much!
BranchPTDF(br,t)= sum(h | h in HoursInPeriod(t),sum(sb|PTDF_Branch(br,h,sb)*sum(nd|nd=sb,NetBusMW(sb,t))))