Trigonometric
A Trigonometric Time Series defines a time–history where the load factor varies sinusoidally in time. In Alpaca4d (following OpenSees) it is typically defined as:
over a specified active interval , where:
is the amplitude,
is the period,
is a phase shift in time.
This is useful for modelling harmonic / cyclic loading such as machine vibrations or idealised base excitations.
🔧 Grasshopper component
The Trigonometric Time Series (Alpaca4d) component constructs a periodic (sine) time series with user‑controlled time window, period and amplitude.
Inputs
TStart: Start time .
Type: Number
Default:
0.0Effect: For the load factor is zero.
TEnd: End time .
Type: Number
Requirement: . For $$$t > t_\text{end} $$ the load factor is usually zero.
Period: Period $ T $ of the sinusoidal function $[s]$.
Type: Number
Effect: Controls the frequency of oscillation.
Shift: Time shift .
Type: Number
Default:
0.0Effect: Moves the sine wave left/right in time (phase shift).
LoadFactor: Amplitude of the sine wave.
Type: Number
Default:
1.0.
Outputs
TimeSeries: Alpaca4d
Trigonometrictime series object.Graph: A list of values representing the sinusoidal time–history between TStart and TEnd.
📈 When to use a trigonometric time series
Use it when
You need harmonic / cyclic loading with a well‑defined frequency (e.g. machine vibration, idealised sinusoidal base motion).
You want to control the number of cycles in a given time window via
TStart,TEndandPeriod.You are performing parametric studies on frequency–dependent response.
Do not use it when
The excitation is non‑periodic or irregular (e.g. real earthquake records) → use a Path time series.
The loading is simply constant or linearly varying → use Constant or Linear time series.
🔗 Relation to OpenSees
Alpaca4d’s trigonometric time series corresponds to the OpenSees Trig timeSeries:
timeSeries Trig $tag $tStart $tEnd $period -shift $shift -factor $cFactortimeSeries('Trig', tag, tStart, tEnd, period,
'-shift', shift,
'-factor', cFactor)where:
TStart, TEnd, Period, Shift, LoadFactor in the Grasshopper component map directly to
tStart,tEnd,period,shift,cFactorin the OpenSees commands.
Last updated