From adee9265f2335c675de676e646814a4014cf96f1 Mon Sep 17 00:00:00 2001 From: Nielszee92 <63580963+Nielszee92@users.noreply.github.com> Date: Tue, 20 Aug 2024 12:06:23 +0200 Subject: [PATCH] Update robertson_cpt_interpretation.py adjusted calculation of PWP, the abs made the effective stress equal to the total stress --- .../robertson_cpt_interpretation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geolib_plus/robertson_cpt_interpretation/robertson_cpt_interpretation.py b/geolib_plus/robertson_cpt_interpretation/robertson_cpt_interpretation.py index c9d56de..103d146 100644 --- a/geolib_plus/robertson_cpt_interpretation/robertson_cpt_interpretation.py +++ b/geolib_plus/robertson_cpt_interpretation/robertson_cpt_interpretation.py @@ -386,7 +386,7 @@ def stress_calc(self): z_aux = np.min( [self.data.pwp, abs(self.data.depth_to_reference[0]) + self.data.depth[0]] ) - pwp = (z_aux - abs(self.data.depth_to_reference)) * self.data.g + pwp = (z_aux - self.data.depth_to_reference) * self.data.g # no suction is allowed pwp[pwp <= 0] = 0 # compute effective stress