![]() |
OpenSeesPyAssistant 1.1
OpenSeesPy for everyone
|
Class that stores funcions and material properties of a steel double symmetric I-shape profile with modified Ibarra-Medina-Krawinkler as the material model for the nonlinear springs and the OpenSeesPy command type used to model it is Bilin. More...
Public Member Functions | |
def | __init__ (self, int ID, str Type, d, bf, tf, tw, h_1, Iy_mod, iz, E, Fy, Npl, My, L, N_G=0, K_factor=3, L_0=-1, L_b=-1, Mc=-1, K=-1, theta_u=-1, safety_factors=False) |
Constructor of the class. More... | |
def | Bilin (self) |
Generate the material model Bilin (Modified IMK) using the computed parameters. More... | |
def | CheckApplicability (self) |
Implementation of the homonym abstract method. More... | |
def | Computea (self) |
Method that computes the strain hardening ratio with the n modification. More... | |
def | Computea_s (self) |
Method that computes the modified strain hardening ratio for the spring. More... | |
def | ComputeK (self) |
Method that computes the residual strength ratio. More... | |
def | ComputeKe (self) |
Method that computes the elastic stiffness. More... | |
def | ComputeMc (self) |
Method that computes the capping moment. More... | |
def | ComputeMyStar (self) |
Method that computes the effective yield moment. More... | |
def | ComputeRefEnergyDissipationCap (self) |
Method that computes the reference energy dissipation capacity. More... | |
def | ComputeTheta_p (self) |
Method that computes the plastic rotation. More... | |
def | ComputeTheta_pc (self) |
Method that computes the post capping rotation. More... | |
def | ComputeTheta_u (self) |
Method that computes the ultimate rotation. More... | |
def | ComputeTheta_y (self) |
Method that computes the yield rotation. More... | |
def | ReInit (self, Mc=-1, K=-1, theta_u=-1) |
Implementation of the homonym abstract method. More... | |
def | ShowInfo (self, plot=False, block=False) |
Implementation of the homonym abstract method. More... | |
def | UpdateStoredData (self) |
Implementation of the homonym abstract method. More... | |
def | CheckApplicability (self) |
Abstract function used to check the applicability of the material model. More... | |
Public Attributes | |
a | |
a_s | |
bf | |
d | |
data | |
E | |
Fy | |
gamma_rm | |
h_1 | |
ID | |
Initialized | |
Iy_mod | |
iz | |
K | |
K_factor | |
Ke | |
L | |
L_0 | |
L_b | |
Mc | |
McMy | |
My | |
My_star | |
N_G | |
Npl | |
prob_factor | |
rate_det | |
section_name_tag | |
tf | |
theta_p | |
theta_pc | |
theta_u | |
theta_y | |
tw | |
Type | |
Static Public Attributes | |
float | n = 10.0 |
Class that stores funcions and material properties of a steel double symmetric I-shape profile with modified Ibarra-Medina-Krawinkler as the material model for the nonlinear springs and the OpenSeesPy command type used to model it is Bilin.
The default values are valid for a simple cantelever. For more information about the empirical model for the computation of the parameters, see Lignos Krawinkler 2011. The parameter 'n' is used as global throughout the SteelIShape sections to optimise the program (given the fact that is constant everytime).
MaterialModels | Parent abstract class. |
Definition at line 34 of file MaterialModels.py.
def __init__ | ( | self, | |
int | ID, | ||
str | Type, | ||
d, | |||
bf, | |||
tf, | |||
tw, | |||
h_1, | |||
Iy_mod, | |||
iz, | |||
E, | |||
Fy, | |||
Npl, | |||
My, | |||
L, | |||
N_G = 0 , |
|||
K_factor = 3 , |
|||
L_0 = -1 , |
|||
L_b = -1 , |
|||
Mc = -1 , |
|||
K = -1 , |
|||
theta_u = -1 , |
|||
safety_factors = False |
|||
) |
Constructor of the class.
Every argument that is optional and is initialised as -1, will be computed in this class.
ID | (int): ID of the material model. |
Type | (str): Type of the section. It can be 'Col' for column or 'Beam' for beams. |
d | (float): Depth of the section. |
bf | (float): Flange's width of the section |
tf | (float): Flange's thickness of the section |
tw | (float): Web's thickness of the section |
h_1 | (float): Depth excluding the flange's thicknesses and the weld fillets. |
Iy_mod | (float): n modified moment of inertia (strong axis) |
iz | (float): Radius of gyration (weak axis). |
E | (float): Young modulus. |
Fy | (float): Yield strength. |
Npl | (float): Maximal vertical axial load. |
My | (float): Yielding moment. |
L | (float): Effective length of the element associated with this section. If the panel zone is present, exclude its dimension. |
N_G | (float, optional): Gravity axial load. Defaults to 0. |
K_factor | (float, optional): Rigidity factor. Defaults to 3 (assuming cantilever). |
L_0 | (float, optional): Position of the inflection point. Defaults to -1, e.g. computed as the total length, assuming cantilever. |
L_b | (float, optional): Maximal unbraced lateral torsional buckling length. Defaults to -1, e.g. computed as the total length, assuming cantilever with no bracing support. |
Mc | (float, optional): Capping moment. Defaults to -1, e.g. computed in ComputeMc. |
K | (float, optional): Residual strength ratio. Defaults to -1, e.g. computed in ComputeK. |
theta_u | (float, optional): Ultimate rotation. Defaults to -1, e.g. computed in ComputeTheta_u. |
safety_factors | (bool, optional): Safety factors used if standard mechanical parameters are used (not test results). Defaults to False. |
NegativeValue | ID needs to be a positive integer. |
WrongArgument | Type needs to be 'Col' or 'Beam'. |
NegativeValue | d needs to be positive. |
NegativeValue | bf needs to be positive. |
NegativeValue | tf needs to be positive. |
NegativeValue | tw needs to be positive. |
NegativeValue | h_1 needs to be positive. |
NegativeValue | Iy_mod needs to be positive. |
NegativeValue | iz needs to be positive. |
NegativeValue | E needs to be positive. |
NegativeValue | Fy needs to be positive. |
NegativeValue | Npl needs to be positive. |
NegativeValue | My needs to be positive. |
NegativeValue | L needs to be positive. |
NegativeValue | N_G needs to be positive. |
NegativeValue | L_0 needs to be positive if different from -1. |
NegativeValue | L_b needs to be positive if different from -1. |
NegativeValue | Mc needs to be positive if different from -1. |
NegativeValue | K needs to be positive if different from -1. |
NegativeValue | theta_u needs to be positive if different from -1. |
InconsistentGeometry | h_1 can't be bigger than d |
MemberFailure | N_G can't be bigger than Npl (section failure). |
InconsistentGeometry | L_0 can't be bigger than L |
Reimplemented in ModifiedIMKSteelIShape.
Definition at line 47 of file MaterialModels.py.
def Bilin | ( | self | ) |
Generate the material model Bilin (Modified IMK) using the computed parameters.
See _Bilin function for more information.
Definition at line 478 of file MaterialModels.py.
def CheckApplicability | ( | self | ) |
Implementation of the homonym abstract method.
See parent class MaterialModels for detailed information.
Reimplemented from MaterialModels.
Definition at line 289 of file MaterialModels.py.
def Computea | ( | self | ) |
Method that computes the strain hardening ratio with the n modification.
Definition at line 337 of file MaterialModels.py.
def Computea_s | ( | self | ) |
Method that computes the modified strain hardening ratio for the spring.
For more info see Ibarra & Krawinkler 2005.
Definition at line 346 of file MaterialModels.py.
def ComputeK | ( | self | ) |
Method that computes the residual strength ratio.
For more info see Lignos & Krawinkler 2011 and Lignos et Al. 2019.
Definition at line 384 of file MaterialModels.py.
def ComputeKe | ( | self | ) |
Method that computes the elastic stiffness.
Definition at line 329 of file MaterialModels.py.
def ComputeMc | ( | self | ) |
Method that computes the capping moment.
For more info see Lignos & Krawinkler 2011 and Lignos et Al. 2019.
Definition at line 370 of file MaterialModels.py.
def ComputeMyStar | ( | self | ) |
Method that computes the effective yield moment.
For more info see Lignos & Krawinkler 2011 and Lignos et Al. 2019.
Definition at line 355 of file MaterialModels.py.
def ComputeRefEnergyDissipationCap | ( | self | ) |
Method that computes the reference energy dissipation capacity.
For more info see Lignos & Krawinkler 2011 and Lignos et Al. 2019.
Definition at line 456 of file MaterialModels.py.
def ComputeTheta_p | ( | self | ) |
Method that computes the plastic rotation.
For more info see Lignos & Krawinkler 2011 and Lignos et Al. 2019.
Definition at line 406 of file MaterialModels.py.
def ComputeTheta_pc | ( | self | ) |
Method that computes the post capping rotation.
For more info see Lignos & Krawinkler 2011 and Lignos et Al. 2019.
Definition at line 427 of file MaterialModels.py.
def ComputeTheta_u | ( | self | ) |
Method that computes the ultimate rotation.
For more info see Lignos & Krawinkler 2011 and Lignos et Al. 2019.
Definition at line 444 of file MaterialModels.py.
def ComputeTheta_y | ( | self | ) |
Method that computes the yield rotation.
For more info see Lignos & Krawinkler 2011 and Lignos et Al. 2019.
Definition at line 397 of file MaterialModels.py.
def ReInit | ( | self, | |
Mc = -1 , |
|||
K = -1 , |
|||
theta_u = -1 |
|||
) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
Mc | (float, optional): Capping moment. Defaults to -1, e.g. computed in ComputeMc. |
K | (float, optional): Residual strength ratio. Defaults to -1, e.g. computed in ComputeK. |
theta_u | (float, optional): Ultimate rotation. Defaults to -1, e.g. computed in ComputeTheta_u. |
Definition at line 160 of file MaterialModels.py.
def ShowInfo | ( | self, | |
plot = False , |
|||
block = False |
|||
) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
plot | (bool, optional): Option to show the plot of the material model. Defaults to False. |
block | (bool, optional): Option to wait the user command 'plt.show()' (avoiding the stop of the program everytime that a plot should pop up). Defaults to False. |
Definition at line 237 of file MaterialModels.py.
def UpdateStoredData | ( | self | ) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
Definition at line 195 of file MaterialModels.py.
a |
Definition at line 187 of file MaterialModels.py.
a_s |
Definition at line 188 of file MaterialModels.py.
bf |
Definition at line 131 of file MaterialModels.py.
d |
Definition at line 130 of file MaterialModels.py.
data |
Definition at line 200 of file MaterialModels.py.
E |
Definition at line 137 of file MaterialModels.py.
Fy |
Definition at line 138 of file MaterialModels.py.
gamma_rm |
Definition at line 151 of file MaterialModels.py.
h_1 |
Definition at line 134 of file MaterialModels.py.
ID |
Definition at line 129 of file MaterialModels.py.
Initialized |
Definition at line 149 of file MaterialModels.py.
Iy_mod |
Definition at line 135 of file MaterialModels.py.
iz |
Definition at line 136 of file MaterialModels.py.
K |
Definition at line 174 of file MaterialModels.py.
K_factor |
Definition at line 143 of file MaterialModels.py.
Ke |
Definition at line 181 of file MaterialModels.py.
L |
Definition at line 141 of file MaterialModels.py.
L_0 |
Definition at line 144 of file MaterialModels.py.
L_b |
Definition at line 145 of file MaterialModels.py.
Mc |
Definition at line 173 of file MaterialModels.py.
McMy |
Definition at line 185 of file MaterialModels.py.
My |
Definition at line 140 of file MaterialModels.py.
My_star |
Definition at line 170 of file MaterialModels.py.
|
static |
Definition at line 45 of file MaterialModels.py.
N_G |
Definition at line 142 of file MaterialModels.py.
Npl |
Definition at line 139 of file MaterialModels.py.
prob_factor |
Definition at line 152 of file MaterialModels.py.
rate_det |
Definition at line 186 of file MaterialModels.py.
section_name_tag |
Definition at line 148 of file MaterialModels.py.
tf |
Definition at line 132 of file MaterialModels.py.
theta_p |
Definition at line 183 of file MaterialModels.py.
theta_pc |
Definition at line 184 of file MaterialModels.py.
theta_u |
Definition at line 175 of file MaterialModels.py.
theta_y |
Definition at line 182 of file MaterialModels.py.
tw |
Definition at line 133 of file MaterialModels.py.
Type |
Definition at line 128 of file MaterialModels.py.