Power.ftt_p_dspch module#
ftt_p_dspch.py#
Power generation dispatching FTT module.
- Functions included:
- dspch
Calculate dispatching
- Power.ftt_p_dspch.calculate_load_factors_from_dispatch(data, titles)#
Calculate technology load factors from dispatch results across load bands.
Updates data[‘MEWL’] and data[‘Gen_by_lb’] in place.
- Power.ftt_p_dspch.dspch(MWDD, MEWS, MKLB, MCRT, MEWL, MWMC_lag, MMCD_lag, num_regions, num_techs, num_loadbands)#
Calculates dispatch of capacity.
The function estimates an allocation of power production between technologies and load bands.
- Parameters:
MWDD (NumPy array) – Matrix of load band tech suitability
MEWS (NumPy array) – Market shares for the current year
MKLB (NumPy array) – Capacity by load band
MCRT (NumPy array) – Curtailment of VRE (% of generation)
MEWL (NumPy array) – Load factors (%)
MWMC_lag (NumPy array) – Lagged marginal costs
MMCD_lag (NumPy array) – Lagged standard deviation of marginal costs
num_regions (int) – Number of regions
num_techs (int) – Number of technologies
num_loadbands (int) – Number of load bands
- Returns:
MSLB (NumPy array) – Shares of capacity by tech x load band
MLLB (NumPy array) – Load factors (%) by tech x load band
MES1 (NumPy array) – Upper market share limitation (1) – virtually turned off
MES2 (NumPy array) – Lower market share limitation (2)