Skip to content

Commit

Permalink
Fixed typos in electrical_export and updated common_cost.
Browse files Browse the repository at this point in the history
  • Loading branch information
nRiccobo committed Jul 9, 2024
1 parent 158cf1b commit a64980f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions ORBIT/core/defaults/common_costs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,19 @@ substation_design:
oss_substructure_cost_rate: 3000 # USD/t
oss_pile_cost_rate: 0 # USD/t

# Onshore substation component cost rates
onshore_substation_design:
shunt_unit_cost: 1.3e4 # USD/cable
switchgear_cost: 9.33e6 # USD/cable
compensation_rate: 31.3e6 # USD/cable
onshore_converter_cost: # USD
HVAC: 0
HVDC-monopole: 157e6
HVDC-bipole: 350e6
onshore_construction_rate: # USD
HVAC: 5e6
HVDC-monopole: 87.3e6
HVDC-bipole: 100e6

# Semisubmersible component cost rates
semisubmersible_design:
Expand Down
4 changes: 2 additions & 2 deletions ORBIT/phases/design/electrical_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ def calc_onshore_cost(self):
raise KeyError(f"{_key} not found in common_costs.")

if isinstance(_converter_cost, dict):
_converter_cost = _converter_cost[self.cable_type.cable]
_converter_cost = _converter_cost[self.cable.cable_type]

_key = "onshore_construction_rate"
if (
Expand All @@ -753,7 +753,7 @@ def calc_onshore_cost(self):
raise KeyError(f"{_key} not found in common_costs.")

if isinstance(_construction_rate, dict):
_construction_rate = _construction_rate[self.cable_type.cable]
_construction_rate = _construction_rate[self.cable.cable_type]

if self.cable.cable_type == "HVDC-monopole":
self.onshore_converter_cost = (
Expand Down

0 comments on commit a64980f

Please sign in to comment.