Estimate waterline length (lwl) (m) from length between perpendiculars (lbp) (m).

calclwl(
  shipType,
  lbp,
  tankerBulkCarrierGCargoShipTypes = c("tanker", "general.cargo", "chemical.tanker",
    "liquified.gas.tanker", "oil.tanker", "other.tanker", "bulk.carrier"),
  roroPaxShipTypes = c("ro.ro", "passenger", "ferry.pax", "ferry.ro.pax", "cruise",
    "yacht", "cruise.ed")
)

Arguments

shipType

Ship type (vector of strings, see calcShipType). Must align with tankerBulkCarrierGCargoShipTypes and roroPaxShipTypes groupings

lbp

Length between perpendiculars (vector of numericals, m)

tankerBulkCarrierGCargoShipTypes

Ship types specified in input shipTypes to be modeled as tankers, bulk carriers and general cargo vessels (vector of strings)

roroPaxShipTypes

Ship types specified in input shipTypes to be modeled as RORO and passenger ships (vector of strings)

Value

lwl (vector of numericals, m)

Details

This method this requires ship types to be grouped. Use the tankerBulkCarrierGCargoShipTypes and roroPaxShipTypes grouping parameters to provide these ship type groupings. Any ship types not included in these groupings will be considered as miscellaneous vessels.

References

Kristensen, H. O. "Ship-Desmo-Tool." https://gitlab.gbar.dtu.dk/oceanwave3d/Ship-Desmo

Examples

calclwl(c("bulk.carrier","container.ship","cruise"), c(214.5,396,140))
#> [1] 218.79 399.96 144.90