cetos provides tools for analyzing vessel performance, estimating fuel consumption, and evaluating energy systems for maritime vessels. It implements methodologies from the IMO Fourth GHG Study 2020.
- Fuel Consumption Estimation: Calculate vessel fuel consumption based on IMO methodologies
- Energy System Analysis: Analyze batteries, hydrogen systems, and hybrid propulsion
- AIS Data Processing: Convert AIS data to voyage profiles
- Multiple Vessel Types: Support for various vessel types (ferries, container ships, tankers, etc.)
Install cetos using pip:
pip install cetosfrom cetos import imo
# Define vessel characteristics
vessel_data = {
"length": 39.8, # meters
"beam": 10.46, # meters
"design_speed": 13.5, # knots
"design_draft": 2.84, # meters
"double_ended": False,
"number_of_propulsion_engines": 4,
"propulsion_engine_power": 330, # kW per engine
"propulsion_engine_type": "MSD",
"propulsion_engine_age": "after_2000",
"propulsion_engine_fuel_type": "MDO",
"type": "ferry-pax",
"size": 686, # GT
}
# Define voyage profile
voyage_profile = {
"time_anchored": 10.0, # hours
"time_at_berth": 10.0, # hours
"legs_manoeuvring": [(10, 10, 6)], # (distance, speed, draft)
"legs_at_sea": [(30, 10, 6), (30, 10, 6)],
}
# Calculate fuel consumption
results = imo.calculate_fuel_consumption(vessel_data, voyage_profile)
print(f"Total fuel consumption: {results['total_fuel']} tonnes")Functions for estimating vessel fuel consumption based on IMO Fourth GHG Study 2020 methodologies.
Tools for analyzing vessel energy systems including batteries, hydrogen, and internal combustion engines.
Process AIS (Automatic Identification System) data and convert it to voyage profiles.
Additional analysis tools for vessel performance evaluation.
uv is a fast Python package installer and resolver:
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# Clone the repository
git clone https://github.com/RISE-Maritime/cetos.git
cd cetos
# Create virtual environment and install dependencies
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e ".[dev]"# Clone the repository
git clone https://github.com/RISE-Maritime/cetos.git
cd cetos
# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install in editable mode with dev dependencies
pip install -e ".[dev]"This repository includes a dev container configuration for VS Code. Simply open the repository in VS Code and select "Reopen in Container" when prompted.
pytest tests/black .
ruff check --fix .Contributions are welcome!
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
[1] IMO. Fourth IMO GHG Study 2020. International Maritime Organization.
- Issues: GitHub Issues
- Discussions: GitHub Discussions