{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Tutorial: Axial pile capacity calculation using Methode De Beer\n", "\n", "Axial pile capacity according to Eurocode 7 is calculated using the method by De Beer in Belgian geotechnical practice.\n", "\n", "The current software provided by BGGG-GBMS for calculations according to the base resistance method by De Beer is relatively old and doesn't lend itself to automation. A Python library for application of De Beer's method was developed and is benchmarked against the CPTEX method in this example." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## 1. Package imports\n", "\n", "A number of Python packages are imported for data manipulation, printing output in the notebook and interactive plotting (Plotly)." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import numpy as np\n", "from IPython.display import HTML\n", "import pandas as pd" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import plotly.graph_objs as go\n", "from plotly.offline import init_notebook_mode, iplot\n", "init_notebook_mode()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The actual code for executing the pile calculation according to De Beer is located in the package ```debeer```." ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "from groundhog.deepfoundations.axialcapacity.debeer import DeBeerCalculation\n", "from groundhog.general.soilprofile import SoilProfile" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## 2. Data reading\n", "\n", "The CPT data can be read from the CPTEX export using the ```read_csv``` function from Pandas. The calculation will be benchmarked against this data." ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | Diepte[m] | \n", "Maaiveld[m] | \n", "Conuswaarden[MN/m²] | \n", "Phi'[°] | \n", "C[-] | \n", "qb[MN/m²] | \n", "Unnamed: 6 | \n", "
---|---|---|---|---|---|---|---|
0 | \n", "0.0 | \n", "0.0 | \n", "0.00 | \n", "0.0 | \n", "0.0 | \n", "0.00 | \n", "NaN | \n", "
1 | \n", "0.2 | \n", "-0.2 | \n", "1.43 | \n", "35.7 | \n", "683.3 | \n", "0.40 | \n", "NaN | \n", "
2 | \n", "0.4 | \n", "-0.4 | \n", "3.23 | \n", "36.3 | \n", "771.7 | \n", "0.47 | \n", "NaN | \n", "
3 | \n", "0.6 | \n", "-0.6 | \n", "10.84 | \n", "39.9 | \n", "1726.6 | \n", "1.09 | \n", "NaN | \n", "
4 | \n", "0.8 | \n", "-0.8 | \n", "15.24 | \n", "40.2 | \n", "1820.5 | \n", "1.50 | \n", "NaN | \n", "