Skip to main content

A design-oriented mooring system library for Python

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moorpy-1.3.0.tar.gz (158.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moorpy-1.3.0-py3-none-any.whl (157.9 kB view details)

Uploaded Python 3

File details

Details for the file moorpy-1.3.0.tar.gz.

File metadata

  • Download URL: moorpy-1.3.0.tar.gz
  • Upload date:
  • Size: 158.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for moorpy-1.3.0.tar.gz
Algorithm Hash digest
SHA256 ccef5e65a8a0f65be48e0fc39275918c318390937bf426c26a96d5fda0692256
MD5 6dc16f2ea6f90848d5574e89ce29431d
BLAKE2b-256 cd4e2064013c29bfe038405598f7e39aeec317b4e3c9a8a89aa0baab7ed4b538

See more details on using hashes here.

File details

Details for the file moorpy-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: moorpy-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 157.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for moorpy-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a6bf0f9db32fd49624471aeb152925ede383c0414db853c47069d5b3cd55b12
MD5 71e856899acf65e810e15f47f41d5490
BLAKE2b-256 3b8e0c40caa9c454454ecc0638a8186198ede04d2d9281053079cdddb76c6491

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page