onstove.Electricity.get_capacity_cost#

Electricity.get_capacity_cost(model: onstove.OnStove)[source]#

This method determines the cost of electricity for each added unit of capacity (kW). The added capacity is assumed to be the same shares as the current installed capacity (i.e. if a country uses 10% coal powered power plants and 90% natural gas, the added capacity will consist of 10% coal and 90% natural gas). The function does not return anything but assigns capacity to the capacity of the Electricity class and the capacity cost to the capacity_cost of the Electricity class.

Parameters:
model: OnStove model

Instance of the OnStove model containing the main data of the study case. See onstove.OnStove.