Enable "Method 2" for kyy, kyz


Bonjour,
Je souhaiterai savoir comment je peux activer la méthode 2 (annexe B de EC3) pour calculer kyy, kyz, ...Auriez-vous une ligne de code que je peux utiliser ?
Bonne journée,

Hi amazigh,

"Method 2 acc. to Annex B" is a key in the tree table settings_ec3 of the
SteelDesignUlsConfiguration, so it is set the same way as the other ULS
settings:

# Determine interaction factors for 6.3.3(4) acc. to Method 2, Annex B
cfg = rfem_app.get_object(rfem.steel_design_objects.SteelDesignUlsConfiguration(no=1))
settings = cfg.settings_ec3

common.tree_table.set_values_by_key(settings, "param_k_annex_b", [True])

rfem_app.update_object(rfem.steel_design_objects.SteelDesignUlsConfiguration(
    no=1, settings_ec3=settings
))

Please note that this requires version 2.15.1 or newer of dlubal.api
(US 35615). On older versions the update will not come through as expected.

The two keys of that group are the radio pair in the dialog:

6.3.3(4) Parameters kyy, kyz, kzy, kzz
  Determine interaction factors for 6.3.3(4) according to
    ( ) Method 1 acc. to Annex A     <- param_k_annex_a
    (o) Method 2 acc. to Annex B     <- param_k_annex_b

They are mutually exclusive, so setting param_k_annex_b to True clears
param_k_annex_a on its own. You can still set both explicitly if you prefer
to be unambiguous, the result is the same.

Checked on your standard, EN 1993 | NF | 2016-02, where the default is Method 1:

BEFORE   param_k_annex_a = [True]    param_k_annex_b = [False]
AFTER    param_k_annex_a = [False]   param_k_annex_b = [True]

On an IPE 300, 6 m, with N = 80 kN compression plus biaxial bending, the
governing check ST3100.00 (bending and buckling acc. to 6.3.3) moves from
0.838 with Method 1 to 0.929 with Method 2, so the setting reaches the design
check.

One last detail: these keys belong to settings_ec3, that is EN 1993 first
generation including the NF annex. For EN 1993 | 2nd | CEN | 2022-07 the table
is settings_ec3_v2 and the keys differ.

Best regards