fix: 调整海上风电场电缆成本计算方式

This commit is contained in:
dmy
2026-01-01 13:24:44 +08:00
parent e6d98297b1
commit 41e3cf355c

View File

@@ -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: