From 41e3cf355cb80c16a265c7cd7cb9ef4267c1709c Mon Sep 17 00:00:00 2001 From: dmy Date: Thu, 1 Jan 2026 13:24:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E6=B5=B7=E4=B8=8A?= =?UTF-8?q?=E9=A3=8E=E7=94=B5=E5=9C=BA=E7=94=B5=E7=BC=86=E6=88=90=E6=9C=AC?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 82dcec2..51d1110 100644 --- a/main.py +++ b/main.py @@ -509,8 +509,8 @@ def evaluate_design(turbines, connections, substation, cable_specs=None, is_offs power = 0 # 电缆选型 - # 成本乘数:海缆材料+敷设成本通常是陆缆的4-6倍 - cost_multiplier = 5.0 if is_offshore else 1.0 + # 成本乘数:如果Excel中已包含敷设费用,则设为1.0 + cost_multiplier = 1.0 if is_offshore else 1.0 # 默认电缆规格库 (如果未提供) if cable_specs is None: