.. _MPAccTimeSeries: MPAcc TimeSeries **************** This command is used to construct a TimeSeries object whose load factor is the ground acceleration of the Mavroeidis and Papageorgiou (M&P) velocity pulse model. The model represents the velocity pulse of near-fault ground motions, and can be used as the acceleration history of a :ref:`uniformExcitation` pattern. Outside the interval tStart to tEnd the load factor is 0.0. .. figure:: figures/MPAccTimeSeries.png :align: center :figclass: align-center MPAcc Time Series .. tabs:: .. tab:: Tcl .. function:: timeSeries MPAcc $tag $tStart $tEnd $period <-gammaMP $gammaMP> <-nuMP $nuMP> <-AFactor $AFactor> .. tab:: Python .. code-block:: python ops.timeSeries('MPAcc', tag, tStart, tEnd, period, '-gammaMP', gammaMP, '-nuMP', nuMP, '-AFactor', AFactor) .. csv-table:: :header: "Argument", "Type", "Description" :widths: 10, 10, 40 $tag, |integer|, unique tag among TimeSeries objects $tStart, |float|, start time of the non-zero load factor $tEnd, |float|, end time of the non-zero load factor $period, |float|, "period of the pulse, :math:`T_p`" $gammaMP, |float|, :math:`\gamma`: controls the number of oscillations in the pulse (optional: default = 1.0) $nuMP, |float|, :math:`\nu`: phase angle of the pulse **in degrees** (optional: default = 90.0) $AFactor, |float|, :math:`A`: amplitude of the velocity pulse (optional: default = 1.0) .. admonition:: Example: The following example creates an MPAcc time series with tag **1**, a start time of **0.0**, an end time of **10.0**, a pulse period of **5.0**, :math:`\gamma` = **1.0**, :math:`\nu` = **90** degrees and a velocity amplitude of **2.0**. .. tabs:: .. tab:: Tcl .. code-block:: tcl timeSeries MPAcc 1 0.0 10.0 5.0 -gammaMP 1.0 -nuMP 90 -AFactor 2.0 .. tab:: Python .. code-block:: python ops.timeSeries('MPAcc', 1, 0.0, 10.0, 5.0, '-gammaMP', 1.0, '-nuMP', 90, '-AFactor', 2.0) .. admonition:: Reference: Mavroeidis, G.P., and Papageorgiou, A.S., "A Mathematical Representation of Near-Fault Ground Motions," Bulletin of the Seismological Society of America, 93(3), 1099-1131, 2003. Code Developed by: **Tang S.**