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
The TCT constraint hard codes in to filter over Generators and StroageUnits. This is good for electricity studies, but not good for sector studies which rely heavily on Links/Stores. For example, all natural gas generators are converted to links, making TCT not possible for this.
It would be good to extend TCT functionality to work with sector studies (as this is quite a valuable policy dimension)
Suggested Solution
I see three options:
Option 1
Manually add in filters for the missing components. ie. add the following filters to the add_technology_capacity_target_constraints(...) function for Links, Stores, ect.. :
May run into issues if multiple components use same carrier
Option 2
Iterate over all components. I can't quite remember the syntax, but something like this
for c in n.iterate_components():
filtered = filter_components(
n=n,
component_type=c.name,
planning_horizon=planning_horizon,
carrier_list=carrier_list,
region_buses=region_buses.index,
extendable=True,
)
...
Advantage
Easy to add and quite clear
No need to change existing TCT config
Disadvantage
May run into issues if multiple components use same carrier
Can lead to double definitions, as users can now specify (for example) line expansion limits here
Option 3
Update TCT configuration to specify component. For example, something like,
Feature Request
The TCT constraint hard codes in to filter over
Generators
andStroageUnits
. This is good for electricity studies, but not good for sector studies which rely heavily onLinks
/Stores
. For example, all natural gas generators are converted to links, making TCT not possible for this.It would be good to extend TCT functionality to work with sector studies (as this is quite a valuable policy dimension)
Suggested Solution
I see three options:
Option 1
Manually add in filters for the missing components. ie. add the following filters to the
add_technology_capacity_target_constraints(...)
function forLinks
,Stores
, ect.. :Advantage
Disadvantage
Option 2
Iterate over all components. I can't quite remember the syntax, but something like this
Advantage
Disadvantage
Option 3
Update TCT configuration to specify component. For example, something like,
And directly read in the component to filter in
add_technology_capacity_target_constraints()
Advantage
Disadvantage
Additional Info
@ktehranchi, do you have any thoughts. My preference is option 3
The text was updated successfully, but these errors were encountered: