Skip to content

Feedback controller design of wave energy converters (WECs)

License

Notifications You must be signed in to change notification settings

sandialabs/fbWecCntrl

Repository files navigation

fbWecCntrl

NOTE: this code is fully-functional, but not supported and users should not expect responses to issues

fbWecCntrl is a set of MATLAB functions and scripts demonstrating a causal impedance matching approach to wave energy converter (WEC) control design. The methods applied in this code are detailed in a journal paper (https://doi.org/10.1016/j.rser.2021.110791), and are a fork of code originally published on MHK-DR.

@Article{Coe2020practical,
  title = {A practical approach to wave energy modeling and control},
  journal = {Renewable and Sustainable Energy Reviews},
  volume = {142},
  pages = {110791},
  year = {2021},
  issn = {1364-0321},
  doi = {10.1016/j.rser.2021.110791},
  url = {https://www.sciencedirect.com/science/article/pii/S1364032121000861}
}

Getting started

This code has been tested on MATLAB 2020a (9.8.0.1323502) and has the following dependencies.

Dependency Website Required?
MATLAB https://www.mathworks.com/products/matlab.html yes
MATLAB Control System Toolbox https://www.mathworks.com/products/control.html yes
MATLAB Optimization Toolbox https://www.mathworks.com/products/optimization.html yes
WAFO1 https://github.com/wafo-project/wafo no
export_fig2 https://github.com/altmany/export_fig no

1WAFO is used to produce wave spectra. 2export_fig is used to produce PDFs figures.

  1. Download the fbWecCntrl software: Clone the repository or download an archive. If required, unzip the archive to a path of your choosing.

  2. Add fbWecCntrl to your MATLAB path: Add the necessary directories to your MATLAB path using the MATLAB command prompt.

    >> addpath(genpath('/path/to/fbWecCntrl'));
    >> savepath;
  3. Run the demo cases: Run the demo cases for the WaveBot and FOSWEC.

    >> demo_waveBot
    >> demo_foswec

Software License

Copyright 2020 National Technology & Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certain rights in this software.

fbWecCntrl is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

fbWecCntrl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with fbWecCntrl. If not, see https://www.gnu.org/licenses/.

About

Feedback controller design of wave energy converters (WECs)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages