Hi guys, I've got following two questions when solving multi-period UC problem.
a) Given the result structure 'mdo', I'm calculating the total generation cost for time period t in following way: mpc = mdo.flow(t).mpc; total_cost = sum(totcost(mpc.gencost, mpc.gen(:, PG))); However, I found the total cost is much less than my expectation. Then I compared mdo.flow(t).mpc.gencost and mpc.gencost and found all the constant terms (in my case, cost curves are quadratic and last column defines the constant term) are zero in the previous matrix, which is different from the base case mpc structure. I'm wondering what causes the issue. b) Previously, from the example cases (ex_load_profile), I've learned how to assign the time series load profile for each area/load zone. Now, I would like to assign specific time series load profile for each bus and cannot find an example doing so. I'm wondering whether there is a way to do that. Otherwise, I may use the naïve method: making the #area/#load zone the same as the #bus, so that I could assign the load profile in the old way. Thanks for the help! Best, Bainan
