3.4.2. getLoadFactor Command
This command returns the current load factor of a load pattern, i.e. the factor by which the reference loads of the pattern are multiplied, as given by its timeSeries Command at the time of the last analysis step.
- getLoadFactor $patternTag
factor = ops.getLoadFactor(patternTag)
Argument |
Type |
Description |
|---|---|---|
$patternTag |
integer |
tag of the load pattern |
Note
The load factor is updated when the loads are applied, i.e. at each analysis step. Changing the time with setTime Command does not change it until the next step.
Example:
The following example sets the variable lambda to the current load factor of load pattern 1.
set lambda [getLoadFactor 1]
lam = ops.getLoadFactor(1)
Code Developed by: fmk