Skip to content

Commit

Permalink
deploy: 1713111
Browse files Browse the repository at this point in the history
  • Loading branch information
kmruehl committed Sep 18, 2024
0 parents commit a8d144c
Show file tree
Hide file tree
Showing 793 changed files with 62,482 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Sphinx build artefacts
*/.buildinfo
*/.doctrees/
Empty file added .nojekyll
Empty file.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# WEC-Sim Documentation

This branch is auto-generated by GitHub Actions upon pushes to the main or
dev branches. See the README.md file in the main branch for instructions
regarding building the docs locally.
Binary file added dev/_images/AdjustableRodHPTO.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/DirectDrivePorts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/GeneratorSpeedControl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/HYDPHYMODEL.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_Aeroload_Control_Submodel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_Baseline_Torque_Law.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_Body_Block_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_LogoMOREnergyLab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_LogoPolitecnicodiTorino.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_MOST_Library.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_ROSCO_Power_Curve.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_Results_Plots_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_Steady_States.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_blade_geom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_geometry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_wind_Choice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/IMAGE_workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/MECHANICALPTO.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/MagAngleOrbitalVelocity.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/MoorDyn_Graphic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/MotionConversionLib.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/Nwave.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/OSWECPHYMODEL.PNG
Binary file added dev/_images/OSWECPTOSimExample.png
Binary file added dev/_images/OSWEC_Geom.png
Binary file added dev/_images/OSWEC_Model.png
Binary file added dev/_images/OSWEC_WECSim.JPG
Binary file added dev/_images/OSWEC_WECSim_Body.jpg
Binary file added dev/_images/OSWEC_WECSim_GUI.jpg
Binary file added dev/_images/OSWEC_WECSim_GlobalRef.jpg
Binary file added dev/_images/OSWEC_heaveForces.PNG
Binary file added dev/_images/OSWEC_pitchResponse.PNG
Binary file added dev/_images/OSWEC_plotEta.PNG
Binary file added dev/_images/OSWEC_plotSpectrum.PNG
Binary file added dev/_images/OSWEC_plotWaves.PNG
Binary file added dev/_images/OSWEC_with_ptosim.png
Binary file added dev/_images/PTOSimBlock1.png
Binary file added dev/_images/PTOSimBlock1OSWEC.png
Binary file added dev/_images/PTOSimClass_diagram.png
Binary file added dev/_images/Physics.png
Binary file added dev/_images/RM3_Geom.png
Binary file added dev/_images/RM3_WECSim.JPG
Binary file added dev/_images/RM3_WECSim_Body.jpg
Binary file added dev/_images/RM3_WECSim_GUI.JPG
Binary file added dev/_images/RM3_WECSim_GlobalRef.jpg
Binary file added dev/_images/RM3_vizMarker.jpg
Binary file added dev/_images/RM3withPTOSimBlocks.png
Binary file added dev/_images/SliderandCrankMechanism.png
Binary file added dev/_images/WEC-Sim_Lib.PNG
Binary file added dev/_images/WEC-Sim_Lib_PTOSim.png
Binary file added dev/_images/WEC-Sim_Lib_bodies.PNG
Binary file added dev/_images/WEC-Sim_Lib_cable.PNG
Binary file added dev/_images/WEC-Sim_Lib_constraints.PNG
Binary file added dev/_images/WEC-Sim_Lib_frames.PNG
Binary file added dev/_images/WEC-Sim_Lib_mooring.PNG
Binary file added dev/_images/WEC-Sim_Lib_pto.PNG
Binary file added dev/_images/WEC-Sim_flowChart.png
Binary file added dev/_images/WECCCOMP_PTO_Extension.png
Binary file added dev/_images/WECSimMoorDyn.png
Binary file added dev/_images/b2b_comparison2.png
Binary file added dev/_images/body_diagram.PNG
Binary file added dev/_images/cable_diagram.PNG
Binary file added dev/_images/codeFeatures.png
Binary file added dev/_images/constraint_diagram.PNG
Binary file added dev/_images/coordinateSystem.png
Binary file added dev/_images/declutchTimeSweep.png
Binary file added dev/_images/declutching.png
Binary file added dev/_images/ellipsoid_iso_side.png
Binary file added dev/_images/extractMaskVariables.PNG
Binary file added dev/_images/gbm_iso_side.png
Binary file added dev/_images/impedance.png
Binary file added dev/_images/latchTimeSweep.png
Binary file added dev/_images/latching.png
Binary file added dev/_images/library_format.png
Binary file added dev/_images/mask_dev_body.png
Binary file added dev/_images/mask_dev_grf.png
Binary file added dev/_images/mask_user_grf.png
Binary file added dev/_images/mask_user_grf_waveOptions.png
Binary file added dev/_images/mcr_powerMatrix.png
Binary file added dev/_images/mcr_waveElev-heaveResp.png
Binary file added dev/_images/moorDynInput.png
Binary file added dev/_images/mooring_diagram.PNG
Binary file added dev/_images/mpcForce.png
Binary file added dev/_images/mpcForceChange.png
Binary file added dev/_images/mpcPos.png
Binary file added dev/_images/mpcSimulink.png
Binary file added dev/_images/mpcVel.png
Binary file added dev/_images/nlhydro_comparison4.png
Binary file added dev/_images/nonlinearEllipsoid.png
Binary file added dev/_images/nonlinearMesh.png
Binary file added dev/_images/nonlinearWEC.png
Binary file added dev/_images/numOpt_comparison.png
Binary file added dev/_images/oc6_iso_side.png
Binary file added dev/_images/oceanCurrentProfiles.png
Binary file added dev/_images/option2Schematic.jpg
Binary file added dev/_images/oswec_iso_side.png
Binary file added dev/_images/oswec_pto_sim.PNG
Binary file added dev/_images/pGainSweep.png
Binary file added dev/_images/passiveYaw_comparison.png
Binary file added dev/_images/piGainSweep.png
Binary file added dev/_images/piPTOSimulink.png
Binary file added dev/_images/pto_diagram.PNG
Binary file added dev/_images/pto_sim_lib.png
Binary file added dev/_images/reactiveWithPTOCC.png
Binary file added dev/_images/reactiveWithPTOCCPower.png
Binary file added dev/_images/reactiveWithPTOOpt.png
Binary file added dev/_images/reactiveWithPTOOptPower.png
Binary file added dev/_images/reactiveWithPTOSweep.png
Binary file added dev/_images/rectangles.png
Binary file added dev/_images/rm3_iso_side.png
Binary file added dev/_images/rm3with_pto_sim.PNG
Binary file added dev/_images/rotational_pto.PNG
Binary file added dev/_images/simulation_diagram.png
Binary file added dev/_images/sphere_freedecay_iso_side.png
Binary file added dev/_images/translational_pto.PNG
Binary file added dev/_images/wave_diagram.PNG
Binary file added dev/_images/wec_sim_header.png
Binary file added dev/_images/wecccomp_diagram.png
Binary file added dev/_images/wecccomp_iso_side.png
Binary file added dev/_images/wigley_iso_side.png
43 changes: 43 additions & 0 deletions dev/_sources/developer/advanced_features.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
.. _dev-advanced-features:

