standalone.foundation


The standalone.foundation namespace provides functions to manage sessions for foundation design.

See also standalone.baseplate for base plate design checks.


standalone.foundation.start#

At the beginning of every API session, the session must be started. This function must be the first function in the array. This initiates a session and will return a session_id which can be used in subsequent calls made in the following 30 minutes to skip the verification process, thereby dramatically reducing the time to response.

important

The start function must always be the first function even if session_id is provided.

KeyTypeAcceptsDescriptionDefault
keep_openbooleantrue, falseIf the session should be kept on standby. If true, subsequent calls to the API using the session_id provided from the first call in lieu of key, will be 4-8x faster.false
Sample input for standalone.foundation.start
{
"function": "standalone.foundation.start",
"arguments": { "keep_open": false }
}

After authenticating using the API key, the response object will contain some useful information. The session_id key can be used to make further calls to the same session, skipping authentication if keep_open was set to true. The session_expiry_time provides an approximate Unix time until the session expires. After this, the user must re-authenticate using their API key.

tip

The returned session_id can be provided in the auth object of subsequent calls to make the request faster.


standalone.foundation.check#

Simplified design checks can be performed without the need to run an analysis first. Note that standalone.foundation.start should be called prior to this function.

The arguments object holds one or more foundations, keyed by ID:

"arguments": {
"1": { "settings": { ... }, "geometry": { ... }, ... }
}
caution

Only piles are currently supported through the API.

Use the input format shown in the examples on this page. Don't include settings.version. Files exported from the current Foundation Designer can't be sent to the API as they are.

tip

Set validate_input to true to have the input checked against the keys and values on this page before the design runs.

Supported foundations#

settings.typesettings.codesettings.units
piles_foundationACI_318_2014metric, imperial
AS_3600_2018, ENmetric

settings keys:

KeyTypeDescription
typestringThe foundation type: piles_foundation.
codestringThe design code. See the table above.
unitsstringmetric or imperial. Every value in the foundation uses this unit system.

Load cases#

loads is keyed by column ID ("1"). It holds the load cases for the design code, and each load case has the same five keys:

CodeLoad case keys
ACIDL, LL, W, E, LR, RL, SL
AS 3600G, Q, Wu, Eu, Su
ENG, Ql, Qw, Qe, Qs, Qt
KeyTypeDescription
axialnumberAxial load (kN / kip).
shear_xnumberShear Vx (kN / kip).
shear_znumberShear Vz (kN / kip).
moment_xnumberMoment Mx (kN-m / kip-ft).
moment_znumberMoment Mz (kN-m / kip-ft).

Units are given as metric / imperial.

Custom loads (piles)#

To enter factored and service loads directly instead of load cases, set parameters.others.custom_load to true. loads then takes this form:

"loads": {
"factored": { "P": 600, "Vx": 20, "Vz": 10, "Mx": 40, "Mz": 20 },
"service": { "P": 420, "Vx": 14, "Vz": 7, "Mx": 28, "Mz": 14 }
}

P is the axial load, Vx and Vz the shears and Mx and Mz the moments.

Piles#

These keys apply when settings.type is piles_foundation. Units are given as metric / imperial where confirmed.

geometry#

KeyTypeDescription
shapestringPile shape. Options: round, rectangular.
diameternumberPile diameter (mm / in). Used when shape is round.
widthnumberPile width (mm / in). Used when shape is rectangular.
depthnumberPile depth (mm / in). Used when shape is rectangular.

pile_details#

KeyTypeDescription
lengthnumberPile length (m / ft).
H_exposednumberExposed length (m / ft).
construction_typestringPile construction type. Options: cast_in_place, prestressed, precast.
typestringbored for cast_in_place, driven for precast.
head_fixitystringFixity at the pile head. Options: free, pinned, fixed.
tip_fixitystringFixity at the pile tip. Options: free, pinned, fixed.
concrete_covernumberConcrete cover (mm / in).

materials#

KeyTypeDescription
propertiesstringPile material, e.g. reinforced_concrete.
concrete_strengthnumberConcrete compressive strength (MPa / psi).
pile_modulusnumberPile modulus of elasticity (MPa / psi).
rebar_strengthnumberLongitudinal bar yield strength (MPa / psi).
steel_modulusnumberSteel modulus of elasticity (MPa / psi).
shear_rebar_strengthnumberShear bar yield strength (MPa / psi).
shear_rebar_typestringShear bar type, e.g. ties.

