SignalProcessing
ResponseSpectrum
plot the response spectrum of a signal
Calling Sequence
Parameters
Options
Description
Examples
References
Compatibility
ResponseSpectrum(data, timeStep, dT, maxT)
ResponseSpectrum(dataT, dataA, timeStep, dT, maxT)
data
-
rtable(numeric) : 2-D rtable where column 1 is time and column 2 is acceleration for the time-acceleration history
dataT, dataA
rtable(numeric) : 1-D rtables containing, respectively, the time and acceleration for the time-acceleration history
timeStep
numeric : positive time step of input time-acceleration data and output velocity/displacement-time history
dT
numeric : positive time step of period in output spectrum
maxT
numeric : positive maximum period in output spectrum
zeta : numeric : Non-negative damping ratio, with default 0.05.
beta : numeric : First non-negative constant which determines the discretization scheme for the equation of motion, with default 0.25.
gamma : numeric : Second non-negative constant which determines the discretization scheme for the equation of motion, with default 0.5.
periodfrequency : identical(period, frequency) : One of the names period (default) or frequency.
xscale : identical(log, linear) : One of the names log or linear (default).
yscale : identical(log, linear) : One of the names log or linear (default).
output : The type of output. The supported options are:
absoluteaccelerationdata: Vector, of datatype float[8], containing the absolute acceleration data.
absoluteaccelerationplot: Plot of the absolute acceleration versus period.
accelerationdata: Vector, of datatype float[8], containing the acceleration data.
accelerationplot: Plot of the acceleration versus time.
displacementdata: Vector, of datatype float[8], containing the displacement data.
displacementplot: Plot of the displacement versus time.
perioddata: Vector, of datatype float[8], containing the period data.
pseudoaccelerationdata: Vector, of datatype float[8], containing the pseudospectral acceleration data.
pseudoaccelerationplot: Plot of the pseudospectral acceleration versus period.
pseudovelocitydata: Vector, of datatype float[8], containing the pseudospectral velocity data.
pseudovelocityplot: Plot of the pseudospectral velocity versus period.
relativedisplacementdata: Vector, of datatype float[8], containing the relative displacement response spectrum data.
relativedisplacementplot: Plot of the relative displacement response spectrum versus period.
relativevelocitydata: Vector, of datatype float[8], containing the relative velocity response spectrum data.
relativevelocityplot: Plot of the relative velocity response spectrum versus period.
timedata: float[8] Vector of the time data.
velocitydata: Vector, of datatype float[8], containing the velocity data.
velocityplot: Plot of the velocity versus time.
record: Returns a record with the previous options. This is the default.
list of any of the above options: Returns an expression sequence with the corresponding outputs, in the same order.
A response spectrum is a plot of how a structure or system responds to varying frequencies of ground motion or input excitation. It is commonly used in structural engineering and earthquake engineering to assess the potential response of a structure to seismic events.
A response spectrum is generated by calculating the maximum response of a structure to different frequencies of ground motion. An acceleration time history is used to perturb a single degree of freedom harmonic oscillator. Typically period is plotted on the x-axis against acceleration, velocity or position on the y-axis.
This procedure computes the response spectrum of an input accelerogram (time-acceleration history). It numerically solves the differential equation for a harmonic oscillator with one degree of freedom.
The parameters β, γ, and ζ are the same as those described in the Newmark-beta Method.
with⁡SignalProcessing:
datafile≔FileTools:-JoinPath⁡kernelopts⁡datadir,datasets,el-centro_NS.txt:
data≔ImportMatrix⁡datafile,delimiter= :
results≔ResponseSpectrum⁡data,0.02,0.01,5,ζ=0.02,β=0.25,γ=0.5:
The primary content of the record returned by ResponseSpectrum are a number of charts:
results:-absoluteaccelerationplot
results:-relativevelocityplot
results:-relativedisplacementplot
results:-pseudovelocityplot
results:-pseudoaccelerationplot
results:-displacementplot
results:-velocityplot
results:-accelerationplot
Additional raw data used to generate these plots are available in other slots of the record.
results:-perioddata
0.01000000000000000.02000000000000000.03000000000000000.04000000000000000.05000000000000000.06000000000000000.07000000000000000.08000000000000000.09000000000000000.100000000000000⋮500 element Vector[column]
results:-absoluteaccelerationdata
3.149272711915293.460900611171493.430632754295844.113151246132684.907072706385835.881662704465225.800567514811566.007244713871796.632199417509286.67043185549458⋮500 element Vector[column]
results:-relativevelocitydata
0.0005213844528153720.002269685417095480.006719556493726300.01399733862388650.02669956292211430.03769590349687110.04261564965430020.04598744001757740.06653646500492950.0898241053504349⋮500 element Vector[column]
results:-relativedisplacementdata
7.97748506689015×10−60.00003493327342513450.00007146633515255570.0001391746408568990.0002724142469228230.0004130025261813140.0004794237072244020.0007607604068166110.0008909899350652400.00125610883541503⋮500 element Vector[column]
results:-pseudovelocitydata
0.005012401696052880.01097461151582460.01496787423295030.02186150146410150.03423258387463740.04324952340550810.04303297133065620.05974998262992620.06220283187607560.0789236457889815⋮500 element Vector[column]
results:-pseudoaccelerationdata
3.149384869032153.447775891411663.134864248672853.433996619803194.301793360558304.529079500066803.862630474129424.692752662057354.342576881208014.95891891610375⋮500 element Vector[column]
results:-velocitydata
0.0.0009751140000000000.001429317000000000.001946304000000000.003109770000000000.004919715000000000.006655104000000000.007595883000000000.007742052000000000.00797749200000000⋮1560 element Vector[column]
results:-displacementdata
0.9.75114000000000×10−60.00003379545000000000.00006755166000000000.0001181124000000000.0001984072500000000.0003141554400000000.0004566653100000000.0006100446600000000.000767240100000000⋮1560 element Vector[column]
Aeran, Ashish and Hirpa G. Lemu. "Time Integration Schemes in Dynamic Problems: Effect of Damping on Numerical Stability and Accuracy". International Workshop of Advanced Manufacturing and Automation (IWAMA), pp. 213-220. Atlantis Press, 2016.
"Newmark-beta Method", Wikipedia. https://en.wikipedia.org/wiki/Newmark-beta_method
"Response Spectrum", Wikipedia. https://en.wikipedia.org/wiki/Response_spectrum
The SignalProcessing[ResponseSpectrum] command was introduced in Maple 2024.
For more information on Maple 2024 changes, see Updates in Maple 2024.
See Also
Download Help Document