-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from WISDEM/develop
Trial PR to prep for the extensive integrations across all branches & OF to come
- Loading branch information
Showing
2,260 changed files
with
451,097 additions
and
367,924 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
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,4 +1,6 @@ | ||
|
||
*.pyc | ||
__pycache__ | ||
MoorPy.egg-info | ||
MoorPy.egg-info | ||
|
||
docs/build |
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,8 @@ | ||
version: 2 | ||
sphinx: | ||
configuration: docs/conf.py | ||
python: | ||
version: 3.7 | ||
install: | ||
- method: pip | ||
path: . |
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,14 @@ | ||
API | ||
=== | ||
|
||
This will provide a list of all callable functions, classes, and methods. | ||
|
||
.. automodule:: moorpy | ||
:members: | ||
:member-order: bysource | ||
|
||
another try | ||
|
||
.. autoclass:: moorpy.system.System | ||
:members: | ||
|
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,23 @@ | ||
Getting Started | ||
=============== | ||
|
||
|
||
Prerequisites | ||
^^^^^^^^^^^^^ | ||
|
||
- Python 3 | ||
- The following Python packages: NumPy, MatPlotLib, yaml, scipy | ||
|
||
Installation | ||
^^^^^^^^^^^^ | ||
|
||
Clone the `MoorPy repository <https://github.com/NREL/MoorPy>`. | ||
|
||
To install for development use: | ||
|
||
run ```python setup.py develop``` or ```pip install -e .``` from the command line in the main MoorPy directory. | ||
|
||
To install for non-development use: | ||
|
||
run ```python setup.py``` or ```pip install .``` from the command line in the main MoorPy directory. | ||
|
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,44 @@ | ||
Model Structure | ||
=============== | ||
|
||
|
||
MoorPy Objects | ||
--------------- | ||
|
||
MoorPy organizes a mooring system into objects following a very similar approach as `MoorDyn <http://moordyn.readthedocs.io>`_. | ||
Currently it supports three objects--Lines, Points, and Bodies--which are described below. Rod objects may be added later. | ||
|
||
Lines | ||
^^^^^ | ||
|
||
MoorPy uses a quasi-static catenary model to calculate the profile and tensions in a uniform length of a mooring line. | ||
Any given Line has constant/uniform properties of unstretched length, diameter, density, and Young's modulus. | ||
Different Lines can have different | ||
sets of properties, and they can be connected together at the ends, enabling mooring systems with interconnected lines | ||
or with line assemblies featuring step changes in properties. | ||
|
||
|
||
|
||
Points | ||
^^^^^^ | ||
.. _points: | ||
|
||
The ends of each mooring line are defined by Point objects. There are three types: | ||
|
||
- 1: Fixed nodes have a certain location and never move. They can be used as anchor points. OR attached to a platform for platform-centric coupling | ||
- -1: Coupled nodes can move under the control of an outside program. They can be used as fairlead connections. | ||
- 0: Free nodes are not fixed in space but rather are moved according to the forces acting on them. | ||
|
||
Points can be used to connect two or more mooring lines together. The forces they experience can include the forces from the attached | ||
mooring lines as well as their own weight and buoyancy forces. | ||
|
||
|
||
Bodies | ||
^^^^^^ | ||
|
||
Body objects provide a generic 6 DOF rigid-body representation based on a lumped-parameter model of translational | ||
and rotational properties. Point objects can be added to Bodies at any location to facilitate the attachment of | ||
mooring lines. Bodies are most commonly used to represent a floating platform. For this application, bodies can be | ||
given hydrostatic properties through waterplane-area and metacenter-location parameters.Bodies can also have external | ||
constant forces and moments applied to them. In this way, a Body can represent the complete linear hydrostatic behavior | ||
of a floating platform including a wind turbine's steady thrust force. |
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,7 @@ | ||
.. _theory: | ||
|
||
Theory and References | ||
===================== | ||
|
||
The theory behind MoorPy is in the process of being written up and published. | ||
Please check back later or contact us if in need of a specific clarification. |
Oops, something went wrong.