Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure tech naming in config.yaml #97

Open
trevorb1 opened this issue Jan 11, 2022 · 0 comments
Open

Restructure tech naming in config.yaml #97

trevorb1 opened this issue Jan 11, 2022 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@trevorb1
Copy link
Member

In pr #96 we clarified what are fuels and what are techs in the config.yaml file (yay!). This highlighted a bigger problem that we are repeating fuel definitions in the configuration file, which is making tracking the flow of data hard.

techs_master:
- 'BIO' # Biomass
- 'CCG' # Gas Combined Cycle
- 'CTG' # Gas Combustion Turbine
- 'COA' # Coal
- 'COC' # Coal CCS
- 'HYD' # Hydro
- 'SPV' # Solar
- 'URN' # Nuclear
- 'WND' # Wind
#'P2G' # Power to Gas
#'FCL' # Fuel Cell
# list of renewable fuels
rnw_fuels:
- 'HYD' # Hydro
- 'SPV' # Solar
- 'WND' # Wind
- 'BIO' # Biomass
# list of mining fuels
mine_fuels:
- 'COA' # Coal
- 'GAS' # Gas
- 'URN' # Nuclear
# list of variable techs
variable_techs:
- 'SPV'
- 'WND'
# list of storage technologies (In the future may have 'TNK' # Tank)
sto_techs: []
# mapping of technologies to fuels
tech_to_fuel:
'BIO': 'BIO'
'CCG': 'GAS'
'CTG': 'GAS'
'COA': 'COA'
'COC': 'COA'
'HYD': 'HYD'
'SPV': 'SPV'
'URN': 'URN'
'WND': 'WND'

Im wondering if its better to remove the mine_fuels and rnw_fuels and instead specify what technologies are renewable and consumable fuels (ie. require MIN) techs. Then we can just search through the tech_to_fuel dictionary to get the fuels?

So the master_techs dictionary would instead look something like...

PWR: 
    MIN: 
       - 'URN' # Nuclear 
       - 'CCG' # Gas Combined Cycle  
       - 'CTG' # Gas Combustion Turbine 
       - 'COA' # Coal 
       - 'COC' # Coal CCS 
    RNW: 
       - 'HYD' # Hydro  
       - 'SPV' # Solar 
       - 'WND' # Wind
       - 'BIO' # Biomass 

This may also simplify the the techDataFrame( ... ) function as well (so we arnt mixing techs and fuels quite as much)

@trevorb1 trevorb1 added enhancement New feature or request question Further information is requested labels Jan 11, 2022
@Kiel-SFU Kiel-SFU removed their assignment Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants