py-pilecore 1.0.4__py3-none-any.whl → 1.1.0__py3-none-any.whl

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: py-pilecore
3
- Version: 1.0.4
3
+ Version: 1.1.0
4
4
  Summary: Public python SDK for the CEMS PileCore web-API.
5
5
  License: MIT License
6
6
 
@@ -1,6 +1,6 @@
1
- py_pilecore-1.0.4.dist-info/licenses/LICENSE,sha256=3OCAZXffN0Bettjeya8uF_ZYegyvvCfH1WUt6CrHb_0,1061
1
+ py_pilecore-1.1.0.dist-info/licenses/LICENSE,sha256=3OCAZXffN0Bettjeya8uF_ZYegyvvCfH1WUt6CrHb_0,1061
2
2
  pypilecore/__init__.py,sha256=oJvwYShj_7FyNVlUgQda4tTdYyLIi5H1asdiS_uYt9M,162
3
- pypilecore/_version.py,sha256=jnzhNYs6bqTiyDu0QEsVMOEnDNnEsaMyuGkSRaAqPJ8,175
3
+ pypilecore/_version.py,sha256=PyJLtz0HZcv4-hyOrJwfzhKhc_UHNEdFjzKgtq-wJ70,175
4
4
  pypilecore/api.py,sha256=U41P6_N5ihwIv91kayrI7cs_KTo2M5HfJGqO6K6aJVE,9959
5
5
  pypilecore/exceptions.py,sha256=-MZOfsxyHLCI0k1-wZFfVsMxc1lya5buuhLks5rxlCo,89
6
6
  pypilecore/plot_utils.py,sha256=rK5_067-4-x7LzZgt_t6ahcGrZInxNrqHqsy0RzCnq8,954
@@ -21,7 +21,7 @@ pypilecore/input/__init__.py,sha256=Gyqsp6zqc8AYnIp17SfqbBNjDaUkRgAam8x2r0XibwM,
21
21
  pypilecore/input/grouper_properties.py,sha256=mCJ590bS-tDKUgxJW_LIzIEtoMrYAQiE48rJb6QwNsY,11168
22
22
  pypilecore/input/multi_cpt.py,sha256=QKhEWzNVnPe7C8OSSSj1z3XNgQ7Z5RG7J9SnK9gM4rE,18598
23
23
  pypilecore/input/soil_properties.py,sha256=Uh6rFUZUPMzFyQI9yon9PMMwOn8lAUZVa_XHx3AC-5Y,10142
24
- pypilecore/input/tension.py,sha256=wbVAs3maYbUDzarq_DOQSR00QYVDh4Mkbaxb-hz4E08,11921
24
+ pypilecore/input/tension.py,sha256=eIUVjweEN1JHodkRURVSFunDJSmAoVzObOaIja8PSWo,14239
25
25
  pypilecore/results/__init__.py,sha256=UCMRRVNZxHTtTD4yTrJ-vpHy-Pga8vvxRu45d8pu5DM,844
26
26
  pypilecore/results/cases_multi_cpt_results.py,sha256=meCqFDBCGiSwgmwSzvTLxF5Z0HYkKK-LKrvDp5rAUy8,10253
27
27
  pypilecore/results/grouper_result.py,sha256=35Yx8VsIT1hridIZLhgcrqBtxszWvaUljBDroFhzCdg,31006
@@ -43,7 +43,7 @@ pypilecore/viewers/interactive_figures/figure_cpt_group_results_versus_ptls.py,s
43
43
  pypilecore/viewers/interactive_figures/figure_cpt_results_plan_view.py,sha256=6je5ALYihQ_9bMbT_rinByCgHfQ61dWB6zzDhiL_iCQ,9380
44
44
  pypilecore/viewers/interactive_figures/figure_cpt_results_versus_ptls.py,sha256=Kaaw1HT4d-fA5DJzvBHbE3yg-I-fWzxhE8gUxfPWahU,6046
45
45
  pypilecore/viewers/interactive_figures/utils.py,sha256=B2X8hbbmJqjm8E2VrS2EoX5F1yQ5qOQnQUG_vbsseT8,1692
46
- py_pilecore-1.0.4.dist-info/METADATA,sha256=0iaVPSY9tdplCUQgkIqiYzahxvr6G2OlJUJkNCXC7fM,5970
47
- py_pilecore-1.0.4.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
48
- py_pilecore-1.0.4.dist-info/top_level.txt,sha256=7BKIWZuSkbQtJ0ho5P1JvcaEbHzqADCcBuOduZmIaiI,11
49
- py_pilecore-1.0.4.dist-info/RECORD,,
46
+ py_pilecore-1.1.0.dist-info/METADATA,sha256=8gP0-JdMQtKKA1eHFHoJojXIGrc6uqUiqXJAeTXZIUQ,5970
47
+ py_pilecore-1.1.0.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
48
+ py_pilecore-1.1.0.dist-info/top_level.txt,sha256=7BKIWZuSkbQtJ0ho5P1JvcaEbHzqADCcBuOduZmIaiI,11
49
+ py_pilecore-1.1.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.1.0)
2
+ Generator: setuptools (80.3.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
pypilecore/_version.py CHANGED
@@ -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.0"
@@ -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,
@@ -111,6 +114,27 @@ def create_multi_cpt_payload(
111
114
  excavation method.
112
115
 
113
116
  See for more info NEN 9997-1+C2:2017 7.6.2.3.(10)(k)
117
+ excavation_stress_reduction_method:
118
+ Method used to calculate the stress reduction due to the excavation applied to the effective and total stresses.
119
+ Only used when `excavation_depth_nap` is different than `None`. It can be:
120
+ - "constant" (default): The stress reduction below the excavation is constant with depth. The stress reduction
121
+ is equal to the original effective stress (i.e. before the excavation) at the excavation depth.
122
+ - "begemann": The stress reduction below the excavation decreases with depth according to the Begemann method.
123
+ This method uses the elastic solution of a strip load acting on a semi-infinite homogeneous soil mass.
124
+ The load has a width equal to the excavation width and a magnitude equal to the original effective stress at
125
+ the excavation depth.
126
+ Regardless the method, the stress reduction applied above the excavation is equal to the original effective stress
127
+ at each corresponding depth.
128
+ excavation_width:
129
+ Width of the excavation [m]. Used to calculate the stress reduction due to the excavation if the Begemann method is selected.
130
+ In this case, it must be provided and it must be > 0.
131
+ excavation_edge_distance:
132
+ Distance from the pile centerline to the excavation edge [m]. Used to calculate the stress reduction due to the excavation if
133
+ the Begemann method is selected. In this case, it must be provided and it must be between 0.0 and 0.5 * excavation_width.
134
+
135
+ Note that:
136
+ - 0.0 means that the pile is located at the edge of the excavation.
137
+ - 0.5 * excavation_width means that the pile is at the center of the excavation.
114
138
  overrule_xi:
115
139
  Set a fixed value for xi in all calculations. Use with caution. This will
116
140
  overrule the calculation of xi-values based on the group-size, variation-
@@ -219,6 +243,16 @@ def create_multi_cpt_payload(
219
243
  # Add optional properties
220
244
  if excavation_depth_nap is not None:
221
245
  multi_cpt_payload["excavation_depth_nap"] = excavation_depth_nap
246
+ if excavation_stress_reduction_method == "constant":
247
+ multi_cpt_payload["excavation_settings"] = dict(
248
+ stress_reduction_method="constant"
249
+ )
250
+ else:
251
+ multi_cpt_payload["excavation_settings"] = dict(
252
+ stress_reductin_method="begemann",
253
+ excavation_width=excavation_width,
254
+ excavation_edge_distance=excavation_edge_distance,
255
+ )
222
256
  if overrule_xi is not None:
223
257
  multi_cpt_payload["overrule_xi"] = overrule_xi
224
258
  if pile_grid is not None: