From e672a1bfc3a965af4b27523284c2647d27e70a94 Mon Sep 17 00:00:00 2001 From: nriccobo Date: Tue, 9 Jul 2024 17:02:36 -0600 Subject: [PATCH] Quick fix for #168, missing topside costs in substation system_capex --- ORBIT/phases/design/electrical_export.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ORBIT/phases/design/electrical_export.py b/ORBIT/phases/design/electrical_export.py index df0f7dcc..704d5177 100644 --- a/ORBIT/phases/design/electrical_export.py +++ b/ORBIT/phases/design/electrical_export.py @@ -195,10 +195,11 @@ def run(self): "unit_cost": self.substructure_cost, } + # TODO: cheap fix for topside unit_cost bug #168 self._outputs["offshore_substation_topside"] = { "deck_space": self.topside_deck_space, "mass": self.topside_mass, - "unit_cost": self.substation_cost, + "unit_cost": self.substation_cost + self.topside_cost, } self._outputs["num_substations"] = self.num_substations