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

Config update 1 #11

Merged
merged 5 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
30 changes: 30 additions & 0 deletions src/isp_table_configs/6.0/capacity_factors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,33 @@ wind_high_capacity_factors:
header_rows: [7, 8, 9]
end_row: 48
column_range: "B:R"

wind_medium_capacity_factors:
sheet_name: "Capacity Factors "
header_rows: [7, 8, 9]
end_row: 48
column_range: "T:AJ"

solar_pv_capacity_factors:
sheet_name: "Capacity Factors "
header_rows: [50, 51, 52]
end_row: 91
column_range: "B:R"

solar_thermal_15hrstorage_capacity_factors:
sheet_name: "Capacity Factors "
header_rows: [50, 51, 52]
end_row: 91
column_range: "T:AJ"

offshore_wind_fixed_capacity_factors:
sheet_name: "Capacity Factors "
header_rows: [93, 94, 95]
end_row: 102
column_range: "B:R"

offshore_wind_floating_capacity_factors:
sheet_name: "Capacity Factors "
header_rows: [93, 94, 95]
end_row: 102
column_range: "T:AJ"
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
17 changes: 17 additions & 0 deletions src/isp_table_configs/6.0/generator_reliability_settings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
existing_generator_long_duration_outages:
sheet_name: "Generator Reliability Settings"
header_rows: 10
end_row: 14
column_range: "B:D"

existing_generator_outages_2023-2024:
sheet_name: "Generator Reliability Settings"
header_rows: [19, 20]
end_row: 28
column_range: "B:G"

new_entrant_outages:
sheet_name: "Generator Reliability Settings"
header_rows: [19, 20]
end_row: 40
column_range: "I:N"
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
29 changes: 29 additions & 0 deletions src/isp_table_configs/6.0/hydrogen_assumptions_other.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
hydrogen_heat_content:
sheet_name: "Other hydrogen assumptions"
header_rows: 5
end_row: 6
column_range: "B:C"

electrolysers_electricity_consumption_rate:
sheet_name: "Other hydrogen assumptions"
header_rows: 10
end_row: 11
column_range: "B:AH"

electricity_consumption_rate_adjustments_to_include_conversion_to_ammonia:
sheet_name: "Other hydrogen assumptions"
header_rows: 15
end_row: 16
column_range: "B:AH"

electrolysers_baseload:
sheet_name: "Other hydrogen assumptions"
header_rows: 21
end_row: 23
column_range: "B:C"

pem_electrolyser_technical_parameters :
sheet_name: "Other hydrogen assumptions"
header_rows: 27
end_row: 28
column_range: "B:H"
29 changes: 29 additions & 0 deletions src/isp_table_configs/6.0/hydrogen_demand_domestic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
hydrogen_demand_domestic_consultant_forecast_mapping:
sheet_name: "Hydrogen demand - Domestic"
header_rows: 9
end_row: 10
column_range: "B:E"

hydrogen_demand_domestic_progressive_change:
sheet_name: "Hydrogen demand - Domestic"
header_rows: 13
end_row: 22
column_range: "B:AI"

hydrogen_demand_domestic_step_change:
sheet_name: "Hydrogen demand - Domestic"
header_rows: 26
end_row: 35
column_range: "B:AI"

hydrogen_demand_domestic_green_energy_exports:
sheet_name: "Hydrogen demand - Domestic"
header_rows: 39
end_row: 48
column_range: "B:AI"

hydrogen_demand_domestic_electrification_alternatives_sensitivity:
sheet_name: "Hydrogen demand - Domestic"
header_rows: 52
end_row: 61
column_range: "B:AI"
35 changes: 35 additions & 0 deletions src/isp_table_configs/6.0/hydrogen_demand_export&steel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
hydrogen_demand_export&steel_consultant_forecast_mapping:
sheet_name: "Hydrogen demand_Export&Steel"
header_rows: 8
end_row: 9
column_range: "B:E"

hydrogen_demand_export&steel_progressive_change:
sheet_name: "Hydrogen demand_Export&Steel"
header_rows: 12
end_row: 13
column_range: "B:AH"

