Element-wise multiplication is potentially producing a bug where the diesel fuel usage for the first day is used to compute the diesel costs, rather than the usage throughout the simulations.
To Reproduce
Steps to reproduce the behavior:
Insert a breakpoint in line 845 of finance.py,
Run CLOVER, with either --simulation --analyse or --optimisation to cause the appraisal function to run
Investigate the diesel_costs object,
See error
Expected behaviour
Further investigation is required by the @CLOVER-energy/clover-development-team , but, potentially, the diagonal of the current object should be used.
Screenshots
Additional Information
Desktop
OS: 🏁
Installation setup: Downloaded directly from Github
Version: v5.1.0 (#217)
Branch, if relevant: master
Modifications
Modifications have been made to the code on the Harry branch.
Describe the bug
Element-wise multiplication is potentially producing a bug where the diesel fuel usage for the first day is used to compute the diesel costs, rather than the usage throughout the simulations.
To Reproduce
Steps to reproduce the behavior:
finance.py
,--simulation --analyse
or--optimisation
to cause the appraisal function to rundiesel_costs
object,Expected behaviour
Further investigation is required by the @CLOVER-energy/clover-development-team , but, potentially, the diagonal of the current object should be used.
Screenshots
Additional Information
Desktop
v5.1.0
(#217)master
Modifications
Modifications have been made to the code on the
Harry
branch.