boatymcboatface
BoatyMcBoatFace(params)
¶
Bases: AbstractALR
Vessel class with methods specifically designed to model the performance of the ALR BoatyMcBoatFace
https://projects.noc.ac.uk/oceanids/sites/oceanids/files/images/ALR1500_spec_web_04092020.jpg
Battery - 95 kWh Maximum Duration - 20 days Battery Rate - 4.75
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
params
|
dict
|
vessel parameters from the vessel config file |
required |
model_battery(cellbox)
¶
Method to determine the rate of battery usage in a given cell in Ah/day
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
cellbox
|
AggregatedCellBox
|
input cell from environmental mesh |
required |
Returns:
| Name | Type | Description |
|---|---|---|
cellbox |
AggregatedCellBox
|
updated cell with battery consumption values |
model_speed(cellbox)
¶
Method to determine the maximum speed for auto long-range sub can traverse the given cell
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
cellbox
|
AggregatedCellBox
|
input cell from environmental mesh |
required |
Returns:
| Name | Type | Description |
|---|---|---|
cellbox |
AggregatedCellBox
|
updated cell with speed values |