hydrogen_demand_export&steel_step_change:
sheet_name: "Hydrogen demand_Export&Steel"
header_rows: 16
end_row: 17
column_range: "B:AH"

hydrogen_demand_export&steel_green_energy_exports:
sheet_name: "Hydrogen demand_Export&Steel"
header_rows: 20
end_row: 21
column_range: "B:AH"

hydrogen_demand_for_green_steel_production:
sheet_name: "Hydrogen demand_Export&Steel"
header_rows: 27
end_row: 28
column_range: "B:AH"

electricity_demand_for_green_steel_production:
sheet_name: "Hydrogen demand_Export&Steel"
header_rows: 36
end_row: 37
column_range: "B:AH"
Empty file.
23 changes: 23 additions & 0 deletions src/isp_table_configs/6.0/hydrogen_monthly_profiles.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
hydrogen_monthly_profiles_consultant_forecast_mapping:
sheet_name: "Hydrogen monthly profiles"
header_rows: 8
end_row: 9
column_range: "B:E"

hydrogen_monthly_profiles_progressive_change:
sheet_name: "Hydrogen monthly profiles"
header_rows: 12
end_row: 24
column_range: "B:AH"

hydrogen_monthly_profiles_step_change:
sheet_name: "Hydrogen monthly profiles"
header_rows: 28
end_row: 40
column_range: "B:AH"

hydrogen_monthly_profiles_green_energy_exports:
sheet_name: "Hydrogen monthly profiles"
header_rows: 44
end_row: 56
column_range: "B:AH"
Empty file.
Empty file.
Empty file.
17 changes: 17 additions & 0 deletions src/isp_table_configs/6.0/marginal_loss_factors.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
existing_generators_marginal_loss_factors:
sheet_name: "Marginal Loss Factors"
header_rows: 8
end_row: 260
column_range: "B:C"

committed_projects_marginal_loss_factors:
sheet_name: "Marginal Loss Factors"
header_rows: 8
end_row: 35
column_range: "E:G"

new_entrants_marginal_loss_factors:
sheet_name: "Marginal Loss Factors"
header_rows: 8
end_row: 103
column_range: "I:K"
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
5 changes: 0 additions & 5 deletions src/isp_table_configs/6.0/outages.yaml

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
6 changes: 6 additions & 0 deletions src/isp_table_configs/6.0/retirement.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ retirement_costs:
header_rows: 9
end_row: 16
column_range: "H:I"

expected_closure_years:
sheet_name: "Retirement"
header_rows: 9
end_row: 460
column_range: "B:E"
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
35 changes: 35 additions & 0 deletions src/isp_table_configs/6.0/summary_mapping.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
existing_generator_summary:
sheet_name: "Summary Mapping"
header_rows: [4, 5, 6]
end_row: 258
column_range: "B:AB"

committed_generator_summary:
sheet_name: "Summary Mapping"
header_rows: [261, 262, 263]
end_row: 290
column_range: "B:AB"

anticipated_projects_summary:
sheet_name: "Summary Mapping"
header_rows: [293, 294, 295]
end_row: 311
column_range: "B:AB"

batteries_summary:
sheet_name: "Summary Mapping"
header_rows: [314, 315, 316]
end_row: 370
column_range: "B:AB"

additional_projects_summary:
sheet_name: "Summary Mapping"
header_rows: [372, 373, 374]
end_row: 387
column_range: "B:AB"

new_entrants_summary:
sheet_name: "Summary Mapping"
header_rows: [390, 391, 392]
end_row: 680
column_range: "B:AG"
Empty file.
Empty file.
5 changes: 4 additions & 1 deletion src/isp_workbook_parser/config_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,8 @@ def load_yaml(path: Path) -> dict[str, TableConfig]:
with open(path, "r") as f:
config = yaml.safe_load(f)
f.close()
tables = {name: TableConfig(name=name, **config[name]) for name in config}
if config is not None:
tables = {name: TableConfig(name=name, **config[name]) for name in config}
else:
tables = {}
return tables
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
,nick,nick-ThinkPad-T450,22.08.2024 16:10,file:///home/nick/.config/libreoffice/4;
Loading