Skip to content

Commit 799e1f1

Browse files
Thijs Lukkezentlukkezen
authored andcommitted
chore: Update example notebook
1 parent 0468a3f commit 799e1f1

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

notebooks/PileCore_multi_cpt_grouper.ipynb

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -521,12 +521,13 @@
521521
"alpha_s_sand = None\n",
522522
"\n",
523523
"# ** beta_p\n",
524-
"# Factor s used in pile tip resistance calculation as per NEN 9997-1 7.6.2.3 (h). The\n",
525-
"# value is inferred from the pile dimension properties, but can be overwritten.\n",
524+
"# Beta_p used in pile tip resistance calculation as per NEN 9997-1 7.6.2.3 (h). The\n",
525+
"#value is inferred from the pile dimension properties, but can be overwritten\n",
526526
"beta_p = None\n",
527527
"\n",
528528
"# ** pile_tip_factor_s\n",
529-
"#\n",
529+
"# Factor s used in pile tip resistance calculation as per NEN 9997-1 7.6.2.3 (h). The\n",
530+
"# value is inferred from the pile dimension properties, but can be overwritten.\n",
530531
"pile_tip_factor_s = None\n",
531532
"\n",
532533
"# ** elastic_modulus\n",
@@ -813,7 +814,7 @@
813814
"outputs": [],
814815
"source": [
815816
"# plot group load settlement for a single pile tip level\n",
816-
"multi_bearing_results.plot_load_settlement(-18);"
817+
"multi_bearing_results.plot_load_settlement(-16);"
817818
]
818819
},
819820
{
@@ -939,7 +940,7 @@
939940
"outputs": [],
940941
"source": [
941942
"# Select a CPT test-id to inspect\n",
942-
"single_cpt_result = multi_bearing_results.cpt_results[\"0908\"]"
943+
"single_cpt_result = multi_bearing_results.cpt_results[\"CPT000000200908\"]"
943944
]
944945
},
945946
{
@@ -1056,7 +1057,10 @@
10561057
"outputs": [],
10571058
"source": [
10581059
"# Get the results of the maximum net design bearing capacity (R_c_d_net) for every CPT.\n",
1059-
"result = grouper_results.max_bearing_results"
1060+
"max_result = group_result.max_bearing_results\n",
1061+
"\n",
1062+
"print(\"Maximum R_c_d_net values per pile-tip-level\")\n",
1063+
"max_result.get_results_per_cpt(column_name=\"R_c_d_net\").round(1)"
10601064
]
10611065
},
10621066
{
@@ -1065,7 +1069,7 @@
10651069
"metadata": {},
10661070
"outputs": [],
10671071
"source": [
1068-
"result.plot(hue=\"category\", pile_load_uls=pile_load_uls);"
1072+
"max_result.plot(projection=None, hue=\"category\");"
10691073
]
10701074
},
10711075
{
@@ -1074,7 +1078,7 @@
10741078
"metadata": {},
10751079
"outputs": [],
10761080
"source": [
1077-
"result.plot(projection=None);"
1081+
"max_result.plot(hue=\"category\", pile_load_uls=pile_load_uls);"
10781082
]
10791083
},
10801084
{
@@ -1133,7 +1137,7 @@
11331137
"name": "python",
11341138
"nbconvert_exporter": "python",
11351139
"pygments_lexer": "ipython3",
1136-
"version": "3.9.18"
1140+
"version": "3.11.8"
11371141
}
11381142
},
11391143
"nbformat": 4,

0 commit comments

Comments
 (0)