Skip to content

Commit

Permalink
correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredthomas68 committed Aug 1, 2023
1 parent 3a05dcd commit aa9b428
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions hopp/eco/hydrogen_mgmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def run_equipment_platform(
ProjectManager.register_design_phase(FixedPlatformDesign)
if not ProjectManager.find_key_match("FixedPlatformInstallation"):
ProjectManager.register_install_phase(FixedPlatformInstallation)

platform_config = plant_config["platform"]

# assign site parameters
Expand All @@ -455,11 +455,11 @@ def run_equipment_platform(
if platform_config["site"]["distance"] == -1:
platform_config["site"]["distance"] = plant_config["site"]["distance"]
# assign equipment values
if platform_config["equipment"]["tech_required_area"] == -1:
platform_config["equipment"]["tech_required_area"] = topmass

if platform_config["equipment"]["tech_combined_mass"] == -1:
platform_config["equipment"]["tech_combined_mass"] = topmass
if platform_config["equipment"]["tech_required_area"] == -1:
platform_config["equipment"]["tech_required_area"] == toparea

platform = ProjectManager(platform_config)
platform.run()

Expand Down
2 changes: 1 addition & 1 deletion hopp/offshore/fixed_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def run(self):
total_cost, total_mass = calc_substructure_mass_and_cost(self.mass, self.area,
self.depth, fab_cost, design_cost, steel_cost
)

# Create an ouput dict
self._outputs['fixed_platform'] = {
"mass" : total_mass,
Expand Down

0 comments on commit aa9b428

Please sign in to comment.