Skip to content

Generalize the call of the get_lcoe method inside calculate_off_grid_lcoes #134

Description

@camiloramirezgo

In the calculate_off_grid_lcoes method there is an explicit call for the get_lcoe method of each technology. There is a need of generalizing this call to make it easy to loop through any number of technologies.

Activity

  1. camiloramirezgo commented on Aug 20, 2021

    @camiloramirezgo
    CollaboratorAuthor

    To do this we had to create a name property inside the Technology class which will replace the standard names of the technologies defined on the onsset.py file:

    onsset/onsset/onsset.py

    Lines 46 to 52 in bd634a2

    SET_LCOE_GRID = 'Grid' # All LCOE's in USD/kWh
    SET_LCOE_SA_PV = 'SA_PV'
    SET_LCOE_SA_DIESEL = 'SA_Diesel'
    SET_LCOE_MG_WIND = 'MG_Wind'
    SET_LCOE_MG_DIESEL = 'MG_Diesel'
    SET_LCOE_MG_PV = 'MG_PV'
    SET_LCOE_MG_HYDRO = 'MG_Hydro'

    This name needs to be passed when creating the Technology, so it will need to be read from the configuration files. The names need still to be standard as these are the values used to create the dataframe columns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions