ruspy.model_code.cost_functions.cubic_costs_dev

ruspy.model_code.cost_functions.cubic_costs_dev(num_states, scale)[source]

Calculating for each state the derivative of the cubic maintenance cost function.

Parameters
num_statespython:int

The size of the state space.

scalenumpy.float

see Scale

Returns
devnumpy.ndarray

A num_states x 3 dimensional numpy array containing the derivative of the cubic maintenance cost function for each state.