-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation improvements/updates (#267)
* typographical errors * move MATLAB version note to end (not so relevant anymore) * add recent papers * add volume, issue, page to Michelen2023 * more explicit guidance on conda environments * add new/missing papers * links to webinars + companion notebooks * minor typos * how to disable docs build link check + notebooks * note mamba is an option * ignore link check for Sandia webinars pages * removed disclaimer for Windows capytaine install * fixed broken GitHub link on Releasing documentation page * fixed typo in derivative docstrings * added expanded installation instructions * Fixed markdown levels in installation instructions * minor formatting/grammar fixes * Update INSTALLATION.md Co-authored-by: Carlos A. Michelén Ströfer <cmichel@sandia.gov> * rewrote Mac install instructions, lots of cleanup * Update README.md --------- Co-authored-by: mcdevin <mcdevin@sandia.gov> Co-authored-by: Michael Devin <michaelcdevin@outlook.com> Co-authored-by: Carlos A. Michelén Ströfer <cmichel@sandia.gov>
- Loading branch information
1 parent
21c1ecc
commit 8935e9e
Showing
11 changed files
with
150 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Installation for users | ||
|
||
## Software requirements | ||
WecOptTool is supported on Windows, MacOS, and Linux. It requires Python 3.8 or higher. [Xcode](https://developer.apple.com/xcode/) may also be required on Mac. | ||
|
||
|
||
## Creating a virtual environment | ||
WecOptTool depends on many other Python packages, which can be organized into a *virtual environment*. Setting up a dedicated virtual environment allows for easier and more organized management of Python packages for your projects. The instructions below will walk you through creating a dedicated virtual environment and installing WecOptTool. | ||
|
||
Several tools exist that can both manage virtual environment and install Python pacakges. We provide instructions for two such tools: | ||
|
||
* If you are brand new to Python, or currently use Conda and want to try a much faster alternative, [click here](#installing-using-mamba) for installation instructions using **Mamba**. | ||
* If you already have Anaconda/Miniconda installed on your computer, [click here](#installing-using-conda) for instructions using **Conda**. | ||
|
||
### Installing using Mamba | ||
1. Download Miniforge3 (which contains Mamba) for your operating system [here](https://github.com/conda-forge/miniforge#download). | ||
2. Double-click on the file you just downloaded and follow the prompts on the new window to install Miniforge3. When the "Advanced Installation Options" prompt comes up, check the box next to "Add Miniforge3 to my PATH environment variable". All the other default selections should work. | ||
3. After installation completes, open a command prompt or terminal window and copy/paste the following code to confirm Mamba installed correctly. If installed correctly, the terminal should print both a Mamba and Conda version number (since Conda is used for some Mamba functions): | ||
```bash | ||
mamba --version | ||
``` | ||
4. Copy/paste the following code to create a new virtual environment named `wot`, activate the environment, and install WecOptTool and its dependencies in the environment. Feel free to replace `wot` in the first two lines with a different environment name if you would like: | ||
```bash | ||
mamba create -n wot | ||
mamba activate wot | ||
mamba install wecopttool jupyter | ||
pip install gmsh pygmsh meshio | ||
``` | ||
|
||
### Installing using Conda | ||
1. Download Miniconda3 (which contains Conda) for your operating system [here](https://docs.conda.io/projects/miniconda/en/latest/index.html). | ||
2. Double-click on the file you just downloaded and follow the prompts on the new window to install Miniconda3. When the "Advanced Installation Options" prompt comes up, check the box next to "Add Miniforge3 to my PATH environment variable". All the other default selections should work. | ||
3. After installation completes, open a command prompt or terminal window (close any command/terminal windows you had open previously) and copy/paste the following code to confirm Conda installed correctly. If installed correctly, the terminal should print a Conda version number: | ||
```bash | ||
conda --version | ||
``` | ||
4. Copy/paste the following code to create a new virtual environment named `wot`, activate the environment, and install WecOptTool and its dependencies in the environment. Feel free to replace `wot` in the third and fourth lines with a different environment name if you would like: | ||
```bash | ||
conda config --add channels conda-forge | ||
conda config --set channel_priority strict | ||
conda create -n wot | ||
conda activate wot | ||
conda install wecopttool jupyter | ||
pip install gmsh pygmsh meshio | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
References | ||
========== | ||
|
||
General resources | ||
----------------- | ||
|
||
* Companion notebooks to published papers: | ||
* `Control Co-Design of Power Take-off Systems for Wave Energy Converters using WecOptTool <https://github.com/cmichelenstrofer/IEEE_TSTE_2023>`_ (:cite:t:`Michelen2023`:) | ||
* `Incorporating empirical nonlinear efficiency into control co-optimization of a real world heaving point absorber using WECOPTTOOL <https://github.com/dtgaebe/OMAE_2023_103899>`_ (:cite:t:`Gaebele:2023wf`:) | ||
* `Control co-design and uncertainty analysis of the LUPA's PTO using WecOptTool <https://github.com/cmichelenstrofer/EWTEC_2023>`_ (:cite:t:`Strofer:2023vw`:) | ||
* Webinar recordings: | ||
* `October, 2022 <https://digitalops.sandia.gov/Mediasite/Play/b3a653193c1a4da4a4d71d9908c3ac031d?enablejsapi=1>`_ | ||
* `February, 2022 <https://digitalops.sandia.gov/Mediasite/Play/fde6b77d82f944319dc19d9c7d11d8a51d?enablejsapi=1>`_ | ||
|
||
Bibliography | ||
------------ | ||
.. bibliography:: wecopttool_refs.bib | ||
:style: unsrt | ||
|
||
Falnes2002 | ||
Michelen2023 | ||
Grasberger:2023aa | ||
Strofer:2023vw | ||
Coe2020Initial |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.