Module nemo.costs.common

Costs common to all cost classes.

Classes

class Common (discount)
Expand source code
class Common:
    """Costs common to all cost classes (eg, existing hydro)."""

    def __init__(self, discount):
        """Initialise common costs.

        Derived costs can call update() on these dicts.
        """
        self.discount_rate = discount

        # bioenergy costs taken from CSIRO energy storage report for AEMO
        self.bioenergy_price_per_gj = 12
        self.diesel_price_per_litre = 1.50

        # Common capital costs
        self.capcost_per_kw = {
            tech.DemandResponse: 0,
            tech.Diesel: 0,
            tech.Hydro: 0,
            tech.PumpedHydroPump: 0,
            tech.PumpedHydroTurbine: 0}

        # Variable O&M (VOM) costs
        self.opcost_per_mwh = {
            # a reasonable estimate of diesel VOM
            tech.Diesel: 8,
            tech.Hydro: 0,
            tech.PumpedHydroPump: 0,
            tech.PumpedHydroTurbine: 0}

        # Fixed O&M (FOM) costs
        self.fixed_om_costs = {
            tech.DemandResponse: 0,
            tech.Diesel: 0,
            tech.Hydro: 0,
            tech.PumpedHydroPump: 0,
            tech.PumpedHydroTurbine: 0}

        # Storage is expressed on a total cost basis. Figures are
        # entered in the classes in $/kWh, but these are converted to
        # $/kW in capcost().
        self.totcost_per_kwh = {}

    def annuity_factor(self, lifetime):
        """Return the annuity factor for lifetime t and discount rate r."""
        rate = self.discount_rate
        return (1 - (1 / (1 + rate) ** lifetime)) / rate

Costs common to all cost classes (eg, existing hydro).

Initialise common costs.

Derived costs can call update() on these dicts.

Subclasses

Methods

def annuity_factor(self, lifetime)
Expand source code
def annuity_factor(self, lifetime):
    """Return the annuity factor for lifetime t and discount rate r."""
    rate = self.discount_rate
    return (1 - (1 / (1 + rate) ** lifetime)) / rate

Return the annuity factor for lifetime t and discount rate r.