ecalc_npv⚓︎
Net present value.
ecalc_npv(pred_data, **kwargs)
⚓︎
Net present value cost function using eCalc to calculate emmisions
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. report : list Report dates. |
{}
|
Returns:
Name | Type | Description |
---|---|---|
objective_values |
array_like
|
Objective function values (NPV) for all ensemble members. |
results_as_df(yaml_model, results, getter)
⚓︎
Extract relevant values, as well as some meta (attrs
).