long_rebar and shear_rebar#

long_rebar lists the longitudinal bars, keyed by ID. shear_rebar holds one set of shear bars, keyed "1".

KeyTypeDescription
long_rebar.<id>.numbernumbernumber value of the bar entry (1 in the samples).
long_rebar.<id>.diameternumberBar diameter.
long_rebar.<id>.ynumberDepth of the bar from the pile face.
shear_rebar.1.numbernumberShear bar number value.
shear_rebar.1.diameternumberBar diameter.
shear_rebar.1.spacingnumberShear bar spacing (mm / in).

soils and layer#

soils lists the soil types, keyed by ID. layer lists the soil layers, keyed by ID, and refers to a soil type by soil_id.

KeyTypeDescription
soils.<id>.typestringSoil type. Options: granular, cohesive.
soils.<id>.labelstringSoil name.
soils.<id>.soil_weightnumberSoil unit weight.
soils.<id>.friction_anglenumberAngle of internal friction.
soils.<id>.cohesionnumberCohesion.
soils.<id>.subgrade_modulusnumberModulus of subgrade reaction.
layer.<id>.thicknessnumberLayer thickness.
layer.<id>.startnumberStart of the layer.
layer.<id>.endnumberEnd of the layer.
layer.<id>.soil_idintegerID of the soil type in soils.

parameters#

KeyTypeDescription
others.n_segmentintegerNumber of pile segments for the analysis of lateral geotechnical capacity.
others.factor_of_safetynumberFactor of safety.
others.ground_water_levelnumber, stringGround water level, or "N/A" for no ground water.
others.water_densitynumberWater density.
others.custom_loadbooleanSee Custom loads (piles).
ASobjectAS 3600. See below.
ENobjectEN. See below.

parameters.AS

KeyTypeDescription
psic, psilnumberFactors ψc and ψl.
design_lifenumberDesign life in years. Options: 50, 100.
exposure_classificationstringConcrete exposure classification (AS 2159 Section 6.4.2). Options: non_aggressive, mild, moderate, severe, very_severe.
average_risk_ratingnumberOverall design Average Risk Rating (ARR): the product of all the risk weighing factors and the relevant Individual Risk Ratings (AS 2159 Section 4.3).
intrinsic_testnumberIntrinsic test value.
concrete_placement_factornumberConcrete placement factor k. For concrete and grout piles, between 0.75 and 1.0.

parameters.EN

KeyTypeDescription
psi_factornumberFactor ψ.
shaftnumberPartial factor for shaft resistance of a pile.
basenumberPartial factor for the base resistance of a pile.
modelnumberPartial factor for uncertainty in a resistance model.
concretenumberConcrete partial factor.
steelnumberSteel partial factor.
foundationnumberFoundation material factor kf: partial factor for materials for foundations.
long_term_effect_factornumberLong-term effect factor.

Examples#

