dtocean-hydrodynamics
This package provides the Hydrodynamics design module for the DTOcean tools. It can calculate the energy output of arrays of fixed or floating wave or tidal ocean energy converters, including the effect of interactions. It can optimise the position of the devices for maximum energy yield, constrained by the given environment.
Part of the DTOcean suite of tools.
Installation
pip install dtocean-hydrodynamics
After installation, ensure that all the necessary data files are downloaded using the following command:
dtocean-hydro init
Alternatively, if dtocean-core is installed, use:
dtocean init
Usage
Examples
Example scripts are available in the examples folder of the source code.
For tidal energy converters:
cd examples
python tidal_fixed_layout.py
For wave energy converters:
cd examples
python wave_fixed_layout.py
Command Line Tools
A graphical user interface to the WEC analysis tool is provided. This tool is a required pre-processing step for analysing the interactions of wave energy converters. To get help:
dtocean-wec -h
Alternatively, if dtocean-core is installed, the GUI can be accessed using:
dtocean hydrodynamics wec
Documentation
Video tutorials describing how to use the WEC simulator tool can be found on the Data Only Greater YouTube Channel.
Development
Development of dtocean-hydrodynamics uses the Poetry dependency manager. Poetry must be installed and available on the command line.
To install:
poetry install
After installation, ensure that all the necessary data files are downloaded using the following command:
dtocean-hydro init
Alternatively, if dtocean-core is installed, use:
dtocean init
Tests
A test suite is provided with the source code that uses pytest.
Install the testing dependencies:
poetry install --with test
Additional tests are available for the plugins to dtocean-core and
dtocean-app. Enable these tests by installing the test-extras group:
poetry install --with test --with test-extras
Run the tests:
poetry run pytest
Code quality can also be audited using the ruff and pyright tools. Install the dependencies:
poetry install --with audit
Run the audit:
poetry run ruff
poetry run pyright src
Contributing
Please see the dtocean GitHub repository for contributing guidelines.
Credits
This package was initially created as part of the EU DTOcean project by:
- Francesco Ferri at Aalborg University
- Pau Mercade Ruiz at Aalborg University
- Thomas Roc at IT Power (now ITPEnergised)
- Chris Chartrand at Sandia National Labs
- Jean-Francois Filipot at France Energies Marines
- Rui Duarte at France Energies Marines
- Mathew Topper at TECNALIA
It is now maintained by Mathew Topper at Data Only Greater.
License
Metadata
Release files for dtocean-hydrodynamics 4.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| dtocean_hydrodynamics-4.0.3-cp314-cp314-win_amd64.whl | CPython 3.14 | CPython 3.14 | Windows x86-64 | Details |
| dtocean_hydrodynamics-4.0.3-cp314-cp314-manylinux_2_39_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.39+ x86-64 | Details |
| dtocean_hydrodynamics-4.0.3-cp313-cp313-win_amd64.whl | CPython 3.13 | CPython 3.13 | Windows x86-64 | Details |
| dtocean_hydrodynamics-4.0.3-cp313-cp313-manylinux_2_39_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.39+ x86-64 | Details |
| dtocean_hydrodynamics-4.0.3-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
| dtocean_hydrodynamics-4.0.3-cp312-cp312-manylinux_2_39_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.39+ x86-64 | Details |
Total release size: 6.6 MB
Release files / dtocean_hydrodynamics-4.0.3-cp314-cp314-win_amd64.whl
| Download URL | dtocean_hydrodynamics-4.0.3-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3af8dda1c0f8850af7fa9a0886e39152b35ea339e066047de4983399da458cec
|
|
BLAKE2b-256 checksum How to use checksums |
11c8427ef4e392354f477c0a4b56e758d59fad5dfe89042e99478cf0cc4c8802
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.
Transparency logRelease files / dtocean_hydrodynamics-4.0.3-cp314-cp314-manylinux_2_39_x86_64.whl
| Download URL | dtocean_hydrodynamics-4.0.3-cp314-cp314-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 382.3 kB |
| Tags | CPython 3.14 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
8583e797d0dc17a3d4831a3ebec1cead1f6b2ec6a160acf9c3b0d03a438b7d6b
|
|
BLAKE2b-256 checksum How to use checksums |
c2da254e670774719b8453f2dd05781e95a69575528acb162f4c031b64b4c90d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.
Transparency logRelease files / dtocean_hydrodynamics-4.0.3-cp313-cp313-win_amd64.whl
| Download URL | dtocean_hydrodynamics-4.0.3-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
64882e7c0cb5522cc118e418064edf6737c560e4743ce37456a1c296bc1280ce
|
|
BLAKE2b-256 checksum How to use checksums |
79590d858fff5f6647aac4ba8f814a51311993db8761430a3e1ca1599aafcb34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.
Transparency logRelease files / dtocean_hydrodynamics-4.0.3-cp313-cp313-manylinux_2_39_x86_64.whl
| Download URL | dtocean_hydrodynamics-4.0.3-cp313-cp313-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 382.1 kB |
| Tags | CPython 3.13 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
36087cd9f9fdb042e31e4a9118adb1de8e3242838f2bf58bd264493e28921a87
|
|
BLAKE2b-256 checksum How to use checksums |
583d0d8cdbdfbf128dc28e57f50c8287171492589aa736fc15479cfb65ec90d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.
Transparency logRelease files / dtocean_hydrodynamics-4.0.3-cp312-cp312-win_amd64.whl
| Download URL | dtocean_hydrodynamics-4.0.3-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
dfe382f5ff8b78b1c9737e0578fb04a1993b7ea377bebedca5d1c96a03ed31f1
|
|
BLAKE2b-256 checksum How to use checksums |
52522125bb6ad65e536b8b39975ccb8451722bdce5b5dd2a4f0147755ef90bbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.
Transparency logRelease files / dtocean_hydrodynamics-4.0.3-cp312-cp312-manylinux_2_39_x86_64.whl
| Download URL | dtocean_hydrodynamics-4.0.3-cp312-cp312-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 382.1 kB |
| Tags | CPython 3.12 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
d00d9a07b85af66cfe03e4de7724e51d3335674b828a13ade2982623bdbf7ae9
|
|
BLAKE2b-256 checksum How to use checksums |
68491aa679d366c6a68e45f022583044355de41b9742f76a6b567ac506026fa0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.
Transparency log