PeerNGAMotion: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
This command is used to construct a TimeSeries object which, similar to a Path TimeSeries, the load factor obtained is dependent on a series of points obtained from a file. The difference is that the file is obtained from the PeerNGA strong motion database using an internet connection.  
{{CommandManualMenu}}
 
This command is used to construct a TimeSeries object which, similar to a Path TimeSeries, the load factor obtained is dependent on a series of points obtained from a file. The difference is that the file is obtained from the [http://peer.berkeley.edu/nga/ Peer NGA strong motion database] using an internet connection.  


{|  
{|  
| style="background:yellow; color:black; width:800px" | '''uniaxialMaterial PeerNGA $tag $eqMotion $factor <-dT $dT> <-nPTS $nPts>'''
| style="background:yellow; color:black; width:800px" | '''timeSeries PeerNGAMotion $tag $eqMotion $factor <-dT $dT> <-NPTS $nPts>'''
|}
|}


Line 23: Line 25:
* If the time in the domain does not match a data point in record, linear interpolation is performed between nearest points in record.
* If the time in the domain does not match a data point in record, linear interpolation is performed between nearest points in record.
* The command can be used with the results obtained from the [[searchPeerNGA]] command (hence the craziness of the $eqMotion names).
* The command can be used with the results obtained from the [[searchPeerNGA]] command (hence the craziness of the $eqMotion names).
* An internet connection is required to run command.


EXAMPLE
EXAMPLE

Latest revision as of 05:33, 28 August 2013




This command is used to construct a TimeSeries object which, similar to a Path TimeSeries, the load factor obtained is dependent on a series of points obtained from a file. The difference is that the file is obtained from the Peer NGA strong motion database using an internet connection.

timeSeries PeerNGAMotion $tag $eqMotion $factor <-dT $dT> <-NPTS $nPts>

$tag unique tag among TimeSeries objects.
$eqMotion the PEER NGA name of the motion (a string containing the earthquake name, station & dirn)
$factor factor to be applied to the data points, if accel record type you want to specify G
$nPts optional, if provided will set the variable nPts equal to number of data points found in record
$dT optional, if provided will set the variable dT equal to time interval between points in the record


NOTES:

  • If the time in the domain does not match a data point in record, linear interpolation is performed between nearest points in record.
  • The command can be used with the results obtained from the searchPeerNGA command (hence the craziness of the $eqMotion names).
  • An internet connection is required to run command.

EXAMPLE

To create 2 time series for two horizontal motions recorded for the Borrego Mtn 1968-04-09 earthquake recorded at the USGS 117 El Centro Array #9 station

timeSeries PeerNGAMotion 1 /BORREGO/A-ELC180 $G -dT dt -NPTS nPts

timeSeries PeerNGAMotion 2 /BORREGO/A-ELC270 $G


Code Developed by: fmk