diff --git a/core.py b/core.py
index 66a88c7..23726c1 100644
--- a/core.py
+++ b/core.py
@@ -218,7 +218,7 @@ def thunder_density(i, td, ip_a, ip_b): # 雷电流幅值密度函数
if td <= 20:
r = -(10 ** (-i / 44)) * math.log(10) * (-1 / 44) # 雷暴日20d
return r
- if td <= 40 and td>20:
+ if td>20:
r = -(10 ** (-i / 88)) * math.log(10) * (-1 / 88) # 雷暴日40d
return r
raise Exception("检查雷电参数!")
diff --git a/main.py b/main.py
index 2706c04..d400f30 100644
--- a/main.py
+++ b/main.py
@@ -150,7 +150,7 @@ def run_egm(para: Parameter) -> dict:
/ math.pi
) # 挂点处保护角
logger.info(f"挂点处保护角{shield_angle_at_avg_height:.3f}°")
- logger.debug(f"最低相防护标识{rg_type}")
+ logger.debug(f"最低相防护标识{rg_type}。(g表示地面,c表示下导线)")
rated_voltage = para.rated_voltage
for u_bar in range(voltage_n): # 计算不同工作电压下的跳闸率
if para.ac_or_dc=="AC":
diff --git a/webui/src/components/ParameterForm.vue b/webui/src/components/ParameterForm.vue
index 561c271..c769f2b 100644
--- a/webui/src/components/ParameterForm.vue
+++ b/webui/src/components/ParameterForm.vue
@@ -105,7 +105,6 @@
v-model="params.parameter.td"
type="number"
label="雷暴日 (d)"
- :disable="isTdDisabled"
>
{{ result }}
+