Skip to content

Commit 1e9eeae

Browse files
committed
Merge branch 'dev' of https://github.com/sandialabs/WecOptTool into pr/377
2 parents 0b611fd + 2c0ef7b commit 1e9eeae

File tree

4 files changed

+25
-7
lines changed

4 files changed

+25
-7
lines changed

docs/build_docs.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,15 @@ def build_doc(version, tag, home_branch, build):
7878
f"git checkout {home_branch}", shell=True)
7979

8080

81-
def move_pages():
82-
print(f"Moving HTML pages to {os.path.join(docs_dir, 'pages')}...")
83-
shutil.copytree(html_dir, os.path.join(docs_dir, 'pages'))
81+
def move_pages(dest_dir=None):
82+
if dest_dir is None:
83+
print(f"Moving HTML pages to {os.path.join(docs_dir, 'pages')}...")
84+
shutil.copytree(
85+
html_dir, os.path.join(docs_dir, 'pages'))
86+
else:
87+
print(f"Moving HTML pages to {os.path.join(docs_dir, 'pages', dest_dir)}...")
88+
shutil.copytree(
89+
html_dir, os.path.join(docs_dir, 'pages', dest_dir))
8490
print('Done.')
8591

8692

@@ -100,6 +106,6 @@ def move_pages():
100106
move_pages()
101107
for name, tag in versions.items():
102108
if name != home_name:
103-
build_doc(name, tag, home_branch)
104-
move_pages()
109+
build_doc(name, tag, home_branch, build)
110+
move_pages(dest_dir=name)
105111
shutil.rmtree(html_dir)

docs/source/references.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ Bibliography
2121
Grasberger:2023aa
2222
Strofer:2023vw
2323
Coe2020Initial
24-
Coe:2024aa
24+
DEVIN2024119124
25+
Coe:2024aa

docs/source/wecopttool_refs.bib

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,21 @@ @article{Bacelli2014Numerical
100100
volume = {6},
101101
year = {2014}}
102102

103+
@article{DEVIN2024119124,
104+
title = {High-dimensional control co-design of a wave energy converter with a novel pitch resonator power takeoff system},
105+
author = {Michael C. Devin and Daniel T. Gaebele and Carlos A. Michelén Ströfer and Jeff T. Grasberger and Jantzen Lee and Ryan G. Coe and Giorgio Bacelli},
106+
journal = {Ocean Engineering},
107+
volume = {312},
108+
pages = {119124},
109+
year = {2024},
110+
issn = {0029-8018},
111+
doi = {10.1016/j.oceaneng.2024.119124}}
112+
103113
@inproceedings{Coe:2024aa,
104114
address = {Blacksburg, VA},
105115
author = {Ryan G. Coe and Michael C. Devin and Carlos A. {Michel{\'e}n Str{\"o}fer} and Jantzen Lee and Giorgio Bacelli and Alicia Keow and Daniel T. Gaebele and Jeff Grasberger and Steven J. Spencer and Johannes Spinneken and Vincent S. Neary and Brek Meuris},
106116
booktitle = {15th IFAC Conference on Control Applications in Marine Systems, Robotics and Vehicles (IFAC-CAMS)},
107117
month = {September},
108118
organization = {IFAC},
109119
title = {Co-design of a wave energy converter for autonomous power},
110-
year = {2024}}
120+
year = {2024}}

examples/tutorial_4_Pioneer.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@
306306
"datafile = 'data/pioneer_empirical_data.nc'\n",
307307
"empirical_data = xr.load_dataset(datafile)\n",
308308
"\n",
309+
"omega_data = empirical_data.omega\n",
309310
"exc_coeff_data = empirical_data.exc_coeff_data_real + 1j*empirical_data.exc_coeff_data_imag\n",
310311
"Zi_data = empirical_data.Zi_data_real + 1j*empirical_data.Zi_data_imag\n",
311312
"Zi_stiffness = empirical_data.Zi_stiffness\n",

0 commit comments

Comments
 (0)