Skip to content

Commit

Permalink
Greenheart (NREL#259)
Browse files Browse the repository at this point in the history
* create place for greenheart

* boundary distance test correct

* add electrolyzer as dependency

* add electrolyzer as dependency

* add test for spacing component

* make openmdao a requirement

* include testing inputs

* get initial electrolyzer rating from input config dict

* create hopp structure for greenheart

* move hopp_tools_test.py to greenheart test directory

* include greenheart init files and additional test input files

---------

Co-authored-by: Chris Bay <[email protected]>
  • Loading branch information
jaredthomas68 and bayc committed Feb 15, 2024
1 parent 1468d5d commit 9716f4d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion greenheart/simulation/technologies/offshore/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from greenheart.simulation.technologies.offshore.fixed_platform import FixedPlatformDesign, FixedPlatformInstallation
from greenheart.simulation.technologies.offshore.floating_platform import FloatingPlatformDesign, FloatingPlatformInstallation
from greenheart.simulation.technologies.offshore.floating_platform import FloatingPlatformDesign, FloatingPlatformInstallation
1 change: 0 additions & 1 deletion greenheart/tools/optimization/openmdao.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def compute(self, inputs, outputs):

# get polygon for boundary
boundary_polygon = Polygon(hi.system.site.vertices)

# check if turbines are inside polygon and get distance
for i in range(0, self.n_distances):
point = Point(inputs["turbine_x"][i], inputs["turbine_y"][i])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ config:
wind:
skip_financial: true
cost_info:
wind_installed_cost_mw: 3526000 # based on 2023 ATB moderate case for offshore wind
wind_installed_cost_mw: 3526000 # based on 2023 ATB moderate case for offshore wind

0 comments on commit 9716f4d

Please sign in to comment.