Skip to content

npv⚓︎

Net present value.

npv(pred_data, **kwargs) ⚓︎

Net present value cost function

Parameters:

Name Type Description Default
pred_data array_like

Ensemble of predicted data.

required
**kwargs dict

Other arguments sent to the npv function

keys_opt : list Keys with economic data.

    - wop: oil price
    - wgp: gas price
    - wwp: water production cost
    - wwi: water injection cost
    - disc: discount factor
    - obj_scaling: used to scale the objective function (negative since all methods are minimizers)

report : list Report dates.

{}

Returns:

Name Type Description
objective_values ndarray

Objective function values (NPV) for all ensemble members.