Source code for greenlang.calculations.ghg.scope_2.purchased_heat_or_steam

""" Scope 2 calculation method for purchased heat and steam. """
from django.utils.translation import gettext_lazy as _
from ..base.base import BaseCalculationMethod
from .forms.purchased_heat_or_steam import EnergySupplierForm


[docs] class LocationBasedMethod(BaseCalculationMethod): """Location based method"""
[docs] class MarketBasedMethod(BaseCalculationMethod): """Market based method""" @property def form_class(self): """Return form class""" return EnergySupplierForm