twin_otter
TwinOtter(params)
¶
Bases: AbstractPlane
Vessel class with methods specifically designed to model the performance of the Twin Otter
https://www.vikingair.com/twin-otter-series-400/technical-description
Usage - 3.85 tonnes fuel per day Max Fuel - long-range=1.447,normal=1.15
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
params
|
dict
|
vessel parameters from the vessel config file |
required |
model_fuel(cellbox)
¶
Method to determine the rate of fuel usage in a given cell in tonnes/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 that the twin-otter 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 |