Advanced Features
=================


Added Mass
-----------

.. include:: /_include/added_mass.rst


Morison Element
---------------

.. include:: /_include/morison_element.rst

.. TO DO: add passive yaw
.. TO DO: add morison element
.. TO DO: add passive yaw
.. TO DO: add PTO-Sim
Extract Mask Variables
----------------------
The Simulink variable workspace is inaccesible in the MATLAB workspace by default.
Simulink variables can be imported to the MATLAB workspace using the block handle
of the Simulink block being probed. The block parameters can be used by developers
to programmatically set block parameters by being able to access the unique tags
that Simulink uses for a particular block parameter. This is also useful for the code
initialization of Simulink mask blocks.
The function :code:`ExtractMaskVariables()`
located in :code:`source\functions\simulink\mask`, can be used to extract the block
parameters in following steps,

* Open the pertinent Simulink model,
* Run the function with the address of the block being probed as the argument,
* Explore the :code:`mask` data structure in the MATLAB workspace.


.. figure:: /_static/images/extractMaskVariables.PNG
:width: 550pt
:figwidth: 550pt
:align: center
32 changes: 32 additions & 0 deletions dev/_sources/developer/getting_started.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.. _dev-getting-started:

Getting Started
===============

The WEC-Sim source code is hosted on `WEC-Sim's GitHub repository <https://github.com/WEC-Sim/wec-sim>`_.
Please fork the WEC-Sim repository if you plan to contribute to the WEC-Sim code.
Forking the repository allows developers to create a personal copy of the WEC-Sim repository that can be edited idependently.
For details on creating and using a fork, refer to `GitHub's forking documentation <https://help.github.com/articles/fork-a-repo/>`_.

Once you have forked the repository on GitHub, add the fork's remote, and pull the fork into your local directory::

>> git remote add <USERNAME> https://github.com/<USERNAME>/WEC-Sim.git
>> git pull <USERNAME> <branch>


Push local commits to fork on GitHub::

>> git push <USERNAME> <branch>

Pull updates from WEC-Sim origin::

>> git pull origin <branch>


.. Note::
This example defines ``origin`` as `WEC-Sim's GitHub repository <https://github.com/WEC-Sim/wec-sim>`_, and ``<USERNAME>`` as the developer's fork. Develoeprs may use whatever convention they prefer, refer to `GitHub documentation on configuring remotes <https://docs.github.com/en/github/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-for-a-fork>`_





15 changes: 15 additions & 0 deletions dev/_sources/developer/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.. _dev:

#################
Developer Manual
#################

.. toctree::
:maxdepth: 2

overview.rst
getting_started.rst
pull_requests.rst
software_tests.rst
library.rst
advanced_features.rst
Loading

0 comments on commit a8d144c

Please sign in to comment.