Sample input for standalone.foundation.check
{
"functions": [
{
"function": "standalone.foundation.start",
"arguments": { "keep_open": false }
},
{
"function": "standalone.foundation.check",
"arguments": {
"1": {
"settings": {
"type": "piles_foundation",
"code": "ACI_318_2014",
"units": "imperial"
},
"geometry": {
"shape": "round",
"depth": 25,
"width": 25,
"diameter": 25
},
"pile_details": {
"length": 12,
"H_exposed": 0.5,
"type": "bored",
"construction_type": "cast_in_place",
"head_fixity": "free",
"tip_fixity": "pinned",
"concrete_cover": 3
},
"materials": {
"properties": "reinforced_concrete",
"pile_modulus": 3122018.58,
"concrete_strength": 3000,
"rebar_strength": 40000,
"steel_modulus": 29000000,
"shear_rebar_strength": 40000,
"shear_rebar_type": "ties"
},
"long_rebar": {
"1": {
"number": 1,
"diameter": 0.375,
"y": 3.56
},
"2": {
"number": 1,
"diameter": 0.375,
"y": 12.5
},
"3": {
"number": 1,
"diameter": 0.375,
"y": 21.44
},
"4": {
"number": 1,
"diameter": 0.375,
"y": 12.5
}
},
"shear_rebar": {
"1": {
"number": 2,
"diameter": 0.375,
"spacing": 12
}
},
"soils": {
"1": {
"type": "granular",
"label": "Clean Gravels",
"soil_weight": 120,
"friction_angle": 40,
"cohesion": 0,
"subgrade_modulus": 691200
},
"2": {
"type": "granular",
"label": "Poorly Graded Gravel",
"soil_weight": 111,
"friction_angle": 37,
"cohesion": 0,
"subgrade_modulus": 561600
},
"3": {
"type": "granular",
"label": "Silty Gravel",
"soil_weight": 115,
"friction_angle": 34,
"cohesion": 0,
"subgrade_modulus": 432000
},
"4": {
"type": "granular",
"label": "Clayey Gravels",
"soil_weight": 116,
"friction_angle": 31,
"cohesion": 0,
"subgrade_modulus": 345600
},
"5": {
"type": "granular",
"label": "Clean Sands",
"soil_weight": 120,
"friction_angle": 38,
"cohesion": 0,
"subgrade_modulus": 432000
},
"6": {
"type": "granular",
"label": "Poorly Graded Sands",
"soil_weight": 111,
"friction_angle": 37,
"cohesion": 0,
"subgrade_modulus": 432000
},
"7": {
"type": "cohesive",
"label": "Silty Sands",
"soil_weight": 115,
"friction_angle": 34,
"cohesion": 2.9,
"subgrade_modulus": 345600
},
"8": {
"type": "cohesive",
"label": "Sand Silt Clay",
"soil_weight": 120,
"friction_angle": 33,
"cohesion": 2.03,
"subgrade_modulus": 345600
},
"9": {
"type": "cohesive",
"label": "Clayey Sands",
"soil_weight": 116,
"friction_angle": 31,
"cohesion": 1.6,
"subgrade_modulus": 345600
},
"10": {
"type": "cohesive",
"label": "Clayey Silts",
"soil_weight": 104,
"friction_angle": 32,
"cohesion": 1.31,
"subgrade_modulus": 259200
},
"11": {
"type": "cohesive",
"label": "Silts and Clays",
"soil_weight": 110,
"friction_angle": 32,
"cohesion": 3.19,
"subgrade_modulus": 259200
},
"12": {
"type": "cohesive",
"label": "Inorganic Clays, med plasticity",
"soil_weight": 109,
"friction_angle": 28,
"cohesion": 1.89,
"subgrade_modulus": 216000
},
"13": {
"type": "cohesive",
"label": "Elastic silts",
"soil_weight": 83,
"friction_angle": 25,
"cohesion": 2.9,
"subgrade_modulus": 129600
},
"14": {
"type": "cohesive",
"label": "Inorganic clays, high plasticity",
"soil_weight": 95,
"friction_angle": 19,
"cohesion": 1.6,
"subgrade_modulus": 172800
}
},
"layer": {
"1": {
"thickness": 12,
"start": 0,
"end": 12,
"soil_id": 1
}
},
"loads": {
"1": {
"DL": {
"axial": 0,
"shear_x": 0,
"shear_z": 0,
"moment_x": 0,
"moment_z": 0
},
"LL": {
"axial": 0,
"shear_x": 0,
"shear_z": 0,
"moment_x": 0,
"moment_z": 0
},
"W": {
"axial": 0,
"shear_x": 0,
"shear_z": 0,
"moment_x": 0,
"moment_z": 0
},
"E": {
"axial": 0,
"shear_x": 0,
"shear_z": 0,
"moment_x": 0,
"moment_z": 0
},
"LR": {
"axial": 0,
"shear_x": 0,
"shear_z": 0,
"moment_x": 0,
"moment_z": 0
},
"RL": {
"axial": 0,
"shear_x": 0,
"shear_z": 0,
"moment_x": 0,
"moment_z": 0
},
"SL": {
"axial": 0,
"shear_x": 0,
"shear_z": 0,
"moment_x": 0,
"moment_z": 0
}
}
},
"parameters": {
"others": {
"n_segment": 5,
"factor_of_safety": 3,
"ground_water_level": "N/A",
"water_density": 62.4,
"custom_load": false
}
}
}
}
}
]
}