py-pilecore 1.0.4__tar.gz → 1.1.1__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.

Files changed (54) hide show
  1. {py_pilecore-1.0.4/src/py_pilecore.egg-info → py_pilecore-1.1.1}/PKG-INFO +1 -1
  2. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/pyproject.toml +1 -1
  3. {py_pilecore-1.0.4 → py_pilecore-1.1.1/src/py_pilecore.egg-info}/PKG-INFO +1 -1
  4. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/_version.py +1 -1
  5. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/common/piles/main.py +2 -0
  6. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/input/tension.py +49 -0
  7. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/LICENSE +0 -0
  8. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/README.md +0 -0
  9. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/setup.cfg +0 -0
  10. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/py_pilecore.egg-info/SOURCES.txt +0 -0
  11. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/py_pilecore.egg-info/dependency_links.txt +0 -0
  12. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/py_pilecore.egg-info/requires.txt +0 -0
  13. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/py_pilecore.egg-info/top_level.txt +0 -0
  14. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/__init__.py +0 -0
  15. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/api.py +0 -0
  16. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/common/__init__.py +0 -0
  17. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/common/piles/__init__.py +0 -0
  18. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/common/piles/geometry/__init__.py +0 -0
  19. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/common/piles/geometry/components/__init__.py +0 -0
  20. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/common/piles/geometry/components/common.py +0 -0
  21. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/common/piles/geometry/components/rectangle.py +0 -0
  22. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/common/piles/geometry/components/round.py +0 -0
  23. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/common/piles/geometry/main.py +0 -0
  24. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/common/piles/geometry/materials.py +0 -0
  25. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/common/piles/grid.py +0 -0
  26. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/common/piles/type.py +0 -0
  27. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/exceptions.py +0 -0
  28. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/input/__init__.py +0 -0
  29. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/input/grouper_properties.py +0 -0
  30. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/input/multi_cpt.py +0 -0
  31. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/input/soil_properties.py +0 -0
  32. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/plot_utils.py +0 -0
  33. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/results/__init__.py +0 -0
  34. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/results/cases_multi_cpt_results.py +0 -0
  35. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/results/compression/multi_cpt_results.py +0 -0
  36. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/results/compression/single_cpt_results.py +0 -0
  37. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/results/grouper_result.py +0 -0
  38. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/results/load_settlement.py +0 -0
  39. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/results/post_processing.py +0 -0
  40. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/results/result_definitions.py +0 -0
  41. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/results/soil_properties.py +0 -0
  42. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/results/tension/multi_cpt_results.py +0 -0
  43. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/results/tension/single_cpt_results.py +0 -0
  44. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/results/typing.py +0 -0
  45. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/utils.py +0 -0
  46. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/viewers/__init__.py +0 -0
  47. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/viewers/interactive_figures/__init__.py +0 -0
  48. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/viewers/interactive_figures/figure_cpt_group_results_versus_ptls.py +0 -0
  49. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/viewers/interactive_figures/figure_cpt_results_plan_view.py +0 -0
  50. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/viewers/interactive_figures/figure_cpt_results_versus_ptls.py +0 -0
  51. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/viewers/interactive_figures/utils.py +0 -0
  52. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/viewers/viewer_cpt_group_results.py +0 -0
  53. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/viewers/viewer_cpt_results.py +0 -0
  54. {py_pilecore-1.0.4 → py_pilecore-1.1.1}/src/pypilecore/viewers/viewer_cpt_results_plan_view.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: py-pilecore
3
- Version: 1.0.4
3
+ Version: 1.1.1
4
4
  Summary: Public python SDK for the CEMS PileCore web-API.
5
5
  License: MIT License
6
6
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "py-pilecore"
7
- version = "1.0.4"
7
+ version = "1.1.1"
8
8
  description = "Public python SDK for the CEMS PileCore web-API."
9
9
  requires-python = ">=3.11"
10
10
  dependencies = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: py-pilecore
3
- Version: 1.0.4
3
+ Version: 1.1.1
4
4
  Summary: Public python SDK for the CEMS PileCore web-API.
5
5
  License: MIT License
6
6
 
@@ -4,4 +4,4 @@ try:
4
4
  __version__ = version("py-pilecore")
5
5
  # during CI
6
6
  except PackageNotFoundError:
