A library for calculating and analyzing vessel performance
Project description
Vessel Performance
A Python library for calculating and analyzing vessel performance metrics.
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
- API Documentation - Detailed documentation of all classes and functions
- Usage Examples - Various examples and use cases
- Contributing Guide - How to contribute to the project
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:
- Check the documentation
- Look for similar issues in the issue tracker
- Open a new issue if needed
Authors
- Shane Lee (liqiyuworks@163.com)
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
Built Distribution
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 vessel_performance-0.1.3.tar.gz.
File metadata
- Download URL: vessel_performance-0.1.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe67786b7ed632ad2a2500cee576e1ce3a352da15096164af2a4b11ab719401e
|
|
| MD5 |
9ea8a173620267f0fca47ae3b2e28055
|
|
| BLAKE2b-256 |
4ae03feac90552622e2b5d6566100128a93e88d2eeab4d6ba5599f1aeb2f9830
|
File details
Details for the file vessel_performance-0.1.3-py3-none-any.whl.
File metadata
- Download URL: vessel_performance-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
161fe080276c687864978dd4b05c82b45eb5ad238d02704ceb9879c812b4b76a
|
|
| MD5 |
71cc448c5fd7cf31f74c518285d47c49
|
|
| BLAKE2b-256 |
e6805a362df9eee06db05e25d72cf297f22cb0cec287163d762b2bb7182fd005
|