vehicle/running/costs/wlc

Brings various whole life cost components

Source:

Methods

(inner) calculate(skv_config) → {struct}

Source:

overall wlc calculation

Parameters:
Name Type Description
skv_config struct
Returns:
Type
struct

(inner) changeStringToKey(str_component_name) → {string}

Source:

change a component name in to a valid key format to return => convert component name to lowercase and spaces for underscores

Parameters:
Name Type Description
str_component_name string
Returns:
Type
string

(inner) checkIncludeComponents(value)

Source:

check should calculate is specifies a list of components to calculate

Parameters:
Name Type Description
value any

(inner) checkRequiredKeys() → {struct}

Source:
Returns:
Type
struct

(inner) combineComponents(skv_config) → {struct}

Source:

bring together individual components to form a wlc calculation

Parameters:
Name Type Description
skv_config struct
Returns:
Type
struct