Skip to main content

MoorPy - Quasi-Static Mooring Analysis in Python

MoorPy is an open-source Python library for mooring system modeling. It is based around a quasi-static modeling approach and includes a variety of design-oriented features to support a variety of application areas. It is primarily developed at NREL and is part of the WETO Software Stack.

Humboldt

More information about MoorPy can be found in the MoorPy documentation.

Overview

MoorPy is a quasi-static mooring model and a suite of associated functions for mooring system analysis. The core model supports quasi-static analysis of moored floating systems including any arrangement of mooring lines and floating platforms. It solves the distributed position and tension of each mooring line segment using standard catenary equations. Floating platforms can be represented with linear hydrostatic characteristics. MoorPy automatically computes a floating system's equilibrium state and can be queried to identify a mooring system's nonlinear force-displacement relationships. Linearized stiffness matrices are efficiently computed using semi-analytic Jacobians. MoorPy also includes plotting functions and a library of mooring component property and cost coefficients.

MoorPy also contains reference property coefficients and utility functions for common mooring line materials and anchor types. These data and functions help with setting appropriate mechanical and cost characteristics for mooring components that are then modeled in MoorPy.

MoorPy can be used directly from Python scripts to perform mooring design and modeling tasks, or it can be coupled with other tools to compute quasi-static mooring reactions as part of a larger simulation. For example, MoorPy is used in the frequency-domain floating system simulator RAFT.

Prerequisites

  • Python 3.9 or greater
  • The following packages: NumPy, MatPlotLib, pyyaml, scipy

Installation

MoorPy is available on PyPi via:

pip install MoorPy

For an editable install that relies on the local source code, first clone the repository. Then, from the command line in the main MoorPy directory, run the following commands (with a "-e" for "editable") based on your additional needs. The "dev", "test", and "docs" flags will install necessary packages related to development, testing, or documentation (e.g., the docs flag installs "sphinx" for documentation).

General

pip install .

Development

pip install .[dev]

Testing

pip install .[test]
pre-commit install --hook-type pre-commit --hook-type pre-push

Documentation

pip install .[docs]

Citing

The MoorPy software can be cited as: M. Hall, S. Housner, S. Sirnivas, and S. Wilson. MoorPy: Quasi-Static Mooring Analysis in Python. National Renewable Energy Laboratory, 2021. https://doi.org/10.11578/dc.20210726.1.

Papers describing the theory behind MoorPy are listed in the MoorPy documentation.

Metadata

Release files for MoorPy 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MoorPy 1.3.0
File Size Uploaded
moorpy-1.3.0.tar.gz 158.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for MoorPy 1.3.0
File Interpreter ABI Platform
moorpy-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 316.2 kB

Release files / moorpy-1.3.0.tar.gz

Download URL moorpy-1.3.0.tar.gz
Size 158.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ccef5e65a8a0f65be48e0fc39275918c318390937bf426c26a96d5fda0692256
BLAKE2b-256 checksum
How to use checksums
cd4e2064013c29bfe038405598f7e39aeec317b4e3c9a8a89aa0baab7ed4b538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / moorpy-1.3.0-py3-none-any.whl

Download URL moorpy-1.3.0-py3-none-any.whl
Size 157.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a6bf0f9db32fd49624471aeb152925ede383c0414db853c47069d5b3cd55b12
BLAKE2b-256 checksum
How to use checksums
3b8e0c40caa9c454454ecc0638a8186198ede04d2d9281053079cdddb76c6491
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page