Write benchmark tests for npc and lcoe#613
Conversation
|
@smartie2076 - can you tell me if this is what you had in mind? |
There was a problem hiding this comment.
Yeah, that is the right direction. For now, you tidied up the data and avoided the python processing by writing the expected values for the individual assets to file. Basically, my script then is used as an external scipt, and now can be deleted.
Missing is now the calculation of the global economic parameters (annuities, costs, lcoe).
65000ce to
db5524a
Compare
smartie2076
left a comment
There was a problem hiding this comment.
Looking good! I think you could also check for some more parameters - and I hope that with this you got to know the economic KPI a bit better :)
|
Hi @Bachibouzouk! What should I review here? My last review is still up-to-date, as you did not push anything since. |
@smartie2076 I thought the PR was only for NPC and LCOE ? |
Verbally, we identified a list of cost parameters that could easily be added to the check. I think the PR is called that way because |
|
We can do it in a seperate PR, if you prefer. Can you add the boxes then in the original issue? |
|
I will take over this PR now, also directly pushing into it. |
6b096db to
78425f8
Compare
Co-authored-by: smartie2076 <[email protected]>
Co-authored-by: smartie2076 <[email protected]>
Co-authored-by: smartie2076 <[email protected]>
|
@SabineHaas this PR is ready for review. |
SabineHaas
left a comment
There was a problem hiding this comment.
@smartie2076 I only have minor comments, so I already approve.
However, important!, for your information:
The second test in test_benchmark_KPI.py is not tested, as the prefix test_ is missing, see here
Co-authored-by: Sabine Haas <[email protected]>
Oh no! I hope it works out of the box... |
Fix #504
Fix #700
Fix #549
Changes proposed in this pull request:
COST_REPLACEMENTsum(attributed_costs)==cost_totalThe following steps were realized, as well (if applies):
black . --exclude docs/)EXECUTE_TESTS_ON=master pytest)Edited by @smartie2076 on 2020-12-10