hydesign.finance.finance_solarX
Classes
Financial model to evaluate the profitability of a hybrid power plant (HPP). |
Functions
|
A function to estimate the yearly cashflow using the net revenue time series, and the yearly OPEX costs. |
|
|
|
This function calulates the equivalent net present value CAPEX given a early paying "phasing" approach. |
|
This function calulates the inflation index time series. |
Module Contents
- class hydesign.finance.finance_solarX.finance_solarX(N_time, life_h, depreciation_yr, depreciation, inflation_yr, inflation, ref_yr_inflation, phasing_yr, phasing_CAPEX)[source]
Bases:
openmdao.api.ExplicitComponent
Financial model to evaluate the profitability of a hybrid power plant (HPP).
This model calculates annual cash flows, using parameters like Weighted Average Cost of Capital (WACC), tax rates, depreciation schedules, and inflation indices. Financial metrics like Net Present Value (NPV), Internal Rate of Return (IRR), Levelized Cost of Energy (LCOE), and other performance indicators are computed.
- setup()[source]
Defines inputs and outputs for the financial model in OpenMDAO.
Inputs represent various financial and operational parameters like CAPEX, OPEX, and prices. Outputs include computed financial metrics such as CAPEX, OPEX, NPV, IRR, and break-even PPA prices.
- compute(inputs, outputs)[source]
Computes financial metrics based on revenue, CAPEX, OPEX, and other financial parameters.
The method calculates cash flow using inflation-adjusted revenues, CAPEX phasing, and depreciation. It computes financial indicators like NPV, IRR, LCOE, and additional metrics for profitability evaluation.
- hydesign.finance.finance_solarX.calculate_NPV_IRR(Net_revenue_t, investment_cost, maintenance_cost_per_year, tax_rate, discount_rate, depreciation_yr, depreciation, development_cost, inflation_index)[source]
A function to estimate the yearly cashflow using the net revenue time series, and the yearly OPEX costs. It then calculates the NPV and IRR using the yearly cashlow, the CAPEX, the WACC after tax, and the tax rate.
- Parameters:
Net_revenue_t (Net revenue time series)
investment_cost (Capital costs)
maintenance_cost_per_year (yearly operation and maintenance costs)
tax_rate (tax rate)
discount_rate (Discount rate)
depreciation_yr (Depreciation curve (x-axis) time in years)
depreciation (Depreciation curve at the given times)
development_cost (DEVEX)
inflation_index (Yearly Inflation index time-sereis)
- Returns:
NPV (Net present value)
IRR (Internal rate of return)
- hydesign.finance.finance_solarX.calculate_break_even_PPA_price(df, CAPEX, OPEX, tax_rate, discount_rate, depreciation_yr, depreciation, DEVEX, inflation_index, initial_price_el=50, initial_price_h2=50, initial_price_q=50)[source]
- hydesign.finance.finance_solarX.calculate_CAPEX_phasing(CAPEX, phasing_yr, phasing_CAPEX, discount_rate, inflation_index)[source]
This function calulates the equivalent net present value CAPEX given a early paying “phasing” approach.
- Parameters:
CAPEX (CAPEX)
phasing_yr (Yearly early paying of CAPEX curve. x-axis, time in years.)
phasing_CAPEX (Yearly early paying of CAPEX curve. Shares will be normalized to sum the CAPEX.)
discount_rate (Discount rate for present value calculation)
inflation_index (Inflation index time series at the phasing_yr years. Accounts for inflation.)
- Returns:
CAPEX_eq
- Return type:
Present value equivalent CAPEX
- hydesign.finance.finance_solarX.get_inflation_index(yr, inflation_yr, inflation, ref_yr_inflation=0)[source]
This function calulates the inflation index time series.
- Parameters:
yr (Years for eavaluation of the inflation index)
inflation_yr (Yearly inflation curve. x-axis, time in years. To be used in interpolation.)
inflation (Yearly inflation curve. To be used in interpolation.)
ref_yr_inflation (Referenece year, at which the inflation index takes value of 1.)
- Returns:
inflation_index
- Return type:
inflation index time series at yr