Skip to main content

A library for calculating and analyzing vessel performance

Project description

Vessel Performance

A Python library for calculating and analyzing vessel performance metrics.

PyPI version License: MIT

Features

  • Calculate vessel fuel efficiency
  • Analyze vessel speed and power relationships
  • Estimate vessel performance under different weather conditions
  • Generate performance reports and visualizations

Installation

You can install the package via pip:

pip install vessel-performance

Quick Start

from vessel_performance import VesselAnalyzer

# Create a vessel analyzer instance
analyzer = VesselAnalyzer()

# Calculate fuel efficiency
efficiency = analyzer.calculate_fuel_efficiency(
    fuel_consumption=100,  # tons per day
    vessel_speed=14,       # knots
    displacement=50000     # tons
)

# Analyze speed-power relationship
power_curve = analyzer.get_speed_power_curve(
    speed_range=[10, 15, 20],  # knots
    vessel_data={
        "length": 200,         # meters
        "beam": 32,           # meters
        "draft": 12           # meters
    }
)

Documentation

Advanced Usage

For more complex examples and real-world scenarios, check out our examples documentation. Here are some highlights:

  • Weather impact analysis
  • Route planning and optimization
  • Performance monitoring
  • Fuel consumption estimation

Development

To set up the development environment:

# Clone the repository
git clone https://github.com/yourusername/vessel-performance.git
cd vessel-performance

# Create and activate virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install development dependencies
pip install -e ".[dev]"

# Run tests
pytest tests/

Contributing

We welcome contributions! Please see our contributing guide for details on how to:

  • Report bugs
  • Suggest new features
  • Submit pull requests
  • Update documentation

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter any problems or have questions:

  1. Check the documentation
  2. Look for similar issues in the issue tracker
  3. Open a new issue if needed

Authors

Acknowledgments

  • Thanks to all contributors
  • Special thanks to the naval architecture community for formulas and methodologies

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

vessel_performance-0.1.4.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

vessel_performance-0.1.4-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file vessel_performance-0.1.4.tar.gz.

File metadata

  • Download URL: vessel_performance-0.1.4.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.13

File hashes

Hashes for vessel_performance-0.1.4.tar.gz
Algorithm Hash digest
SHA256 1c949a7c1872875d13bbd370574a82366c3389025cd9a4c3d81054df9608afc8
MD5 2501f0a51e62dd4b92877acd22bc9cf0
BLAKE2b-256 eab9967e50da31c5e0508c8ee061844b690ee8965c177ab1df9f13414c8ae943

See more details on using hashes here.

File details

Details for the file vessel_performance-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for vessel_performance-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cbd8a736743ae5de29385dd6923c182f63cc7570ebd65c399e867ee64dd9e3c5
MD5 b2a04b56970006b52fca07596731364b
BLAKE2b-256 0fa136a70f6c61d4add22ef9133f985026d8576a179e54b484e2d93cff52d003

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