Hydrodynamics module for the DTOcean tools
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dtocean_hydrodynamics-4.0.3-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: dtocean_hydrodynamics-4.0.3-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3af8dda1c0f8850af7fa9a0886e39152b35ea339e066047de4983399da458cec
|
|
| MD5 |
c4f6f7a0d4e0c846df33229af79064c8
|
|
| BLAKE2b-256 |
11c8427ef4e392354f477c0a4b56e758d59fad5dfe89042e99478cf0cc4c8802
|
Provenance
The following attestation bundles were made for dtocean_hydrodynamics-4.0.3-cp314-cp314-win_amd64.whl:
Publisher:
release.yml on DTOcean/dtocean
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dtocean_hydrodynamics-4.0.3-cp314-cp314-win_amd64.whl -
Subject digest:
3af8dda1c0f8850af7fa9a0886e39152b35ea339e066047de4983399da458cec - Sigstore transparency entry: 1317505658
- Sigstore integration time:
-
Permalink:
DTOcean/dtocean@bf40860858b05cef715efeb2341d09589a33f1dc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/DTOcean
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf40860858b05cef715efeb2341d09589a33f1dc -
Trigger Event:
push
-
Statement type:
File details
Details for the file dtocean_hydrodynamics-4.0.3-cp314-cp314-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: dtocean_hydrodynamics-4.0.3-cp314-cp314-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 382.3 kB
- Tags: CPython 3.14, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8583e797d0dc17a3d4831a3ebec1cead1f6b2ec6a160acf9c3b0d03a438b7d6b
|
|
| MD5 |
1c0a6ac0f124da7aa5dafbb17c10bca9
|
|
| BLAKE2b-256 |
c2da254e670774719b8453f2dd05781e95a69575528acb162f4c031b64b4c90d
|
Provenance
The following attestation bundles were made for dtocean_hydrodynamics-4.0.3-cp314-cp314-manylinux_2_39_x86_64.whl:
Publisher:
release.yml on DTOcean/dtocean
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dtocean_hydrodynamics-4.0.3-cp314-cp314-manylinux_2_39_x86_64.whl -
Subject digest:
8583e797d0dc17a3d4831a3ebec1cead1f6b2ec6a160acf9c3b0d03a438b7d6b - Sigstore transparency entry: 1317505642
- Sigstore integration time:
-
Permalink:
DTOcean/dtocean@bf40860858b05cef715efeb2341d09589a33f1dc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/DTOcean
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf40860858b05cef715efeb2341d09589a33f1dc -
Trigger Event:
push
-
Statement type:
File details
Details for the file dtocean_hydrodynamics-4.0.3-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: dtocean_hydrodynamics-4.0.3-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64882e7c0cb5522cc118e418064edf6737c560e4743ce37456a1c296bc1280ce
|
|
| MD5 |
a557ac34ca31934d28eb11819811ace0
|
|
| BLAKE2b-256 |
79590d858fff5f6647aac4ba8f814a51311993db8761430a3e1ca1599aafcb34
|
Provenance
The following attestation bundles were made for dtocean_hydrodynamics-4.0.3-cp313-cp313-win_amd64.whl:
Publisher:
release.yml on DTOcean/dtocean
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dtocean_hydrodynamics-4.0.3-cp313-cp313-win_amd64.whl -
Subject digest:
64882e7c0cb5522cc118e418064edf6737c560e4743ce37456a1c296bc1280ce - Sigstore transparency entry: 1317505664
- Sigstore integration time:
-
Permalink:
DTOcean/dtocean@bf40860858b05cef715efeb2341d09589a33f1dc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/DTOcean
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf40860858b05cef715efeb2341d09589a33f1dc -
Trigger Event:
push
-
Statement type:
File details
Details for the file dtocean_hydrodynamics-4.0.3-cp313-cp313-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: dtocean_hydrodynamics-4.0.3-cp313-cp313-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 382.1 kB
- Tags: CPython 3.13, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36087cd9f9fdb042e31e4a9118adb1de8e3242838f2bf58bd264493e28921a87
|
|
| MD5 |
c59272cc42812351b74715e99897ec9b
|
|
| BLAKE2b-256 |
583d0d8cdbdfbf128dc28e57f50c8287171492589aa736fc15479cfb65ec90d2
|
Provenance
The following attestation bundles were made for dtocean_hydrodynamics-4.0.3-cp313-cp313-manylinux_2_39_x86_64.whl:
Publisher:
release.yml on DTOcean/dtocean
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dtocean_hydrodynamics-4.0.3-cp313-cp313-manylinux_2_39_x86_64.whl -
Subject digest:
36087cd9f9fdb042e31e4a9118adb1de8e3242838f2bf58bd264493e28921a87 - Sigstore transparency entry: 1317505670
- Sigstore integration time:
-
Permalink:
DTOcean/dtocean@bf40860858b05cef715efeb2341d09589a33f1dc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/DTOcean
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf40860858b05cef715efeb2341d09589a33f1dc -
Trigger Event:
push
-
Statement type:
File details
Details for the file dtocean_hydrodynamics-4.0.3-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: dtocean_hydrodynamics-4.0.3-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfe382f5ff8b78b1c9737e0578fb04a1993b7ea377bebedca5d1c96a03ed31f1
|
|
| MD5 |
141d9863eeccc69675490109d59a0a86
|
|
| BLAKE2b-256 |
52522125bb6ad65e536b8b39975ccb8451722bdce5b5dd2a4f0147755ef90bbf
|
Provenance
The following attestation bundles were made for dtocean_hydrodynamics-4.0.3-cp312-cp312-win_amd64.whl:
Publisher:
release.yml on DTOcean/dtocean
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dtocean_hydrodynamics-4.0.3-cp312-cp312-win_amd64.whl -
Subject digest:
dfe382f5ff8b78b1c9737e0578fb04a1993b7ea377bebedca5d1c96a03ed31f1 - Sigstore transparency entry: 1317505676
- Sigstore integration time:
-
Permalink:
DTOcean/dtocean@bf40860858b05cef715efeb2341d09589a33f1dc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/DTOcean
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf40860858b05cef715efeb2341d09589a33f1dc -
Trigger Event:
push
-
Statement type:
File details
Details for the file dtocean_hydrodynamics-4.0.3-cp312-cp312-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: dtocean_hydrodynamics-4.0.3-cp312-cp312-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 382.1 kB
- Tags: CPython 3.12, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d00d9a07b85af66cfe03e4de7724e51d3335674b828a13ade2982623bdbf7ae9
|
|
| MD5 |
e76e74dac7ee3adc7235f72ec920d64c
|
|
| BLAKE2b-256 |
68491aa679d366c6a68e45f022583044355de41b9742f76a6b567ac506026fa0
|
Provenance
The following attestation bundles were made for dtocean_hydrodynamics-4.0.3-cp312-cp312-manylinux_2_39_x86_64.whl:
Publisher:
release.yml on DTOcean/dtocean
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dtocean_hydrodynamics-4.0.3-cp312-cp312-manylinux_2_39_x86_64.whl -
Subject digest:
d00d9a07b85af66cfe03e4de7724e51d3335674b828a13ade2982623bdbf7ae9 - Sigstore transparency entry: 1317505651
- Sigstore integration time:
-
Permalink:
DTOcean/dtocean@bf40860858b05cef715efeb2341d09589a33f1dc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/DTOcean
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf40860858b05cef715efeb2341d09589a33f1dc -
Trigger Event:
push
-
Statement type: