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.1.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.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vessel_performance-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 def7a9672dc2457a5e9942ffdceb006acdef558c0538f5aa18af8ad91c9c223b
MD5 3aabcdbcc9dbf1930cb56e8733965661
BLAKE2b-256 8e94f2eb18ad2b19d4f1ce59acd405dc9c5b0458593e738fdea996e6c5a04d31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vessel_performance-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa4a62f3fb110fe6655ee7dc283b52450a8e737c782cd80a998a01825f9ffb8d
MD5 5997e69f0b3ff2ddef43b69b42f60051
BLAKE2b-256 b92e194c2bb29ff94525121b85eeabdcac205e0137fe4c4cc316c9200e4505d8

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