enhancementgood first issue
Repository metrics
- Stars
- (140 stars)
- PR merge metrics
- (PR metrics pending)
Description
Feature Request
We can combine quite a bit of the cost multiplier functions (update_marginal_costs(...) and update_capital_costs(...)). Specifically, the logic that maps each generator to a state, as it needs to extract out the state label from the bus dataframe. If this logic is packaged into its own function, it may be useful later in the workflow as well :)
Suggested Solution
Here is the code that I think should be simplified.
Moreover, here is the portion that I think should be extracted into its own funtion
Additional Info
No response