py-pilecore 0.7.1__tar.gz → 0.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of py-pilecore might be problematic. Click here for more details.
- {py_pilecore-0.7.1/src/py_pilecore.egg-info → py_pilecore-0.8.0}/PKG-INFO +1 -1
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/pyproject.toml +1 -1
- {py_pilecore-0.7.1 → py_pilecore-0.8.0/src/py_pilecore.egg-info}/PKG-INFO +1 -1
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/_version.py +1 -1
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/input/multi_cpt.py +54 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/LICENSE +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/README.md +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/setup.cfg +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/py_pilecore.egg-info/SOURCES.txt +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/py_pilecore.egg-info/dependency_links.txt +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/py_pilecore.egg-info/requires.txt +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/py_pilecore.egg-info/top_level.txt +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/__init__.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/api.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/__init__.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/__init__.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/geometry/__init__.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/geometry/components/__init__.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/geometry/components/common.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/geometry/components/rectangle.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/geometry/components/round.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/geometry/main.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/geometry/materials.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/main.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/type.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/exceptions.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/input/__init__.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/input/grouper_properties.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/input/soil_properties.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/plot_utils.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/results/__init__.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/results/cases_multi_cpt_results.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/results/grouper_result.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/results/load_settlement.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/results/multi_cpt_results.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/results/post_processing.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/results/result_definitions.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/results/single_cpt_results.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/results/soil_properties.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/utils.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/viewers/__init__.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/viewers/interactive_figures/__init__.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/viewers/interactive_figures/figure_cpt_group_results_versus_ptls.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/viewers/interactive_figures/figure_cpt_results_plan_view.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/viewers/interactive_figures/figure_cpt_results_versus_ptls.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/viewers/interactive_figures/utils.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/viewers/viewer_cpt_group_results.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/viewers/viewer_cpt_results.py +0 -0
- {py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/viewers/viewer_cpt_results_plan_view.py +0 -0
|
@@ -33,6 +33,9 @@ def create_multi_cpt_payload(
|
|
|
33
33
|
pile_head_level_nap: float | Literal["surface"] = "surface",
|
|
34
34
|
excavation_depth_nap: float | None = None,
|
|
35
35
|
excavation_param_t: float = 1.0,
|
|
36
|
+
excavation_stress_reduction_method: Literal["constant", "begemann"] = "constant",
|
|
37
|
+
excavation_width: float | None = None,
|
|
38
|
+
excavation_edge_distance: float | None = None,
|
|
36
39
|
individual_negative_friction_range_nap: Mapping[str, Tuple[float, float]]
|
|
37
40
|
| None = None,
|
|
38
41
|
individual_positive_friction_range_nap: Mapping[
|
|
@@ -160,6 +163,27 @@ def create_multi_cpt_payload(
|
|
|
160
163
|
excavation method.
|
|
161
164
|
|
|
162
165
|
See for more info NEN 9997-1+C2:2017 7.6.2.3.(10)(k)
|
|
166
|
+
excavation_stress_reduction_method:
|
|
167
|
+
Method used to calculate the stress reduction due to the excavation applied to the effective and total stresses.
|
|
168
|
+
Only used when `excavation_depth_nap` is different than `None`. It can be:
|
|
169
|
+
- "constant" (default): The stress reduction below the excavation is constant with depth. The stress reduction
|
|
170
|
+
is equal to the original effective stress (i.e. before the excavation) at the excavation depth.
|
|
171
|
+
- "begemann": The stress reduction below the excavation decreases with depth according to the Begemann method.
|
|
172
|
+
This method uses the elastic solution of a strip load acting on a semi-infinite homogeneous soil mass.
|
|
173
|
+
The load has a width equal to the excavation width and a magnitude equal to the original effective stress at
|
|
174
|
+
the excavation depth.
|
|
175
|
+
Regardless the method, the stress reduction applied above the excavation is equal to the original effective stress
|
|
176
|
+
at each corresponding depth.
|
|
177
|
+
excavation_width:
|
|
178
|
+
Width of the excavation [m]. Used to calculate the stress reduction due to the excavation if the Begemann method is selected.
|
|
179
|
+
In this case, it must be provided and it must be > 0.
|
|
180
|
+
excavation_edge_distance:
|
|
181
|
+
Distance from the pile centerline to the excavation edge [m]. Used to calculate the stress reduction due to the excavation if
|
|
182
|
+
the Begemann method is selected. In this case, it must be provided and it must be between 0.0 and 0.5 * excavation_width.
|
|
183
|
+
|
|
184
|
+
Note that:
|
|
185
|
+
- 0.0 means that the pile is located at the edge of the excavation.
|
|
186
|
+
- 0.5 * excavation_width means that the pile is at the center of the excavation.
|
|
163
187
|
individual_negative_friction_range_nap:
|
|
164
188
|
A dictionary, mapping ``CPTData.alias`` values to fixed negative-friction ranges.
|
|
165
189
|
For a specification of the values, see ``fixed_negative_friction_range_nap``
|
|
@@ -201,6 +225,9 @@ def create_multi_cpt_payload(
|
|
|
201
225
|
------
|
|
202
226
|
ValueError:
|
|
203
227
|
- If `excavation_depth_nap` is not None and `excavation_param_t` is None.
|
|
228
|
+
- If `excavation_stress_reduction_method` is not either 'constant' or 'begemann'.
|
|
229
|
+
- If `excavation_stress_reduction_method` is 'begemann' and `excavation_width` is None.
|
|
230
|
+
- If `excavation_stress_reduction_method` is 'begemann' and `excavation_edge_distance` is None.
|
|
204
231
|
- If both `relative_pile_load` and `pile_load_sls` are None.
|
|
205
232
|
"""
|
|
206
233
|
# Input validation
|
|
@@ -208,6 +235,21 @@ def create_multi_cpt_payload(
|
|
|
208
235
|
raise ValueError(
|
|
209
236
|
"`excavation_param_t` cannot be None when `excavation_depth_nap` is not None."
|
|
210
237
|
)
|
|
238
|
+
if excavation_stress_reduction_method not in ["constant", "begemann"]:
|
|
239
|
+
raise ValueError(
|
|
240
|
+
"`excavation_stress_reduction_method` must be either 'constant' or 'begemann'."
|
|
241
|
+
)
|
|
242
|
+
if excavation_stress_reduction_method == "begemann" and excavation_width is None:
|
|
243
|
+
raise ValueError(
|
|
244
|
+
"`excavation_width` must be provided when `excavation_stress_reduction_method` is 'begemann'."
|
|
245
|
+
)
|
|
246
|
+
if (
|
|
247
|
+
excavation_stress_reduction_method == "begemann"
|
|
248
|
+
and excavation_edge_distance is None
|
|
249
|
+
):
|
|
250
|
+
raise ValueError(
|
|
251
|
+
"`excavation_edge_distance` must be provided when `excavation_stress_reduction_method` is 'begemann'"
|
|
252
|
+
)
|
|
211
253
|
if relative_pile_load is None and pile_load_sls is None:
|
|
212
254
|
raise ValueError(
|
|
213
255
|
"Need at least a value for one of: [`relative_pile_load`, `pile_load_sls`]"
|
|
@@ -243,6 +285,18 @@ def create_multi_cpt_payload(
|
|
|
243
285
|
# Add optional properties
|
|
244
286
|
if excavation_depth_nap is not None:
|
|
245
287
|
multi_cpt_payload["excavation_depth_nap"] = excavation_depth_nap
|
|
288
|
+
|
|
289
|
+
if excavation_stress_reduction_method == "constant":
|
|
290
|
+
multi_cpt_payload["excavation_settings"] = dict(
|
|
291
|
+
stress_reduction_method="constant"
|
|
292
|
+
)
|
|
293
|
+
else:
|
|
294
|
+
multi_cpt_payload["excavation_settings"] = dict(
|
|
295
|
+
stress_reductin_method="begemann",
|
|
296
|
+
excavation_width=excavation_width,
|
|
297
|
+
excavation_edge_distance=excavation_edge_distance,
|
|
298
|
+
)
|
|
299
|
+
|
|
246
300
|
if pile_load_sls is not None:
|
|
247
301
|
multi_cpt_payload["pile_load"] = pile_load_sls
|
|
248
302
|
if apply_qc3_reduction is not None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/geometry/components/__init__.py
RENAMED
|
File without changes
|
{py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/geometry/components/common.py
RENAMED
|
File without changes
|
{py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/geometry/components/rectangle.py
RENAMED
|
File without changes
|
{py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/common/piles/geometry/components/round.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/viewers/interactive_figures/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{py_pilecore-0.7.1 → py_pilecore-0.8.0}/src/pypilecore/viewers/viewer_cpt_results_plan_view.py
RENAMED
|
File without changes
|