open-plan-tool / gui

Energy Planning Application
Other
6 stars 4 forks source link

Diagrams: KPIs displayed in result table #221

Open Bachibouzouk opened 1 year ago

Bachibouzouk commented 1 year ago

What KPIs besides the existing ones should we display in the table?

The KPI table should also be visible (if possible in the scenario comparison)

FredericHirschmueller commented 1 year ago

I also added this question to the menti for our workshop on wednesday.

Bachibouzouk commented 1 year ago

@mstich0 - How do you compute amortization period?

Total investment cost for the project, as this for the components is done in #210. I guess that the project total investment is equal to the sum of the component investment costs plus the capex_fix for the projects (development_costs defined in the scenario settings)

mstich0 commented 1 year ago

For calculating an amortization period we would first need a "gain" by the investment. Herfore we need to define/set the LCOE instead of computing it. Currently the ammortization period is equal the project duration when getting the LCOE calculated. When getting a higher price for the 1 unit energy it will reduce the ammortisation period. I dont think we should try to push this before the stakeholder workshop as this is probably quite some effort to include and test and extend the userforms. What we need for calculating ammortisation is about: Ammortization time = Investment Cost / Profit per year with: Investment Cost = spec Capex optimized capacity - discounted residual investment value + fix capex (=development cost) Profit per year = - O&M capacity - dispatch sum flow - var consumption (timeseries) flow (t) + var feed in (timeseries) flow (t) + sum demand flow LCOE with LCOE as value that has to be given as input

in some usecases we would need to include taxes on profits while in other usecases we wouldn´t need to do that. When including taxes we would also need to include depreciation time for the components. Also it should be noted that the assumption of a singel WACC is not realistic as the Capital cost depend on the components and the usage of these components and more.

I´m not sure how much of this is already included in MVS but implementing it unitl the WS seems a little too ambitious to me.

mstich0 commented 1 year ago

As we currently only caluclate one LCOE for all energy vectors we should label it Energiegestehungskosten instead of Stromgestehungskosten.

Bachibouzouk commented 1 year ago

Maybe it would make sense that you look at the functions in MVS which do preprocessing (before the simulation to turn the inputs): https://github.com/rl-institut/multi-vector-simulator/blob/dev/src/multi_vector_simulator/C2_economic_functions.py

(or https://multi-vector-simulator.readthedocs.io/en/latest/references/code.html#module-c2-economic-preprocessing if you just want to read the docstrings)

As well as the functions which do postprocessing to compute some KPIs : https://github.com/rl-institut/multi-vector-simulator/blob/dev/src/multi_vector_simulator/E2_economics.py

(also https://multi-vector-simulator.readthedocs.io/en/latest/references/code.html#module-e2-economic-processing if you only want to read the docstrings)

Bachibouzouk commented 1 year ago

Thanks for the description of the amortization, I agree we should not tackle this before the WS

FredericHirschmueller commented 1 year ago

So far in the table there are only displayed KPIs of the electricty sector. It would be great to also show KPIs from the heat sector like: