# WecOptTool **Repository Path**: hui_yin_zhang/WecOptTool ## Basic Information - **Project Name**: WecOptTool - **Description**: No description available - **Primary Language**: Python - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-21 - **Last Updated**: 2022-11-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Test-WecOptTool](https://github.com/SNL-WaterPower/WecOptTool/actions/workflows/push.yml/badge.svg)](https://github.com/SNL-WaterPower/WecOptTool/actions/workflows/push.yml) [![Coverage Status](https://coveralls.io/repos/github/SNL-WaterPower/WecOptTool/badge.svg?branch=main)](https://coveralls.io/github/SNL-WaterPower/WecOptTool?branch=main) # WecOptTool The Wave Energy Converter Design Optimization Toolbox (WecOptTool) allows users to perform wave energy converter (WEC) device design optimization studies with constrained optimal control. **NOTE:** If you are looking for the WecOptTool code used in previous published work (MATLAB version) please see [WecOptTool-MATLAB](https://github.com/SNL-WaterPower/WecOptTool-MATLAB). ## Project Information Refer to [WecOptTool documentation](https://snl-waterpower.github.io/WecOptTool/) for more information, including project overview, tutorials, theory, and API documentation. ## Getting started WecOptTool requires Python >= 3.8. Python 3.9 & 3.10 are supported. It is strongly recommended you create a dedicated virtual environment (e.g., using `conda`, `venv`, etc.) before installing `wecopttool`. **Option 1** - using `Conda`: ```bash conda install -c conda-forge wecopttool pip install gmsh pygmsh ``` **Option 2** - using `pip` (requires Fortran compilers on your system): ```bash pip install wecopttool ``` This approach is not recommended for *Windows* users since compiling `capytaine` on *Windows* requires [extra steps](https://github.com/capytaine/capytaine/issues/115). ## Tutorials The tutorials can be found in the `examples` directory and are written as [Jupyter Notebooks](https://jupyter.org/). To run the tutorials, first download the notebook files and then, from the directory containing the notebooks, run `jupyter notebook`. Using `git` to obtain the notebooks this can be done by running ```bash git clone https://github.com/SNL-WaterPower/WecOptTool.git cd WecOptTool/examples jupyter notebook ``` ## Getting help To report bugs, use WecOptTool's [issues page](https://github.com/SNL-WaterPower/WecOptTool/issues). For general discussion, use WecOptTool's [discussion page](https://github.com/SNL-WaterPower/WecOptTool/discussions) ## Contributing If your interested in contributing to WecOptTool see our [contribution guidelines](https://github.com/SNL-WaterPower/WecOptTool/blob/main/.github/CONTRIBUTING.md).