ftt_core.ftt_sales_or_investments module#
Created on Thu Feb 15 09:09:50 2024
@author: Cormac Lynch & Femke Nijsse
- ftt_core.ftt_sales_or_investments.get_sales(cap, cap_dt, cap_lag, sales_or_investment_in, timescales, dt)#
Calculate new sales/investments for all FTT models (e.g. TEWI)
If capacity has grown, the difference between the new capacity and the old.
The amount of existing capacity that is depreciated (retired) as it reaches its end of life.
Capacity depreciation is based on the technology lifetime in the cost matrix. 1/lifetime is depreciated each year.
- Parameters:
cap (np.array) – Capacity (e.g. TEWK, MEWK)
cap_dt (np.array) – Capacity at the previous timestep dt
cap_lag (np.array) – Capacity at the previous year
timescales (np.array) – Average lifetime of the various technologies
dt (float) – dt is timestep: 1 / (number of timesteps).
- Returns:
investment_or_sales (np.array) – investment or sales up to and including time t
investment_or_sales_t (np.array) – investment or sales at time t
- ftt_core.ftt_sales_or_investments.get_sales_yearly(cap, cap_lag, sales_or_investment_in, timescales)#
Calculate new sales/investments for all FTT models before simulation starts (e.g. TEWI)
If capacity has grown, the difference between the new capacity and the old.
The amount of existing capacity that is depreciated (retired) as it reaches its end of life.
Capacity depreciation is based on the technology lifetime in the cost matrix. 1/lifetime is depreciated each year.
- Parameters:
cap (np.array) – capacity (e.g. TEWK, MEWK)
cap_lag (np.array) – capacity at the previous year
timescales (np.array) – the average lifetime of the various technologies
- Returns:
investment_or_sales – investment or sales up to and including time t
- Return type:
np.array