vessel_factory
VesselFactory
¶
Factory class to produce initialised vessel objects.
get_vessel(config)
classmethod
¶
Method to return an initialised instance of a vessel class designed for performance modelling
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
dict
|
a vessel config dictionary |
required |
Returns:
| Name | Type | Description |
|---|---|---|
vessel |
an instance of a vessel class designed for performance modelling |