Error using == (line 15)
Error using - (line 195)
Matrix dimensions must agree.
Error in xcvxcvxcv (line 339)
power_balance = [power_balance,
PVt(k,:)+PWt(k,:)+Prce(k,:)+Pice(k,:)+Psofc(k,:)+Pmofc(k,:)+Ppemfc(k,:)-Pbch(k,:)+Pbdch(k,:)+Pgrid(k,:)-Psell(k,:)==Pecin(k,:)+Pashp(k,:)+Pwshp(k,:)+Pelez(k,:)+LD'];