|
|
|
@ -1205,7 +1205,7 @@ class OptimumCostModel:
|
|
|
|
procurement_costs = [r["procurement_cost"] for r in predicted_costs]
|
|
|
|
procurement_costs = [r["procurement_cost"] for r in predicted_costs]
|
|
|
|
procurement_details = [r["procurement_details"] for r in predicted_costs]
|
|
|
|
procurement_details = [r["procurement_details"] for r in predicted_costs]
|
|
|
|
failures = [(1-r["reliability"]) for r in predicted_costs]
|
|
|
|
failures = [(1-r["reliability"]) for r in predicted_costs]
|
|
|
|
total_costs = [r['total_cost'] for r predicted_costs]
|
|
|
|
total_costs = [r['total_cost'] for r in predicted_costs]
|
|
|
|
|
|
|
|
|
|
|
|
# Pad arrays to max_interval length
|
|
|
|
# Pad arrays to max_interval length
|
|
|
|
def pad_array(arr, target_length):
|
|
|
|
def pad_array(arr, target_length):
|
|
|
|
|