analisis module
- opseestools.analisis.dinamico(recordName, dtrec, nPts, dtan, fact, damp, IDctrlNode, IDctrlDOF, modes=[0, 2], Kswitch=1, Tol=0.0001)
- opseestools.analisis.dinamicoAnim(recordName, dtrec, nPts, dtan, fact, damp, IDctrlNode, IDctrlDOF, modes=[0, 2], Kswitch=1, Tol=1e-08)
- opseestools.analisis.dinamicoIDA(recordName, dtrec, nPts, dtan, fact, damp, IDctrlNode, IDctrlDOF, modes=[0, 2], Kswitch=1, Tol=0.0001)
- Parameters:
recordName (string) – Name of the record including file extension (i.e., ‘GM01.txt’). It must have one record instant per line.
dtrec (float) – time increment of the record.
nPts (integer) – number of points of the record.
dtan (float) – time increment to be used in the analysis. If smaller than dtrec, OpenSeesPy interpolates.
fact (float) – scale factor to apply to the record.
damp (float) – Damping percentage in decimal (i.e., use 0.03 for 3%).
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
modes (list, optional) – Modes of the structure to apply the Rayleigh damping. The default is [0,2] which uses the first and third mode.
Kswitch (int, optional) – Use it to define which stiffness matrix should be used for the ramping. The default is 1 that uses initial stiffness. Input 2 for current stifness.
Tol (float, optional) – Tolerance for the analysis. The default is 1e-4 because it uses the NormUnbalance test.
- Return type:
None.
- opseestools.analisis.dinamicoIDA2(recordName, dtrec, nPts, dtan, fact, damp, IDctrlNode, IDctrlDOF, modes=[0, 2], Kswitch=1, Tol=1e-08)
Performs a dynamic analysis recording the displacement of a user selected node.
- Parameters:
recordName (string) – Name of the record including file extension (i.e., ‘GM01.txt’). It must have one record instant per line.
dtrec (float) – time increment of the record.
nPts (integer) – number of points of the record.
dtan (float) – time increment to be used in the analysis. If smaller than dtrec, OpenSeesPy interpolates.
fact (float) – scale factor to apply to the record.
damp (float) – Damping percentage in decimal (i.e., use 0.03 for 3%).
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
modes (list, optional) – Modes of the structure to apply the Rayleigh damping. The default is [0,2] which uses the first and third mode.
Kswitch (int, optional) – Use it to define which stiffness matrix should be used for the ramping. The default is 1 that uses initial stiffness. Input 2 for current stifness.
Tol (float, optional) – Tolerance for the analysis. The default is 1e-4 because it uses the NormUnbalance test.
- Returns:
tiempo (numpy array) – Numpy array with analysis time.
techo (numpy array) – Displacement of the control node.
- opseestools.analisis.dinamicoIDA2DB(recordName, dtrec, nPts, dtan, fact, damp, IDctrlNode, IDctrlDOF, modes=[0, 2], Kswitch=1, Tol=0.001, odb=1, odbtag=1000)
- opseestools.analisis.dinamicoIDA4(recordName, dtrec, nPts, dtan, fact, damp, IDctrlNode, IDctrlDOF, elements, nodes_control, modes=[0, 2], Kswitch=1, Tol=1e-08)
Performs a dynamic analysis for a ground motion, recording information about displacements, velocity, accelerations, forces, stresses and strain. To be used only with wall buildings modeled with the MVLEM.
- Parameters:
recordName (string) – Name of the record including file extension (i.e., ‘GM01.txt’). It must have one record instant per line.
dtrec (float) – time increment of the record.
nPts (integer) – number of points of the record.
dtan (float) – time increment to be used in the analysis. If smaller than dtrec, OpenSeesPy interpolates.
fact (float) – scale factor to apply to the record.
damp (float) – Damping percentage in decimal (i.e., use 0.03 for 3%).
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
elements (list) – elements to record forces and stresses.
nodes_control (list) – nodes to compute displacements and inter-story drift. You must input one per floor, otherwise you’ll get an error.
modes (list, optional) – Modes of the structure to apply the Rayleigh damping. The default is [0,2] which uses the first and third mode.
Kswitch (int, optional) – Use it to define which stiffness matrix should be used for the ramping. The default is 1 that uses initial stiffness. Input 2 for current stifness.
Tol (float, optional) – Tolerance for the analysis. The default is 1e-4 because it uses the NormUnbalance test.
- Returns:
tiempo (numpy array) – Numpy array with analysis time.
techo (numpy array) – Displacement of the control node.
Eds – Numpy array with the forces in the elements (columns and beams). The order is determined by the order used in the input variable elements. The array has three dimensions. The first one is the element, the second one the pushover instant and the third one is the DOF.
Strains (numpy array) – Strain at the macrofibers of the wall. Records eight.
cStress (numpy array) – Concrete stress at the macrofibers of the wall. Records eight.
sStress (numpy array) – Steel stress at the macrofibers of the wall. Records eight.
node_disp (numpy array) – Displacement at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
node_vel (numpy array) – Velocity at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
node_acel (numpy array) – Relative displacement at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
drift (numpy array) – Drift at story of the building. Each column correspond to a node and each row to an analysis instant.
- opseestools.analisis.dinamicoIDA4P(recordName, dtrec, nPts, dtan, fact, damp, IDctrlNode, IDctrlDOF, elements, nodes_control, modes=[0, 2], Kswitch=1, Tol=0.0001)
Performs a dynamic analysis for a ground motion, recording information about displacements, velocity, accelerations, forces. Only allows elements with six DOF.
- Parameters:
recordName (string) – Name of the record including file extension (i.e., ‘GM01.txt’). It must have one record instant per line.
dtrec (float) – time increment of the record.
nPts (integer) – number of points of the record.
dtan (float) – time increment to be used in the analysis. If smaller than dtrec, OpenSeesPy interpolates.
fact (float) – scale factor to apply to the record.
damp (float) – Damping percentage in decimal (i.e., use 0.03 for 3%).
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
elements (list) – elements to record forces and stresses.
nodes_control (list) – nodes to compute displacements and inter-story drift. You must input one per floor, otherwise you’ll get an error.
modes (list, optional) – Modes of the structure to apply the Rayleigh damping. The default is [0,2] which uses the first and third mode.
Kswitch (int, optional) – Use it to define which stiffness matrix should be used for the ramping. The default is 1 that uses initial stiffness. Input 2 for current stifness.
Tol (float, optional) – Tolerance for the analysis. The default is 1e-4 because it uses the NormUnbalance test.
- Returns:
tiempo (numpy array) – Numpy array with analysis time.
techo (numpy array) – Displacement of the control node.
Eds – Numpy array with the forces in the elements (columns and beams). The order is determined by the order used in the input variable elements. The array has three dimensions. The first one is the element, the second one the pushover instant and the third one is the DOF.
node_disp (numpy array) – Displacement at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
node_vel (numpy array) – Velocity at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
node_acel (numpy array) – Relative displacement at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
drift (numpy array) – Drift at story of the building. Each column correspond to a node and each row to an analysis instant.
- opseestools.analisis.dinamicoIDA4PResidual(recordName, dtrec, nPts, dtan, fact, damp, IDctrlNode, IDctrlDOF, elements, nodes_control, modes=[0, 2], Kswitch=1, Tol=0.0001)
Performs a dynamic analysis for a ground motion, recording information about displacements, velocity, accelerations, forces. Only allows elements with six DOF.
- Parameters:
recordName (string) – Name of the record including file extension (i.e., ‘GM01.txt’). It must have one record instant per line.
dtrec (float) – time increment of the record.
nPts (integer) – number of points of the record.
dtan (float) – time increment to be used in the analysis. If smaller than dtrec, OpenSeesPy interpolates.
fact (float) – scale factor to apply to the record.
damp (float) – Damping percentage in decimal (i.e., use 0.03 for 3%).
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
elements (list) – elements to record forces and stresses.
nodes_control (list) – nodes to compute displacements and inter-story drift. You must input one per floor, otherwise you’ll get an error.
modes (list, optional) – Modes of the structure to apply the Rayleigh damping. The default is [0,2] which uses the first and third mode.
Kswitch (int, optional) – Use it to define which stiffness matrix should be used for the ramping. The default is 1 that uses initial stiffness. Input 2 for current stifness.
Tol (float, optional) – Tolerance for the analysis. The default is 1e-4 because it uses the NormUnbalance test.
- Returns:
tiempo (numpy array) – Numpy array with analysis time.
techo (numpy array) – Displacement of the control node.
Eds – Numpy array with the forces in the elements (columns and beams). The order is determined by the order used in the input variable elements. The array has three dimensions. The first one is the element, the second one the pushover instant and the third one is the DOF.
node_disp (numpy array) – Displacement at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
node_vel (numpy array) – Velocity at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
node_acel (numpy array) – Relative displacement at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
drift (numpy array) – Drift at story of the building. Each column correspond to a node and each row to an analysis instant.
Eds – Numpy array with the forces in the elements (columns and beams). The order is determined by the order used in the input variable elements. The array has three dimensions. The first one is the element, the second one the pushover instant and the third one is the DOF.
residual_drift (numpy array) – Residual drift at each story of the building, extracted from the last 2 seconds of free vibration.
node_acel_abs (numpy array) – Absolute acceleration at each node in nodes_control.
- opseestools.analisis.dinamicoIDA4R(recordName, dtrec, nPts, dtan, fact, damp, IDctrlNode, IDctrlDOF, columns, beams, ele, der, elements, nodes_control, modes=[0, 2], Kswitch=1, Tol=0.0001)
Performs a dynamic analysis for a ground motion, recording information about displacements, velocity, accelerations, forces. Only allows elements with six DOF.
- Parameters:
recordName (string) – Name of the record including file extension (i.e., ‘GM01.txt’). It must have one record instant per line.
dtrec (float) – time increment of the record.
nPts (integer) – number of points of the record.
dtan (float) – time increment to be used in the analysis. If smaller than dtrec, OpenSeesPy interpolates.
fact (float) – scale factor to apply to the record.
damp (float) – Damping percentage in decimal (i.e., use 0.03 for 3%).
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
columns (list) – List with the column tags to record information. Information will be recorded in the same order as input.
beams (list) – List with the beam tags to record information. Information will be recorded in the same order as input..
ele (list) – tags of diagonal strut elements of the walls. Input them pair-wise for the walls, i.e., the two of each walls at the time.
der (float) – limit drift for each wall
elements (list) – elements to record forces and stresses.
nodes_control (list) – nodes to compute displacements and inter-story drift. You must input one per floor, otherwise you’ll get an error.
modes (list, optional) – Modes of the structure to apply the Rayleigh damping. The default is [0,2] which uses the first and third mode.
Kswitch (int, optional) – Use it to define which stiffness matrix should be used for the ramping. The default is 1 that uses initial stiffness. Input 2 for current stifness.
Tol (float, optional) – Tolerance for the analysis. The default is 1e-4 because it uses the NormUnbalance test.
- Returns:
tiempo (numpy array) – Numpy array with analysis time.
techo (numpy array) – Displacement of the control node.
Eds (numpy array) – Numpy array with the forces in the elements (columns and beams). The order is determined by the order used in the input variable elements. The array has three dimensions. The first one is the element, the second one the pushover instant and the third one is the DOF.
f_puntalA (numpy array) – Numpy array with the forces in the struts (odds).
f_puntalB (numpy array) – Numpy array with the forces in the struts (even).
node_disp (numpy array) – Displacement at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
node_vel (numpy array) – Velocity at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
node_acel (numpy array) – Relative displacement at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
drift (numpy array) – Drift at story of the building. Each column correspond to a node and each row to an analysis instant.
- opseestools.analisis.dinamicoIDA4T(recordName, dtrec, nPts, dtan, fact, damp, IDctrlNode, IDctrlDOF, elements, nodes_control, modes=[0, 2], Kswitch=1, Tol=1e-08)
Performs a dynamic analysis for a ground motion, recording information about displacements, velocity, accelerations, forces. Only allows elements with six DOF. Returns the period at the end of the analysis.
- Parameters:
recordName (string) – Name of the record including file extension (i.e., ‘GM01.txt’). It must have one record instant per line.
dtrec (float) – time increment of the record.
nPts (integer) – number of points of the record.
dtan (float) – time increment to be used in the analysis. If smaller than dtrec, OpenSeesPy interpolates.
fact (float) – scale factor to apply to the record.
damp (float) – Damping percentage in decimal (i.e., use 0.03 for 3%).
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
elements (list) – elements to record forces and stresses.
nodes_control (list) – nodes to compute displacements and inter-story drift. You must input one per floor, otherwise you’ll get an error.
modes (list, optional) – Modes of the structure to apply the Rayleigh damping. The default is [0,2] which uses the first and third mode.
Kswitch (int, optional) – Use it to define which stiffness matrix should be used for the ramping. The default is 1 that uses initial stiffness. Input 2 for current stifness.
Tol (float, optional) – Tolerance for the analysis. The default is 1e-4 because it uses the NormUnbalance test.
- Returns:
tiempo (numpy array) – Numpy array with analysis time.
techo (numpy array) – Displacement of the control node.
Eds – Numpy array with the forces in the elements (columns and beams). The order is determined by the order used in the input variable elements. The array has three dimensions. The first one is the element, the second one the pushover instant and the third one is the DOF.
node_disp (numpy array) – Displacement at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
node_vel (numpy array) – Velocity at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
node_acel (numpy array) – Relative displacement at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
drift (numpy array) – Drift at story of the building. Each column correspond to a node and each row to an analysis instant.
Tf (float) – Period at the end of the analysis
- opseestools.analisis.dinamicoIDA5(acceleration, dtrec, nPts, dtan, fact, damp, IDctrlNode, IDctrlDOF, elements, nodes_control, modes=[0, 2], Kswitch=1, Tol=1e-08)
Performs a dynamic analysis for a ground motion, recording information about displacements, velocity, accelerations, forces. Only allows elements with six DOF.
- Parameters:
acceleration (array) – array with the acceleration.
dtrec (float) – time increment of the record.
nPts (integer) – number of points of the record.
dtan (float) – time increment to be used in the analysis. If smaller than dtrec, OpenSeesPy interpolates.
fact (float) – scale factor to apply to the record.
damp (float) – Damping percentage in decimal (i.e., use 0.03 for 3%).
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
elements (list) – elements to record forces and stresses.
nodes_control (list) – nodes to compute displacements and inter-story drift. You must input one per floor, otherwise you’ll get an error.
modes (list, optional) – Modes of the structure to apply the Rayleigh damping. The default is [0,2] which uses the first and third mode.
Kswitch (int, optional) – Use it to define which stiffness matrix should be used for the ramping. The default is 1 that uses initial stiffness. Input 2 for current stifness.
Tol (float, optional) – Tolerance for the analysis. The default is 1e-4 because it uses the NormUnbalance test.
- Returns:
tiempo (numpy array) – Numpy array with analysis time.
techo (numpy array) – Displacement of the control node.
Eds – Numpy array with the forces in the elements (columns and beams). The order is determined by the order used in the input variable elements. The array has three dimensions. The first one is the element, the second one the pushover instant and the third one is the DOF.
node_disp (numpy array) – Displacement at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
node_vel (numpy array) – Velocity at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
node_acel (numpy array) – Relative displacement at each node in nodes_control. Each column correspond to a node and each row to an analysis instant.
drift (numpy array) – Drift at story of the building. Each column correspond to a node and each row to an analysis instant.
- opseestools.analisis.gravedad()
Function to perform an static analysis
- Return type:
None.
- opseestools.analisis.pushover(Dmax, Dincr, IDctrlNode, IDctrlDOF)
Basic function to perform a pushover analysis. Lacks powerful convergence algorithms.
- Parameters:
Dmax (float) – target displacement.
Dincr (float) – displacement increment.
IDctrlNode (integer) – tag with the node for increment control.
IDctrlDOF (integer) – DOF of the pushover. Use 1 for x direction.
- Return type:
returns a file named techo.out with the pushover results.
- opseestools.analisis.pushover2(Dmax, Dincr, IDctrlNode, IDctrlDOF, norm=[-1, 1], Tol=1e-08)
Function to calculate the pushover
- Parameters:
Dmax (float) – Maximum displacement of the pushover.
Dincr (float) – Increment in the displacement.
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
norm (list, optional) – List that includes the roof displacement and the building weight to normalize the pushover and display the roof drift vs V/W plot. The default is [-1,1].
Tol (float, optional) – Norm tolerance. The default is 1e-8.
- Returns:
techo (numpy array) – Numpy array with the roof displacement recorded during the Pushover.
V (numpy array) – Numpy array with the base shear (when using an unitary patter) recorded during the Pushover. If pattern if not unitary it returns the multiplier
- opseestools.analisis.pushover2C(displ, Dincr, IDctrlNode, IDctrlDOF, norm=[-1, 1], Tol=0.0001)
Performs a cyclic pushover analysis of the structure.
- Parameters:
displ (list) – List with the peak displacement of the cycles of the pushover.
Dincr (float) – Displacement increment.
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
nodes_control (list) – nodes to compute displacements and inter-story drift. You must input one per floor, otherwise you’ll get an error.
Tol (float, optional) – Norm tolerance. The default is 1e-8.
- Returns:
techo (float) – Numpy array with the roof displacement recorded during the Pushover..
V (float) – Numpy array with the base shear (when using an unitary patter) recorded during the Pushover. If pattern if not unitary it returns the multiplier.
- opseestools.analisis.pushover2D(Dmax, Dincr, IDctrlNode, IDctrlDOF, nodes_control, norm=[-1, 1], Tol=1e-08)
Performs a pushover analysis extracting the inter-story drifts
- Parameters:
Dmax (float) – Maximum displacement of the pushover.
Dincr (float) – Increment in the displacement.
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
nodes_control (list) – nodes to compute displacements and inter-story drift. You must input one per floor, otherwise you’ll get an error.
norm (list, optional) – List that includes the roof displacement and the building weight to normalize the pushover and display the roof drift vs V/W plot. The default is [-1,1].
Tol (float, optional) – Norm tolerance. The default is 1e-8.
- Returns:
techo (float) – Numpy array with the roof displacement recorded during the Pushover..
V (float) – Numpy array with the base shear (when using an unitary patter) recorded during the Pushover. If pattern if not unitary it returns the multiplier.
drift (float) – Numpy array with the interstory drif of each building story at each pushover instant. Columns are the nodes and rows are pushover instants..
- opseestools.analisis.pushover2DB(Dmax, Dincr, IDctrlNode, IDctrlDOF, norm=[-1, 1], Tol=1e-08, odb=1, odbtag=1001)
Function to calculate the pushover
- Parameters:
Dmax (float) – Maximum displacement of the pushover.
Dincr (float) – Increment in the displacement.
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
norm (list, optional) – List that includes the roof displacement and the building weight to normalize the pushover and display the roof drift vs V/W plot. The default is [-1,1].
Tol (float, optional) – Norm tolerance. The default is 1e-8.
- Returns:
techo (numpy array) – Numpy array with the roof displacement recorded during the Pushover.
V (numpy array) – Numpy array with the base shear (when using an unitary patter) recorded during the Pushover. If pattern if not unitary it returns the multiplier
- opseestools.analisis.pushover2DRot(Dmax, Dincr, IDctrlNode, IDctrlDOF, nodes_control, elements, Tol=0.0001)
Performs a pushover analysis extracting the inter-story drifts
- Parameters:
Dmax (float) – Maximum displacement of the pushover.
Dincr (float) – Increment in the displacement.
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
nodes_control (list) – nodes to compute displacements and inter-story drift. You must input one per floor, otherwise you’ll get an error.
elements (list) – elements to record rotations
norm (list, optional) – List that includes the roof displacement and the building weight to normalize the pushover and display the roof drift vs V/W plot. The default is [-1,1].
Tol (float, optional) – Norm tolerance. The default is 1e-8.
- Returns:
techo (float) – Numpy array with the roof displacement recorded during the Pushover..
V (float) – Numpy array with the base shear (when using an unitary patter) recorded during the Pushover. If pattern if not unitary it returns the multiplier.
drift (float) – Numpy array with the interstory drif of each building story at each pushover instant. Columns are the nodes and rows are pushover instants..
Prot (float) – Numpy array with the rotations
- opseestools.analisis.pushover2MP(Dmax, Dincr, IDctrlNode, IDctrlDOF, norm=[-1, 1], Tol=1e-08)
- opseestools.analisis.pushover2R(Dmax, Dincr, IDctrlNode, IDctrlDOF, ele, der, nodes_control, elements, norm=[-1, 1], Tol=1e-08)
Function that calculates the pushover, recording information about beams, columns and infills. Allows the removal of infills.
- Parameters:
Dmax (TYPE) – Maximum displacement of the pushover..
Dincr (TYPE) – Increment in the displacement..
IDctrlNode (TYPE) – control node during the pushover.
IDctrlDOF (TYPE) – DOF for the displacement.
ele (TYPE) – tags of diagonal strut elements of the walls. Input them pair-wise for the walls, i.e., the two of each walls at the time..
der (TYPE) – limit drift for each wall.
nodes_control (TYPE) – control nodes to record information. Input one per floor in order to get inter-story drifts. Otherwise you will get an error..
elements (TYPE) – element tags to record forces (columns and beams).
norm (list, optional) – List that includes the roof displacement and the building weight to normalize the pushover and display the roof drift vs V/W plot. The default is [-1,1].
Tol (float, optional) – tolerance for the analysis. The default is 1e-8.
- Returns:
techo (TYPE) – Numpy array with the roof displacement recorded during the Pushover..
V (TYPE) – Numpy array with the base shear (when using an unitary pattern) recorded during the Pushover. If pattern if not unitary it returns the multiplier.
Eds (TYPE) – Numpy array with the forces in the elements (columns and beams). The order is determined by the order used in the input variable elements. The array has three dimensions. The first one is the element, the second one the pushover instant and the third one is the DOF.
f_puntalA (TYPE) – Numpy array with the forces in the struts (odds).
f_puntalB (TYPE) – Numpy array with the forces in the struts (even).
node_disp (TYPE) – Numpy array with displacements in the DOF specified in IDctrlDOF, of the nodes defined in the input variable nodes_control..
drift (TYPE) – Numpy array with the interstory drif of each building story at each pushover instant. Columns are the nodes and rows are pushover instants..
unicos2 (TYPE) – Numppy arrays that indicates the pushover instants where struts are present..
- opseestools.analisis.pushover2R_Rot_def(Dmax, Dincr, IDctrlNode, IDctrlDOF, columns, beams, ele, der, nodes_control, elements, id_s, id_c, norm=[-1, 1], Tol=1e-08)
Performs a pushover extracting rotations, element forces, drift ratios, node displacements.
- Parameters:
Dmax (float) – Maximum displacement of the pushover.
Dincr (float) – Increment in the displacement.
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
columns (list) – List with the column tags to record information. Information will be recorded in the same order as input.
beams (list) – List with the beam tags to record information. Information will be recorded in the same order as input..
ele (list) – tags of diagonal strut elements of the walls. Input them pair-wise for the walls, i.e., the two of each walls at the time.
der (float) – limit drift for each wall
nodes_control (list) – nodes to compute displacements and inter-story drift. You must input one per floor, otherwise you’ll get an error..
elements (list) – beam and column elements in one single list.
id_s (int) – ID of the steel material.
id_c (int) – ID of the concrete material.
norm (list, optional) – List that includes the roof displacement and the building weight to normalize the pushover and display the roof drift vs V/W plot. The default is [-1,1].
Tol (float, optional) – Norm tolerance. The default is 1e-8.
- Returns:
techo (float) – Numpy array with the roof displacement recorded during the Pushover..
V (float) – Numpy array with the base shear (when using an unitary patter) recorded during the Pushover. If pattern if not unitary it returns the multiplier.
Eds (float) – Numpy array with the forces in the elements (columns and beams). The order is determined by the order used in the input variable elements. The array has three dimensions. The first one is the element, the second one the pushover instant and the third one is the DOF.
f_puntalA (float) – Numpy array with the forces in the struts (odds).
f_puntalB (float) – Numpy array with the forces in the struts (even).
node_disp (float) – Numpy array with displacements in the DOF specified in IDctrlDOF, of the nodes defined in the input variable nodes_control..
drift (float) – Numpy array with the interstory drif of each building story at each pushover instant. Columns are the nodes and rows are pushover instants..
unicos2 (float) – Numppy arrays that indicates the pushover instants where struts are present..
Prot_cols (float) – Numpy array with the rotation at the columns specified in columns.
Prot_beams (float) – Numpy array with the rotation at the columns specified in columns.
fiber_s (float) – Numpy array with the stress at steel at the columns specified in columns.
fiber_c (float) – Numpy array with the stress at steel at the columns specified in columns.
- opseestools.analisis.pushover2Rot(Dmax, Dincr, IDctrlNode, IDctrlDOF, elements, norm=[-1, 1], Tol=1e-08, forces=False)
- Parameters:
Dmax (float) – Maximum displacement of the pushover.
Dincr (float) – Increment in the displacement.
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
elements (list) – beam and column elements in one single list to record rotations.
norm (list, optional) – List that includes the roof displacement and the building weight to normalize the pushover and display the roof drift vs V/W plot. The default is [-1,1].
Tol (float, optional) – Norm tolerance. The default is 1e-8.
- Returns:
techo (float) – Numpy array with the roof displacement recorded during the Pushover..
V (float) – Numpy array with the base shear (when using an unitary patter) recorded during the Pushover. If pattern if not unitary it returns the multiplier.
PRot (float) – Numpy array with the rotation at the specified elements.
- opseestools.analisis.pushover2T(Dmax, Dincr, IDctrlNode, IDctrlDOF, norm=[-1, 1], Tol=1e-08)
Function to calculate the pushover and the building period during this one.
- Parameters:
Dmax (float) – Maximum displacement of the pushover.
Dincr (float) – Increment in the displacement.
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
norm (list, optional) – List that includes the roof displacement and the building weight to normalize the pushover and display the roof drift vs V/W plot. The default is [-1,1].
Tol (float, optional) – Norm tolerance. The default is 1e-8.
- Returns:
techo (numpy array) – Numpy array with the roof displacement recorded during the Pushover.
V (numpy array) – Numpy array with the base shear (when using an unitary pattern) recorded during the Pushover. If pattern is not unitary it returns the multiplier
T (numpy array) – Numpy array with the building period recorded during the Pushover.
- opseestools.analisis.pushover3T(Dmax, Dincr, IDctrlNode, IDctrlDOF, elements, norm=[-1, 1], Tol=1e-08)
Function to calculate the pushover
- Parameters:
Dmax (float) – Maximum displacement of the pushover.
Dincr (float) – Increment in the displacement.
IDctrlNode (int) – control node for the displacements.
IDctrlDOF (int) – DOF for the displacement.
elements (list) – elements to record forces and stresses.
norm (list, optional) – List that includes the roof displacement and the building weight to normalize the pushover and display the roof drift vs V/W plot. The default is [-1,1].
Tol (float, optional) – Norm tolerance. The default is 1e-8.
- Returns:
techo (numpy array) – Numpy array with the roof displacement recorded during the Pushover.
V (numpy array) – Numpy array with the base shear (when using an unitary pattern) recorded during the Pushover. If pattern is not unitary it returns the multiplier
T (numpy array) – Numpy array with the building period recorded during the Pushover.
Eds – Numpy array with the forces in the elements (columns and beams). The order is determined by the order used in the input variable elements. The array has three dimensions. The first one is the element, the second one the pushover instant and the third one is the DOF.
Strains – Strain at the macrofibers of the wall. Records eight.
cStress – Concrete stress at the macrofibers of the wall. Records eight.
sStress – Steel stress at the macrofibers of the wall. Records eight.
- opseestools.analisis.pushover3Tn(Dmax, Dincr, IDctrlNode, IDctrlDOF, elements, norm=[-1, 1], Tol=1e-08)
- opseestools.analisis.removal(nodeI, nodeJ, ele, der)
- opseestools.analisis.removalTH(nodeI, nodeJ, ele, der)
- opseestools.analisis.removalTH2(nodeI, nodeJ, ele, der)