Deflection calculation

The following functions are related to calculating deflections.

structuralcodes.codes.ec2_2023.delta_simpl(delta_loads: float, delta_shr: float, fck1: float, phi1: float, b1: float, h: float, d: float, As1: float, Mk: float) float[source]

Simplified calculation of the deflection for rectangular sections.

EN1992-1-1:2023, Eq. (9.23).

Parameters:
  • delta_loads (float) – Linear elastic deflection due to loads.

  • delta_shr (float) – Linear elastic deflection due to shrinkage.

  • fck1 (float) – Characteristic concrete strength in MPa.

  • phi1 (float) – Weighted mean value of the creep coefficient.

  • b1 (float) – Width of rectangular cross-section in m.

  • h (float) – Height of rectanguar cross-section in m.

  • d (float) – Effective height of cross-section in m.

  • As1 (float) – Tension reinforcement at centre span for continuous in cm2 beams or at the embedment for a cantilever.

  • Mk (float) – Characteristic moment at centre span for continuous beams or at the embedment for a cantilever.

Returns:

The deflection of the beam in units consistent with delta_loads and delta_shr.

Return type:

float

structuralcodes.codes.ec2_2023.Ec_eff(fcm: float, phi: float, kE: float = 9500) float[source]

Returns de effective modulus of elasticity from fcm and phi.

EN 1992-1-1:2023, Eq. (9.1).

Parameters:
  • fcm (float) – The mean compressive strength in MPa.

  • phi (float) – The creep coefficient.

Keyword Arguments:

kE (float) – Constant to account for the type of aggregate.

Returns:

The effective modulus of elastiticy in MPa.

Return type:

float