calcShipType.Rd
Assigns a generalizable ship type from specific Clarkson's vessel type ship data, based on the requested methodology.
calcShipType(vesselType, method = "imo", inputTableLocation = NULL)
vesselType | Vector reflecting Clarkson's Vessel_Type field. These are the specific ship types that are to be generalized by this function |
---|---|
method | Select the methodology that should be used (i.e., which set of ship types to return):
|
inputTableLocation | File path (optional). Used to specify a
user-supplied set of ship types. If used, this table must contain a
"Vessel_Type" column and a "shipType" column, following the format of
|
shipType
, a data.table column of the general ship type,
corresponding to the input data. NA
s represent Vessel_Types not in
shipMap
(or the inputTableLocation
parameter, if that was used).
There are different sets of ship types available for use: IMO's ship types
or Starcrest's ship types. Since ship types are important for assigning
default auxiliary and boiler engine assumptions, the methodology selected
here should match with the methodology used for assigning auxiliary and
boiler loads. The IMO ship types are based on the Third GHG Study, and the
Starcrest ship types are based on the 2017 Port of Los Angeles air emissions
inventory. Alternatively, user-supplied ship types could be used by
specifying a table of ship types using the inputTableLocation
parameter.
For more information about ship type, see Section 3.3.3 of the Port Emissions Inventory Guidance.
International Maritime Organization. 2014. "Third IMO GHG study 2014 - Final report." London: International Maritime Organization.
calcShipType(vesselType = c("Fully Cellular Container","Deck Cargo Carrier","Open Hatch Carrier","Cruise Ship","LNG Carrier"))#> imoShipType #> 1: container.ship #> 2: general.cargo #> 3: bulk.carrier #> 4: cruise #> 5: liquified.gas.tankercalcShipType(vesselType = c("Fully Cellular Container","Deck Cargo Carrier","Open Hatch Carrier","Cruise Ship","LNG Carrier"),method="starcrest")#> starcrestShipType #> 1: container.ship #> 2: general.cargo #> 3: bulk.carrier #> 4: cruise #> 5: tanker