reVX.least_cost_xmission.least_cost_paths.min_reinforcement_costs

min_reinforcement_costs(table)[source]

Filter table down to cheapest reinforcement per substation.

Parameters:

table (pd.DataFrame | gpd.GeoDataFrame) – Table containing costs for reinforced transmission. Must contain a gid column identifying each substation with its own unique ID and a reinforcement_cost_per_mw column with the reinforcement costs to minimize.

Returns:

pd.DataFrame | gpd.GeoDataFrame – Table with a single entry for each gid with the least reinforcement_cost_per_mw.