rte-i / Antares_Simulator

Antares-Simulator is an Open Source power system simulator to quantify the adequacy or the economic performance of interconnected energy systems, at short or remote time horizons.
https://antares-simulator.org
Other
1 stars 0 forks source link

Client reports all zeros for flows variables for csr hours #63

Closed Milos-RTEi closed 2 years ago

Milos-RTEi commented 2 years ago

This pr was created after a complaint from the client (Ellia - Daniel) that: he cannot see for which hours csr was activated he gets all zeros for some flows

===============================================================================================

After debugging and later discussion with the client it was proven that the flows for specific links were zero because hurdle cost for them overcame quadratic costs in csr-quad-solver cost function. The agreement was made to issue a TEMPORARY beta-6 version only to Daniel for testing. In beta-6 version linear costs are not taken into account inside the csr-quad-solver cost function. If the testing goes well, it was agreed to implement the true/false button whether the linear costs will be used or not.

=============================================================================================

In addition. densNew values are placed as an output in the Antares DESN column. And densNew value is used as PTO (not "old" DENS from LMR). This impacts the results!

=============================================================================================

Minor updates to debug logs were made to speed up the testing/debugging.

Milos-RTEi commented 2 years ago

since we promised this beta6 version to daniel today. and it is for his eyes only. I'm going to go ahead and merge this PR. And accept any of your comments later. I hope nothing drastic will be commented on.