From 42e15116721b6e5fa0424113dae3599fe62aef80 Mon Sep 17 00:00:00 2001 From: Cizz22 Date: Mon, 3 Feb 2025 11:18:14 +0700 Subject: [PATCH] fix overhaul cost decay base --- src/calculation_time_constrains/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calculation_time_constrains/service.py b/src/calculation_time_constrains/service.py index 04985ec..10998ec 100644 --- a/src/calculation_time_constrains/service.py +++ b/src/calculation_time_constrains/service.py @@ -17,7 +17,7 @@ from src.overhaul_scope.service import get as get_scope from .schema import CalculationResultsRead -def get_overhaul_cost_by_time_chart(overhaul_cost: float, days: int,numEquipments:int ,decay_base: float = 1.1) -> np.ndarray: +def get_overhaul_cost_by_time_chart(overhaul_cost: float, days: int,numEquipments:int ,decay_base: float = 0.3) -> np.ndarray: if overhaul_cost < 0: raise ValueError("Overhaul cost cannot be negative") if days <= 0: