Update K calcu.py
Browse files- K calcu.py +2 -1
K calcu.py
CHANGED
|
@@ -32,7 +32,7 @@ result_dict = {}
|
|
| 32 |
# result_dict[f"{Sub}_{type}"] = sub_dict[f"fugcoeff_{type}"]
|
| 33 |
|
| 34 |
|
| 35 |
-
|
| 36 |
def solve_for_Kp(P,Kf=8.373,Ky=1):
|
| 37 |
Fug_Coeff_List = []
|
| 38 |
component_P = find_P_of_each_sub(P,Kf,Ky)
|
|
@@ -77,6 +77,7 @@ def find_P_of_each_sub(P,Kf,Ky):
|
|
| 77 |
|
| 78 |
|
| 79 |
def KCal_Call(P):
|
|
|
|
| 80 |
for P in Prange:
|
| 81 |
Kp_called = solve_for_Kp(P)
|
| 82 |
Kp_calculated.append(Kp_called)
|
|
|
|
| 32 |
# result_dict[f"{Sub}_{type}"] = sub_dict[f"fugcoeff_{type}"]
|
| 33 |
|
| 34 |
|
| 35 |
+
|
| 36 |
def solve_for_Kp(P,Kf=8.373,Ky=1):
|
| 37 |
Fug_Coeff_List = []
|
| 38 |
component_P = find_P_of_each_sub(P,Kf,Ky)
|
|
|
|
| 77 |
|
| 78 |
|
| 79 |
def KCal_Call(P):
|
| 80 |
+
Kp_calculated = []
|
| 81 |
for P in Prange:
|
| 82 |
Kp_called = solve_for_Kp(P)
|
| 83 |
Kp_calculated.append(Kp_called)
|