Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
d84e843
(prep to) liberate python 3.13 (#69)
cfrontin May 12, 2025
46555fb
Merge branch 'develop' into offshore-development
cfrontin May 15, 2025
13b557d
Merge remote-tracking branch 'upstream/offshore-development' into off…
cfrontin May 15, 2025
3f816d1
Merge remote-tracking branch 'upstream/offshore-development' into off…
cfrontin May 16, 2025
6f44aa4
rename mooring design to create space for detailed mooring design
cfrontin May 23, 2025
a79ded3
Merge branch 'WISDEM:offshore-development' into offshore-development
cfrontin May 23, 2025
5e2e8f0
updated geomorphology/material data storage objects
cfrontin May 27, 2025
e12ab94
added detailed mooring design example
cfrontin May 27, 2025
8ea2b28
forgot example script
cfrontin May 27, 2025
3837c15
reorganize example
cfrontin May 27, 2025
932faec
Merge remote-tracking branch 'upstream/offshore-development' into off…
cfrontin May 27, 2025
6b64a83
Merge remote-tracking branch 'upstream/offshore-development' into off…
cfrontin May 28, 2025
1361ecc
Merge remote-tracking branch 'upstream/offshore-development' into off…
cfrontin May 30, 2025
1ed492b
Merge remote-tracking branch 'upstream/offshore-development' into off…
cfrontin Jun 2, 2025
794c1ba
Merge remote-tracking branch 'upstream/develop' into offshore-develop…
cfrontin Jun 2, 2025
ca1662e
Merge remote-tracking branch 'upstream/offshore-development' into off…
cfrontin Jun 2, 2025
c8e560e
remove spacing connection to landbosse in favor of approximation from…
jaredthomas68 Jun 10, 2025
a507c1f
Merge remote-tracking branch 'upstream/offshore-development' into off…
cfrontin Jun 10, 2025
7092b84
update wisdem wrap and onshore and offshore examples to accomodate mo…
jaredthomas68 Jun 12, 2025
1f2ee48
correct logic and which landbosse components are used
jaredthomas68 Jun 12, 2025
209b995
remove unneeded group and adjust calls from group to component
jaredthomas68 Jun 17, 2025
e657e61
run black
jaredthomas68 Jun 17, 2025
47fcf4f
more comments, and break out duplicate code into its own function
jaredthomas68 Jun 17, 2025
a487f30
add test for set_values
jaredthomas68 Jun 17, 2025
e0af264
try turning off numba jit to see if that solves the numba problem
jaredthomas68 Jun 17, 2025
0ba15e0
remove disable numba jit
jaredthomas68 Jun 17, 2025
d97b2a8
address circular import
jaredthomas68 Jun 18, 2025
5d0ea2b
pin numpy
jaredthomas68 Jun 18, 2025
0e74107
only install ard once for each test suite
jaredthomas68 Jun 18, 2025
5fe572e
pin numpy to 1.24.3
jaredthomas68 Jun 18, 2025
11f3406
pin numpy to 2.0
jaredthomas68 Jun 18, 2025
54b185e
pin numpy < 2.3
jaredthomas68 Jun 18, 2025
8b2b6a4
cap numpy at 2.3 for numba compatibility
jaredthomas68 Jun 18, 2025
88bd3c0
restrict python version to less than 3.13
jaredthomas68 Jun 18, 2025
3595653
Merge pull request #97 from jaredthomas68/bugfix
jaredthomas68 Jun 23, 2025
18f85ce
Merge remote-tracking branch 'upstream/develop' into offshore-develop…
cfrontin Jun 23, 2025
3f114bc
Merge branch 'main' into develop
cfrontin Jun 23, 2025
712563b
remove comments
cfrontin Jun 23, 2025
f6c84c9
Merge branch 'develop' into offshore-development
cfrontin Jun 23, 2025
54e1494
merge develop into feature/wisdem
jaredthomas68 Jun 23, 2025
4f07c7f
use test dependencies for optiwindnet
jaredthomas68 Jun 23, 2025
9820637
pin optiwindnet version
jaredthomas68 Jun 23, 2025
f7db0a8
Merge pull request #96 from jaredthomas68/feature/wisdem
jaredthomas68 Jun 23, 2025
3530cdb
Merge branch 'develop' into develop
cfrontin Jun 23, 2025
b034fd4
Develop (#99)
cfrontin Jun 23, 2025
d75c8e3
Merge remote-tracking branch 'upstream/develop' into develop
cfrontin Jun 23, 2025
b74e982
Merge remote-tracking branch 'upstream/develop' into offshore-develop…
cfrontin Jun 23, 2025
2b7c12c
Merge branch 'develop' into offshore-development
cfrontin Jun 23, 2025
46ce02b
Improve feature/system tests (#100)
cfrontin Jun 30, 2025
34762dc
Merge remote-tracking branch 'upstream/develop' into develop
cfrontin Jun 30, 2025
4a1684c
Merge branch 'develop' into offshore-development
cfrontin Jun 30, 2025
430de3f
Feature/wisdem upgrade (#102)
cfrontin Jul 2, 2025
0945142
Merge branch 'WISDEM:develop' into develop
cfrontin Jul 2, 2025
4cbfc6b
Merge branch 'develop' into offshore-development
cfrontin Jul 2, 2025
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
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[run]
omit =
ard/glue/prototype.py
ard/test_utils.py
ard/utils/test_utils.py
ard/farm_aero/placeholder.py

3 changes: 1 addition & 2 deletions .github/workflows/python-tests-system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
test:
strategy:
matrix:
python-version: [3.13, 3.12] # ["3.10", "3.11", "3.12", "3.13"]
python-version: [3.12] # ["3.10", "3.11", "3.12", "3.13"]
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}

Expand All @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]

- name: Install Ard
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/python-tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
test:
strategy:
matrix:
python-version: [3.13, 3.12] # ["3.10", "3.11", "3.12", "3.13"]
python-version: [3.12] # ["3.10", "3.11", "3.12", "3.13"]
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -27,7 +27,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]

- name: Install Ard
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ There can be some hardware-software mis-specification issues with WISDEM install
In the event of issues, WISDEM can be installed manually or using `conda` without issues, then `pip` installation can proceed.

```shell
mamba install wisdem=3.18.1 -y
mamba install wisdem -y
pip install -e .[dev,docs]
```

Expand Down
54 changes: 0 additions & 54 deletions ard/cost/approximate_turbine_spacing.py
Original file line number Diff line number Diff line change
@@ -1,58 +1,4 @@
import openmdao.api as om
from ard.cost.wisdem_wrap import LandBOSSE


class LandBOSSEWithSpacingApproximations(om.Group):
"""
OpenMDAO group that connects the SpacingApproximations component to the LandBOSSE component.

This group calculates the turbine spacing using the SpacingApproximations and passes it
to the LandBOSSE component for further cost estimation.
"""

def initialize(self):
"""Initialize the group and declare options."""
self.options.declare(
"modeling_options", types=dict, desc="Ard modeling options"
)

def setup(self):
"""Set up the group by adding and connecting components."""
# Add the PrimarySpacingApproximations component
self.add_subsystem(
"spacing_approximations",
SpacingApproximations(modeling_options=self.options["modeling_options"]),
promotes_inputs=["total_length_cables"],
)

# Add the LandBOSSE component
self.add_subsystem(
"landbosse",
LandBOSSE(),
promotes_inputs=[
"*",
(
"turbine_spacing_rotor_diameters",
"internal_turbine_spacing_rotor_diameters",
),
(
"row_spacing_rotor_diameters",
"internal_row_spacing_rotor_diameters",
),
],
promotes_outputs=["*"], # Expose all outputs from LandBOSSE
)

# Connect the turbine and row spacing outputs from the approximations to LandBOSSE
self.connect(
"spacing_approximations.primary_turbine_spacing_diameters",
"internal_turbine_spacing_rotor_diameters",
)

self.connect(
"spacing_approximations.secondary_turbine_spacing_diameters",
"internal_row_spacing_rotor_diameters",
)


class SpacingApproximations(om.ExplicitComponent):
Expand Down
Loading
Loading