|
|
|
|
@ -125,7 +125,7 @@ def calculate_asset_eaf_contributions(plant_result, eq_results, standard_scope,
|
|
|
|
|
# Define realistic thresholds
|
|
|
|
|
MIN_BIRNBAUM_IMPORTANCE = 0.0005 # Filter out components with very low impact
|
|
|
|
|
REALISTIC_MAX_AVAILABILITY = 0.995 # 99.5% practical maximum
|
|
|
|
|
MIN_IMPROVEMENT_PERCENT = 0.05 # Minimum improvement to consider (0.5%)
|
|
|
|
|
MIN_IMPROVEMENT_PERCENT = 0.005 # Minimum improvement to consider (0.5%)
|
|
|
|
|
min_improvement_fraction = MIN_IMPROVEMENT_PERCENT / 100.0
|
|
|
|
|
|
|
|
|
|
for asset in eq_results:
|
|
|
|
|
@ -140,7 +140,7 @@ def calculate_asset_eaf_contributions(plant_result, eq_results, standard_scope,
|
|
|
|
|
current_availability = asset.get('availability')
|
|
|
|
|
|
|
|
|
|
# Calculate required improvement
|
|
|
|
|
required_impr = 0.1 * birnbaum
|
|
|
|
|
required_impr = 0.005 * birnbaum
|
|
|
|
|
|
|
|
|
|
# # CHECK FILTERS - Is this asset worth considering?
|
|
|
|
|
# filter_reason = None
|
|
|
|
|
|