TriangularTimeSeries
TriangularTimeSeries
TriangularTimeSeries(tStart: float = 0.0, tEnd: float = 1.0, period: float = 1.0, factor: float = 1.0, shift: float = 0.0)
Bases: TimeSeries
Triangular-wave load-factor time series.
This time series generates a triangular wave between tStart and
tEnd. It is useful for cyclic or piecewise-linear load-factor histories
in dynamic analyses.
Tcl form
timeSeries Triangular <tag> <tStart> <tEnd> <period>
-factor <factor> -shift <shift>
Attributes:
| Name | Type | Description |
|---|---|---|
tStart |
Start time of the triangular wave. |
|
tEnd |
End time of the triangular wave. |
|
period |
Wave period. |
|
factor |
Scale factor for wave amplitude. |
|
shift |
Phase shift applied to the wave. |
Example
Create a triangular time series.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tStart
|
float
|
Start time of the triangular wave. |
0.0
|
tEnd
|
float
|
End time of the triangular wave. |
1.0
|
period
|
float
|
Period of the triangular wave. |
1.0
|
factor
|
float
|
Scale factor applied to the wave amplitude. |
1.0
|
shift
|
float
|
Phase shift applied to the wave. |
0.0
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If numeric arguments are invalid, if |