Path TimeSeries: Difference between revisions
(Created page with 'This command is used to construct a Path TimeSeries object. The relationship between load factor and time is input by the user as a series of discrete points in the 2d space (loa…') |
No edit summary |
||
Line 4: | Line 4: | ||
{| | {| | ||
| style="background:yellow; color:black; width:800px" | ''' | | style="background:yellow; color:black; width:800px" | '''Path -dt $dt -values {list_of_values} <-factor $cFactor>''' | ||
|} | |} | ||
Line 10: | Line 10: | ||
{| | {| | ||
| style="background:yellow; color:black; width:800px" | ''' | | style="background:yellow; color:black; width:800px" | '''Path -dt $dt -filePath $filePath <-factor $cFactor>''' | ||
|} | |} | ||
Line 16: | Line 16: | ||
{| | {| | ||
| style="background:yellow; color:black; width:800px" | ''' | | style="background:yellow; color:black; width:800px" | '''Path -time {list_of_times} -values {list_of_values} <-factor $cFactor>''' | ||
|} | |} | ||
Line 22: | Line 22: | ||
{| | {| | ||
| style="background:yellow; color:black; width:800px" | ''' | | style="background:yellow; color:black; width:800px" | '''Path -fileTime $fileTime -filePath $filePath <-factor $cFactor>''' | ||
|} | |} | ||
Line 36: | Line 36: | ||
| '''$dT''' || time interval between specified points. | | '''$dT''' || time interval between specified points. | ||
|- | |- | ||
| '''{ | | '''{ list_of_times}''' || load factor values in a tcl list | ||
|- | |- | ||
| '''{ | | '''{ list_of_values}''' || time values in a tcl list | ||
|- | |- | ||
| '''$cFactor''' || optional, a factor to multiply load factors by (default = 1.0) | | '''$cFactor''' || optional, a factor to multiply load factors by (default = 1.0) | ||
Line 52: | Line 52: | ||
timeSeries Path 1 -dT 0.02 -filePath A-ELC270.AT2 $G | timeSeries Path 1 -dT 0.02 -filePath A-ELC270.AT2 $G | ||
timeSeries 2 -time {0.0 0.2 0.4 1.0} -values {0.0 1.0 2.0 0.0} | timeSeries Path 2 -time {0.0 0.2 0.4 1.0} -values {0.0 1.0 2.0 0.0} | ||
---- | ---- | ||
Code Developed by: <span style="color:blue"> fmk </span> | Code Developed by: <span style="color:blue"> fmk </span> |
Revision as of 00:17, 18 February 2010
This command is used to construct a Path TimeSeries object. The relationship between load factor and time is input by the user as a series of discrete points in the 2d space (load factor, time). The input points can come from a file or from a list in the script. When the time specified does not match any of the input points, linear interpolation is used between points. There are many ways to specify the load path:
For a load path where the factors are specified in a tcl list with a constant time interval between points:
Path -dt $dt -values {list_of_values} <-factor $cFactor> |
For a load path where the factors are specified in a file for a constant time interval between points:
Path -dt $dt -filePath $filePath <-factor $cFactor> |
For a load path where the values are specified at non-constant time intervals:
Path -time {list_of_times} -values {list_of_values} <-factor $cFactor> |
For a load path where both time and values are specified in a list included in the command
Path -fileTime $fileTime -filePath $filePath <-factor $cFactor> |
$tag | unique tag among TimeSeries objects. |
$filePath | file containing the load factors values |
$fileTime | file containing the time values for corresponding load factors |
$dT | time interval between specified points. |
{ list_of_times} | load factor values in a tcl list |
{ list_of_values} | time values in a tcl list |
$cFactor | optional, a factor to multiply load factors by (default = 1.0) |
NOTES:
- Linear interpolation between points.
- If time specified is beyond last point (AND WATCH FOR NUMERICAL ROUNDOFF), 0.0 is returned.
EXAMPLE
timeSeries Path 1 -dT 0.02 -filePath A-ELC270.AT2 $G
timeSeries Path 2 -time {0.0 0.2 0.4 1.0} -values {0.0 1.0 2.0 0.0}
Code Developed by: fmk