Closed rtei-pw closed 1 year ago
Hello Pengbo, I found a couple of issues when trying this out:
- The first one is with the greyed boxes for Marginal cost and market bid. When I create a thermal cluster, put it in "Use cost timeseries" mode, it will grey out the correct boxes. Then create another one, it will be in Set manually mode, but with the boxes still greyed out.
- The second one is with the cost itself. It doesn't appear to be put in the Overall cost of the system (OV. cost) or Operational cost of the system (OP. cost) in the result tab. In the following study (check the latest result), the cost of the system is 0 when using the gas cluster with the price defined with the cost timeseries: Thermal Def.zip
Thanks! Please re-test the bug fix
Hello Pengbo, The changes you've made are good ! The grey boxes are indeed gone, and the op & ov costs are now being updated properly. However I now have an issue with the cost calculated. I ran the same example I sent to you earlier, with the new version: Thermal Def.zip. In the latest result you will see that the cost of new cluster is 37100 € / hour. But, with the parameters I set, I should have: cost/MWh = fuel cost 3.6 100 / efficiency + co2 emission factor co2 cost + variable o&m cost cost/MWh = 10 3.6 100 / 100 + 1 1 + 10 = 47€/MWh cost = 4700€ / hour Do you know how I end up with this value ? Hugo
Hello Pengbo, The changes you've made are good ! The grey boxes are indeed gone, and the op & ov costs are now being updated properly. However I now have an issue with the cost calculated. I ran the same example I sent to you earlier, with the new version: Thermal Def.zip. In the latest result you will see that the cost of new cluster is 37100 € / hour. But, with the parameters I set, I should have: cost/MWh = fuel cost 3.6 100 / efficiency + co2 emission factor co2 cost + variable o&m cost cost/MWh = 10 3.6 100 / 100 + 1 1 + 10 = 47€/MWh cost = 4700€ / hour Do you know how I end up with this value ? Hugo
Hello, fixed, missed a point.
The price seems good now ! Next thing I noticed is, when I resized the columns of the Fuel Cost:
I end up with weird problems:
Is it possible to use more than 1 year of data for the fuel cost and co2 cost ? (I assume no) Then would it be possible to remove the "resize" option ? Or, if it's easier should we just accept several years of data, provided that the number columns is the same for Time-series, Fuel Cost & CO2 Cost ?
During the last meeting I also got comments regarding naming:
Done:
TODO:
Done:
in addition to "productionCost" create "productionCostTs" to be used if the time series is > 1.
use "productionCostTs" in "state.cpp" for calculating "thermalClusterOperatingCost" if the time series is > 1. Now we have different results for OP & OV Cost for each MC year - depending witch TS the MC year is using.
refactor "productionCost" due to Segmentation faults (7a2166d) when property.update is used
create marketBidCostPerHourTs Matrix
create marginalCostPerHourTs Matrix Now TS is implemented in all files.
Remaks:
TODO:
I am closing this. CR20 has been merged to RTE develop branch. https://github.com/AntaresSimulatorTeam/Antares_Simulator/pull/1272
Hello Pengbo, I found a couple of issues when trying this out: