Among the participating parties (10 in total) there was a shared need to create a Python library that could do what the GEOLIB does but "faster" and with fewer code lines, making it easier and more convenient to use. This goal has been achieved by, among others, creating several Classes that given a specific set of parameters generates a new stage in DSheetpiling file. The ConstructionActivity
class is an example of a Class and part of the code is shown below.
from dec_sheetpiles.d_sheet_calculator import DSheetCalculator
from dec_sheetpiles.construction_activities.excavation import Excavation
calculator = DSheetCalculator(
soil_profiles=soil_profiles,
sheetpile=sheetpile,
surface_line=surface_line,
phreatic_level=phreatic_level,
file_name="getting_started",
)
excavation = Excavation(
name="excavation",
side=Side.RIGHT,
excavation_level=-1,
partial_factor_set=PartialFactorSetEC7NADNL.RC1,
)
calculator.add_construction_activity(excavation)
Resulting in a phase that looks like this:
Attention has also been given to the parsing of the results that returns the relevant results for the engineer and way less nested dictionaries ;)
Our colleague Martina Pippi, developed the module together with Marcel Slootweg (developer, VIKTOR) and Tom Laumen (Product Owner, Boskalis). The collaboration has been very productive and all parties involved are enthusiastic about the end result. The collaboration is proof of the famous saying:
'If You Want to Go Fast, Go Alone. If You Want to Go Far, Go Together.'
'Alleen ga je sneller, samen kom je verder!'