From d071bb8f064fe7d704df54bcdac7a9c773d2829b Mon Sep 17 00:00:00 2001 From: Berk Demir <40423004+berkdemir@users.noreply.github.com> Date: Mon, 22 Feb 2021 16:51:48 +0300 Subject: [PATCH] Update core.py Load factors are handled in app.py, it is getting in and getting out of core.py without affecting the results except the "input_values". May create misunderstanding about the location of load factoring. --- core.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core.py b/core.py index bb281bf..12de228 100644 --- a/core.py +++ b/core.py @@ -10,7 +10,6 @@ def int_diagram(h_=0.35, d_2=0.03, gamma_c=1.50, gamma_s=1.15, - gamma_d=1.35, a_s1=5, a_s2=5, f_ck=40, @@ -75,7 +74,7 @@ def int_diagram(h_=0.35, y = df.eps_c[i] if d <= 0 or a_s1 < 0 or a_s2 < 0 or b_ <= 0 or gamma_c < 0 or \ - gamma_d < 0 or gamma_s < 0 or d_1 < 0 or d_2 < 0 or alpha_cc <= 0: + gamma_s < 0 or d_1 < 0 or d_2 < 0 or alpha_cc <= 0: # parameter problems returns NoneType return @@ -214,7 +213,6 @@ def int_diagram(h_=0.35, 'd_2': d_2, 'gamma_c': gamma_c, 'gamma_s': gamma_s, - 'gamma_d': gamma_d, 'a_s1': a_s1, 'a_s2': a_s2, 'f_ck': f_ck,