hydesign.finance.finance_P2X_bidirectional
Classes
Hybrid power plant financial model to estimate the overall profitability of the hybrid power plant with P2X. |
Functions
|
This function returns the weighted average cost of capital after tax, using solar, wind, electrolyzer and battery |
|
|
|
Module Contents
- class hydesign.finance.finance_P2X_bidirectional.finance_P2X_bidirectional(N_time, depreciation_yr, depreciation, inflation_yr, inflation, ref_yr_inflation, phasing_yr, phasing_CAPEX, life_y=25)[source]
Bases:
openmdao.api.ExplicitComponent
Hybrid power plant financial model to estimate the overall profitability of the hybrid power plant with P2X. It considers different weighted average costs of capital (WACC) for wind, PV, battery and P2X. The model calculates the yearly cashflow as a function of the average revenue over the year, the tax rate and WACC after tax ( = weighted sum of the wind, solar, battery, P2X and electrical infrastracture WACC). Net present value (NPV) and levelized cost of energy (LCOE) is then be calculated using the calculates WACC as the discount rate, as well as the internal rate of return (IRR).
- setup_partials()[source]
Declare partials.
This is meant to be overridden by component classes. All partials should be declared here since this is called after all size/shape information is known for all variables.
- compute(inputs, outputs)[source]
Calculating the financial metrics of the hybrid power plant project.
- Parameters:
price_t_ext (Electricity price time series [Eur])
hpp_t_with_deg (HPP power time series [MW])
penalty_t (penalty for not reaching expected energy productin at peak hours [Eur])
hpp_curt_t (HPP curtailed power time series)
m_H2_t (Produced Hydrogen)
m_H2_offtake_t (Hydrogen offtake time series)
mP_ptg_grid_t (Hydrogen offtake time series)
m_H2_demand_t_ext (Hydrogen demand times series)
P_ptg_t (Electrolyzer power consumption time series)
price_H2 (H2 price)
CAPEX_w (CAPEX of the wind power plant)
OPEX_w (OPEX of the wind power plant)
CAPEX_s (CAPEX of the solar power plant)
OPEX_s (OPEX of solar power plant)
CAPEX_b (CAPEX of the battery)
OPEX_b (OPEX of the battery)
CAPEX_ptg (CAPEX of P2G plant)
OPEX_ptg (OPEX of P2G plant)
CAPEX_sh (CAPEX of the shared electrical infrastracture)
OPEX_sh (OPEX of the shared electrical infrastracture)
wind_WACC (After tax WACC for onshore WT)
solar_WACC (After tax WACC for solar PV)
battery_WACC (After tax WACC for stationary storge li-ion batteries)
ptg_WACC (After tax WACC for power to gas plant)
tax_rate (Corporate tax rate)
- Returns:
CAPEX (Total capital expenditure costs of the HPP)
OPEX (Operational and maintenance costs of the HPP)
NPV (Net present value)
IRR (Internal rate of return)
NPV_over_CAPEX (NPV over CAPEX)
mean_AEP (Mean annual energy production)
mean_Power2Grid (Mean annual power to grid)
annual_H2 (Annual H2 production)
LCOE (Levelized cost of energy)
LCOH (Levelized cost of hydrogen)
Revenue (revenue of the HPP owner)
penalty_lifetime (total penalty)
annual_P_ptg (Mean annual power to electrolyzer to produce hydrogen)
annual_P_ptg_H2 (Mean annual power to electrolyzer from grid to produce hydrogen)
- hydesign.finance.finance_P2X_bidirectional.calculate_WACC_P2X(CAPEX_w, CAPEX_s, CAPEX_b, CAPEX_el, CAPEX_ptg, wind_WACC, solar_WACC, battery_WACC, ptg_WACC)[source]
This function returns the weighted average cost of capital after tax, using solar, wind, electrolyzer and battery WACC. First the shared costs WACC is computed by taking the mean of the WACCs across all technologies. Then the WACC after tax is calculated by taking the weighted sum by the corresponding CAPEX.
- Parameters:
CAPEX_w (CAPEX of the wind power plant)
CAPEX_s (CAPEX of the solar power plant)
CAPEX_b (CAPEX of the battery)
CAPEX_el (CAPEX of the shared electrical costs)
wind_WACC (After tax WACC for onshore WT)
solar_WACC (After tax WACC for solar PV)
battery_WACC (After tax WACC for stationary storge li-ion batteries)
ptg_WACC (After tax WACC for power to gas plant)
- Returns:
WACC_after_tax
- Return type:
WACC after tax
- hydesign.finance.finance_P2X_bidirectional.calculate_revenues_P2X_bidirectional(price_H2, price_el, df)[source]