3.1.11.6. Rectangular Time Series
This command is used to construct a TimeSeries object in which the load factor is constant for a specified period and 0 otherwise, i.e. \(\lambda = f(t) = \begin{cases} \text{cFactor}, &\text{tStart} <= t <= \text{tFinish}\\ \text{0.0}, &\text{otherwise}\\ \end{cases}\)
- timeSeries Rectangular $tag $tStart $tEnd <-factor $cFactor>
- timeSeries Rectangular $tag $tStart $tFinish $period <-shift $shift> <-factor $cFactor>
Argument |
Type |
Description |
---|---|---|
$tag |
integer |
unique tag among TimeSeries objects. |
$tStart |
float |
starting time of non-zero load factor |
$tFinish |
float |
ending time of non-zero load factor |
$cFactor |
float |
the load factor applied (optional: default=1.0) |
Example:
The following code demonstrates how user would create a trigonometric time series with a tag of 1, has a start time of 0.0, an end time of 10.0, and a max load factor of 2.0.
Tcl Code
timeSeries Rectangular 1 0.0 10.0 -factor 2.0
Python Code
timSeries('Rectangular', 1, 0.0, 10.0, '-factor', 2.0)
Code Developed by: fmk