You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just an FYI that the function generate_regional_grid_loss in eia_trans_dist_grid_loss.py has three arguments, the first being final_database described in the doc string below; however, this data frame parameter is never used; rather, a new database is created using the build_generation_data function found in eia923_generation.py module.
You may want to consider removing this requirement.
defgenerate_regional_grid_loss(final_database, year, subregion="all"):
"""This function generates transmission and distribution losses for the provided generation data and given year, aggregated by subregion. Arguments: final_database: dataframe The database containing plant-level emissions. year: int Analysis year for the transmission and distribution loss data. Ideally this should match the year of your final_database. Returns: td_by_region: dataframe A dataframe of transmission and distribution loss rates as a fraction. This dataframe can be used to generate unit processes for transmission and distribution to match the regionally- aggregated emissions unit processes. """
Found in electricityLCI version: 1.0.1
The text was updated successfully, but these errors were encountered:
This is just an FYI that the function
generate_regional_grid_loss
ineia_trans_dist_grid_loss.py
has three arguments, the first beingfinal_database
described in the doc string below; however, this data frame parameter is never used; rather, a new database is created using thebuild_generation_data
function found ineia923_generation.py
module.You may want to consider removing this requirement.
Found in electricityLCI version: 1.0.1
The text was updated successfully, but these errors were encountered: