OspGrillage.add_load_combination#

OspGrillage.add_load_combination(load_combination_name, load_case_and_factor_dict)#

Function to add load combination to analysis. Load combinations are defined through a dict with load case name str to be included in combination as keys, and load factor (type float/int) as value of dict.

Parameters:
  • load_combination_name (str) – Name string of load combination

  • load_case_and_factor_dict (str) – dict with name string of load cases within the combination as key, corresponding load factor as value.

Example format of input dict for add_load_combination:

load_comb = {"name_of_load_case_1":1.2, "name_of_load_case_2": 1.5}

Note

As of release 0.1.0, load combinations can be directly obtained (calculated on the fly) by specifying combination kwarg in get_results(). Hence, add_combination is here for adding and storing information of load combination to OspGrillage object.