21 lines
837 B
Python
21 lines
837 B
Python
![]() |
import Self_defined_functions
|
||
|
import math
|
||
|
#------------------------------------------------------------------------------------------------------------------------------------
|
||
|
def ATTransformer_DiffProtection(K_k, n_ylmax, I_eT, n_CT):
|
||
|
# 该函数适用于以下定值的计算:
|
||
|
# AT变压器差动差动速断电流与比率制动电流
|
||
|
# 检测一下数据输入类型
|
||
|
for name, value in locals().items():
|
||
|
Self_defined_functions.check_input(value)
|
||
|
I_sd = K_k * (2 * n_ylmax * I_eT) / n_CT
|
||
|
I_dz = 0.5 * I_eT / n_CT
|
||
|
I_zd1 = I_eT / n_CT
|
||
|
I_zd2 = 3 * I_eT / n_CT
|
||
|
return I_sd, I_dz, I_zd1, I_zd2
|
||
|
|
||
|
def ATTransformer_OvrCrrntProtection(I_eT, n_CT):
|
||
|
for name, value in locals().items():
|
||
|
Self_defined_functions.check_input(value)
|
||
|
I_ovrCrrnt = 2.5 * I_eT / n_CT
|
||
|
return I_ovrCrrnt
|