7
- __version__ = "1.0.4"
7
+ __version__ = "1.1.1"
@@ -145,6 +145,8 @@ def create_basic_pile(
145
145
  height_base :
146
146
  The height [m] of the base component, by default None.
147
147
  Required if base dimensions are provided.
148
+ Note: When standard is CUR236, `height_base` should be None, making the
149
+ shaft dimensions equal to the base dimensions.
148
150
  core_secondary_dimension :
149
151
  The largest dimension [m] of the rectangular core component's cross-section, by default None.
150
152
  Required for rectangular piles.
@@ -25,6 +25,9 @@ def create_multi_cpt_payload(
25
25
  top_of_tension_zone_nap: float | None = None,
26
26
  individual_top_of_tension_zone_nap: Mapping[Any, float] | None = None,
27
27
  excavation_param_t: float = 1.0,
28
+ excavation_stress_reduction_method: Literal["constant", "begemann"] = "constant",
29
+ excavation_width: float | None = None,
30
+ excavation_edge_distance: float | None = None,
28
31
  individual_ocr: Mapping[str, float] | None = None,
29
32
  overrule_xi: float | None = None,
30
33
  gamma_f_nk: float = 1.0,
@@ -102,6 +105,21 @@ def create_multi_cpt_payload(
102
105
  - Literal["surface"] (default).
103
106
  In this case, the soil_properties.service_level
104
107
  property is used.
108
+ top_of_tension_zone_nap:
109
+ The level [w.r.t. NAP] of the top of the tension zone from which the uplift capacity
110
+ (tension) is calculated. If None, the top of the tension zone is set to the `pile_head_level_nap`.
111
+ Note that PileCore will automatically apply the remarks regarding L;a in CUR236 6.1.1. if
112
+ this standard is selected.
113
+ individual_top_of_tension_zone_nap:
114
+ A dictionary, mapping specific CPTs (using the `CPTData.alias`` as keys) to `top_of_tension_zone_nap`
115
+ (as values). This will overrule the general `top_of_tension_zone_nap` setting for these specific
116
+ CPTs only.
117
+ Example: {"S03": 1.5}
118
+ individual_ocr:
119
+ A dictionary, mapping specific CPTs (using the `CPTData.alias`` as keys) to Over-Consolidation-Ratio [-]
120
+ of the foundation layer (as values). This will overrule the general `ocr` setting for
121
+ these specific CPTs only.
122
+ Example: {"S03": 1.5}
105
123
  excavation_depth_nap:
106
124
  Soil excavation depth after the CPT was taken. Unit: [m] w.r.t. NAP.
107
125
  excavation_param_t:
@@ -111,6 +129,27 @@ def create_multi_cpt_payload(
111
129
  excavation method.
112
130
 
113
131
  See for more info NEN 9997-1+C2:2017 7.6.2.3.(10)(k)
132
+ excavation_stress_reduction_method:
133
+ Method used to calculate the stress reduction due to the excavation applied to the effective and total stresses.
134
+ Only used when `excavation_depth_nap` is different than `None`. It can be:
135
+ - "constant" (default): The stress reduction below the excavation is constant with depth. The stress reduction
136
+ is equal to the original effective stress (i.e. before the excavation) at the excavation depth.
137
+ - "begemann": The stress reduction below the excavation decreases with depth according to the Begemann method.
138
+ This method uses the elastic solution of a strip load acting on a semi-infinite homogeneous soil mass.
139
+ The load has a width equal to the excavation width and a magnitude equal to the original effective stress at
140
+ the excavation depth.
141
+ Regardless the method, the stress reduction applied above the excavation is equal to the original effective stress
142
+ at each corresponding depth.
143
+ excavation_width:
144
+ Width of the excavation [m]. Used to calculate the stress reduction due to the excavation if the Begemann method is selected.
145
+ In this case, it must be provided and it must be > 0.
146
+ excavation_edge_distance:
147
+ Distance from the pile centerline to the excavation edge [m]. Used to calculate the stress reduction due to the excavation if
148
+ the Begemann method is selected. In this case, it must be provided and it must be between 0.0 and 0.5 * excavation_width.
149
+
150
+ Note that:
151
+ - 0.0 means that the pile is located at the edge of the excavation.
152
+ - 0.5 * excavation_width means that the pile is at the center of the excavation.
114
153
  overrule_xi:
115
154
  Set a fixed value for xi in all calculations. Use with caution. This will
116
155
  overrule the calculation of xi-values based on the group-size, variation-
@@ -219,6 +258,16 @@ def create_multi_cpt_payload(
219
258
  # Add optional properties
220
259
  if excavation_depth_nap is not None:
221
260
  multi_cpt_payload["excavation_depth_nap"] = excavation_depth_nap
261
+ if excavation_stress_reduction_method == "constant":
262
+ multi_cpt_payload["excavation_settings"] = dict(
263
+ stress_reduction_method="constant"
264
+ )
265
+ else:
266
+ multi_cpt_payload["excavation_settings"] = dict(
267
+ stress_reductin_method="begemann",
268
+ excavation_width=excavation_width,
269
+ excavation_edge_distance=excavation_edge_distance,
270
+ )
222
271
  if overrule_xi is not None:
223
272
  multi_cpt_payload["overrule_xi"] = overrule_xi
224
273
  if pile_grid is not None:
File without changes
File without changes
File without changes