pystra.calibration.GenericModel#

class GenericModel[source]#

Bases: object

A probability model for generic calibration.

Initialize the class which holds all the probability model info.

Return type:

None.

Methods

get

Return a tuple of all the probability model parameters

set_dead_params

Set the dead load model parameters.

set_distributions

Assign the PySTRA distribution objects

set_factors

Assign the partial factors to the generic probability model.

set_live_params

Set the dead load model parameters.

set_model_errors

Set the model errors

set_nominals

Set the nominal values of the parameters for use in design.

set_permanent_params

Set the permanent load model parameters.

set_resistance_params

Set the resistance model parameters.

set_factors(phi, gamma_g, gamma_p, gamma_q)[source]#

Assign the partial factors to the generic probability model.

Parameters:
  • phi (float) – Capacity reduction factor.

  • gamma_g (float) – Dead load factor.

  • gamma_p (float) – Permanent load factor.

  • gamma_q (float) – Live load factor.

Return type:

None.

set_distributions(wR, wS, R, G, P, Q)[source]#

Assign the PySTRA distribution objects

Parameters:
  • wR (PySTRA distribution object) – Model error for resistance.

  • wS (PySTRA distribution object) – Model error for loading/analysis.

  • R (PySTRA distribution object) – Resistance distribution.

  • G (PySTRA distribution object) – Dead load distribution.

  • P (PySTRA distribution object) – Permanent load distribution.

  • Q (PySTRA distribution object) – Live load distribution.

Return type:

None.

set_nominals(Rk, Gk, Pk, Qk)[source]#

Set the nominal values of the parameters for use in design.

Parameters:
  • Rk (float) – Characteristic value of resistance.

  • Gk (float) – Characteristic value of dead load.

  • Pk (float) – Characteristic value of permanent load.

  • Qk (float) – Characteristic value of live load.

Return type:

None.

set_model_errors(wR, wS)[source]#

Set the model errors

Parameters:
  • wR (PySTRA distribution object) – Model error for resistance.

  • wS (PySTRA distribution object) – Model error for loading/analysis.

Return type:

None.

set_resistance_params(R, Rk, phi)[source]#

Set the resistance model parameters.

Parameters:
  • R (PySTRA distribution object) – Resistance distribution.

  • Rk (float) – Characteristic value of resistance.

  • phi (float) – Capacity reduction factor.

Return type:

None.

set_dead_params(G, Gk, gamma_g)[source]#

Set the dead load model parameters.

Parameters:
  • G (PySTRA distribution object) – Dead load distribution.

  • Gk (float) – Characteristic value of dead load.

  • gamma_g (float) – Partial factor for dead load.

Return type:

None.

set_permanent_params(P, Pk, gamma_p)[source]#

Set the permanent load model parameters.

Parameters:
  • P (PySTRA distribution object) – Permanent load distribution.

  • Pk (float) – Characteristic value of permanent load.

  • gamma_p (float) – Partial factor for permanent load.

Return type:

None.

set_live_params(Q, Qk, gamma_q)[source]#

Set the dead load model parameters.

Parameters:
  • Q (PySTRA distribution object) – Live load distribution.

  • Qk (float) – Characteristic value of live load.

  • gamma_q (float) – Partial factor for live load.

Return type:

None.

get()[source]#

Return a tuple of all the probability model parameters

Returns:

  • phi (float) – Capacity reduction factor.

  • gamma_g (float) – Dead load factor.

  • gamma_p (float) – Permanent load factor.

  • gamma_q (float) – Live load factor.

  • wR (PySTRA distribution object) – Model error for resistance.

  • wS (PySTRA distribution object) – Model error for loading/analysis.

  • R (PySTRA distribution object) – Resistance distribution.

  • G (PySTRA distribution object) – Dead load distribution.

  • P (PySTRA distribution object) – Permanent load distribution.

  • Q (PySTRA distribution object) – Live load distribution.

  • Rk (float) – Characteristic value of resistance.

  • Gk (float) – Characteristic value of dead load.

  • Pk (float) – Characteristic value of permanent load.

  • Qk (float) – Characteristic value of live load.