Peter Lorenz German smaller fonts Simulation und Animation

Standard Attributes and Functions


Preselection   A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Standard Attributes (SA) are methods or attributes of model element (entity) classes. Calling them they provide their current value. The following Table contains all Standard Attributes and functions of GPSS/H. Section 3.5. contains a user introduction to SAs.


SNA/SLA/SCA
or Function
Definition Entity Class Computed or/
Stored As
Remarks
ABS(xpr) Absolute value of xpr Math Function -> ABS(xpr) has the same type as xpr
AC1 Absolut Clock System Attribute REAL*8 AC1 measures the total simulated time that has elapsed since the start of a run or since the most recent execution of a CLEAR control statement or BCLEAR Block. The minimum value of the Absolute Clock is 0.
ACOS(xpr) Arc cosine of xpr Math Function INTEGER*4 
AN1 The number of Transactions in the assembly set to which the current transaction belongs. System Attribut, Transaction Atribute INTEGER*4 lf the current Transaction is the only member of its assembly set, AN1 has the value 1.
ASIN(xpr) Arc Sine of xpr Math Function REAL*8 Angles are measured in radians.
ATAN(xpr) Arc tangent of xpr Math Function REAL*8 Angles are measured in radians.
BVj The value of Boolean variable Bvariable INTEGER*4 lf Boolean Variable j is true, a value of 1 is returned, and if false, a value of 0 is returned.
C1 The Relative Clock of the system System Attribute REAL*8 C1 measures the simulated time that has elapsed since the start of a run or since the most recent execution of a RESETcontrol statement, BRESETBlock, CLEARcontrol statement, or BCLEARBlock. In models that have no RESETs, BRESETs, CLEARs or BCLEAR, C1 will always equal AC1. The minimum value of C1 is 0.
CAj Average contents of User Chain j User Chain REAL*8 Automatically maintained by GPSS/H
CCj Number of Transactions that have (ever) been placed on User Chain j User Chain INTEGER*4 Automatically maintained by GPSS/H
CHj Number of Transactions currently in the User Chain j User Chain INTEGER*4 Automatically maintained by GPSS/H
CHAR
(ixpr)
ASCII character corresponding to ixpr Data-conversion function VCHAR*1 The CHAR SCA takes an integer expression (ixp) valued from 0 through 255'as an argument, and returns the single ASCII character having the same decimal value as the argument. For example.: CHAR(10)returns an ASCII linefeed,CHAR (24)an ASCII formfeed, CHAR(42)an ASCII *, CHAR (169) the ASCII upper-left-corner box-drawing character, and so on.
CHARSTOF
(cxpr)
Floating point value represented in a character expression. Data conversion Function REAL*8 cxprA GPSS/H character constant or character Ampervariable that contains an ASCII representation of a number can be converted to a floating point data item by using the CHARSTOF SCA. . cxpr can consist only of optional leading blanks or tabs, followed by a valid integer or floating point number, followed by optional trailing blanks or tabs. A character representation of an invalid integer or floating point number will cause an execution error if supplied as input to CHARSTOF.
CHARSTOI
(cxpr)
Integer value represented in a character expression Data-conversion Function INTEGER*4 A GPSS/H character constant or character Ampervariable that contains an ASCII representation of an integer can be converted to an integer data item by using the CHARSTOI SCA. cxprcan consist only of optional leading blanks or tabs, followed by a valid integer, followed by optional trailing blanks or tabs. A character representation of a floating-point number, even if it is integer valued, will cause an execution error if supplied as input to CHARSTOL.
CMj Maximum number of Transactions on User Chain j. User Chain INTEGER*4 Automatically maintained by GPSS/H.
COS(xpr) Cosine of xpr Math Function REAL*8 Angles are measured in radians.
CTj Average time per Transaction spent on User Chain j. User Chain REAL*8 Automatically maintained by GPSS/H
CURDATE Current date. Miscellaneous Function VCHAR*11 The CURDATE SCA returns the current (instantaneous) date at any time during a simulation run. The date is returned in the format DD MMM YYYY.
CURTIME Current time. Miscellaneous Function VCHAR*8 The CURTIME SCA returns the current (instantaneous) time at any instant during a simulation run. The time is returned in the format HH:MM:SS.
ENTNUM
(code,
cxpr)
Returns the number associated with a named member of an entity class. Miscellaneous Function INTEGER*4 The ENTNUM SCA permits names read in as data during model execution to be used to access the corresponding entities in the model. The ENTNUM SCA compares a character expression to the symbolic names used in a given entity class in a GPSS/H model. The first operand (code) specifies the entity class, and the second operand (cxpr) specifies the name of a member of that class, for which the identifying number is to be determined. lf there is no member of the class having a symbolic name that matches cxpr, a value of 0 is returned; otherwise the number that was assigned to the symbolic name during compilation is returned. That number can then be used to access the entity. The name comparison is case-sensitive. For a listing of allowable code values, see the description of the REALLOCATE statement, in Section 3.3.
EXP(xpr) e to the xpr´th power. Math Function REAL*8 e is the base of natural logs.
Fj True if Facility j is currently (SEIZE) or (PREEMPT). Facility INTEGER*4 A value of 1 indicates that Facility Fj is either (SEIZEed) or (PREEMPTed). A value of 0 indicates that Facility Fj is neither (SEIZEed)nor (PREEMPTed). Note that a Transaction may be refused entry into a SEIZE or PREEMPT Block, even though the value of Fj is 0, if Facility j has been rendered unavailable by use of the FUNAVAIL Block.
FCj Number of Transactions to SEIZE or PREEMPT Facility j. Facility INTEGER*4 This count is incremented by 1 each time a Transaction succeeds in entering a SEIZE- oder PREEMPT Block referencing Facility j.
FIj True if Facility j is currently interrupted (PREEMPT) Facility INTEGER*4 Values of 1 and 0 indicate, respectively, that Facility j is currently PREEMPTed or not PREEMPTed.
FIX(xpr) The value of xpr converted to a fixed point value. Data conversion Function INTEGER*4 lf xpr is a floating point value, it is converted to an integer value by truncation; i.e., any fractional portion of the value is discarded. If a floating point value to be converted is greater than 2147483647 or less than 2147483648, the result of the FIX operator depends on which version of GPSS/H is in use. The PC and SPARC versions will issue execution warning messages and produce a result of 2147483647 if the floating point value was positive, or 2147483648 if it was negative. The IBM mainframe version simply produces an invalid result. No checks are made to verify the validity of the floating point value in the mainframe version.
FLT(xpr) The value of xpr converted to a floating point value. Data-conversion Function REAL*8 If xpr is an integer value, it is converted to a floating point value.
FNj The value of Function j Function REAL*8 See Abschnitt 3.6
FNIj True if Facility j is not currently interrupted (PREEMPT). Facility INTEGER*4 FNIj is the logical inverse of FIj.
FNSj True if Facility j is currently not SEIZEable; i.e., Facility j is currently (SEIZEd), (PREEMPTed), or unavailable. Facility INTEGER*4 FNSj is the logical inverse of FSj.
FNUj True if Facility j is currently not SEIZEable; i.e., Facility j is currently (SEIZEd), (PREEMPTed), or unavailable. Facility INTEGER*4 FNUj is the logical inverse of Fj.
FNVj True if Facility j is not currently available. Facility INTEGER*4 FNVj is the logical inverse of FVj
FPUj Unavailability degree for Facility j, expressed in parts per thousand. Facility REAL*8 Note thatFPUis expressed in parts per thousand. lf Facility MACH1 is 75 percent unavailable, FPU(MACH1)has a value of 750.0.
FPVj Percentage availability for Facility j in parts per thousand. Facility REAL*8 Note thatFPVis expressed in parts per thousand. lf Facility MACH1 is 75 percent unavailable, FPU(MACH1)has a value of 750.0.
FRj Utilization of Facility j, expressed in parts per thousand. FacilityREAL*8 Note thatFRjis expressed in parts per thousand. lf Facility MACH1 is 75 percent unavailable, FPU(MACH1)has a value of 750.0.
FRNj A pseudo-random number sampled from stream numberj. Random NumbeREAL*8 FRNj FRNj generates a floating point value, uniformly distributed over the interval (0.0,1.0) (end points excluded). For a detailed description of pseudo random number generation in GPSS/H , please refer to Section 3.4. See also the description of RNj.
FRUj Average utilization of Facility j while unavailable, expressed in parts per thousand. Facility REAL*8 FRU generates a floating point value, uniformly distributed over the interval (0.0,1.0) (end points excluded). For a detailed description of pseudo random number generation in GPSS/H, please refer to Section 4.9 of Chapter 4. See also the description of RNj.
FRVj Average utilization of Facility j while available, expressed in parts per thousand. FacilityREAL*8 FRV generates a floating point value, uniformly distributed over the interval (0.0,1.0) (end points excluded). For a detailed description of pseudo random number generation in GPSS/H, please refer to Section 4.9 of Chapter 4. See also the description of RNj.
FSj True if Facility j is currently SEIZEable; i.e., Facility j is neither (SEIZEd, PREEMPTed), nor unavailable. FacilityINTEGER*4 FSj is the logical inverse of FNSj.
FTj Average time per Transaction per "capture" of Facility j FacilityREAL*8 Automatically maintained by GPSSM.
FUj True if Facility j is currently SEIZEd or PREEMPTed. FacilityINTEGER*4 FUj FUAj is an alternate notation for Fj.
FUAj Average duration of periods of unavailability of Facility j FacilityREAL*8  
FUNj Number of periods of unavailability of Facility j FacilityINTEGER*4 
FUTj Total time Facility j was unavailable. FacilityREAL*8 
FVj True if Facility j is currently available. FacilityINTEGER*4 A Facility is made unavailable by use of the FUNAVAIL Block.
Gj AThe number of members currently in Group j . GroupINTEGER*2 Automatically maintained by GPSS/H.
Kj Integer constantj ConstantINTEGER*4 Was used in early versions of GPSS to specify the integer constant j.
LCj True if Logic Switch j is currently clear (off). Logic SwitchINTEGER*4 lf Logic Switch j is currently off, LCj has a value of 1; otherwise it has a value of 0. LCj is a synonym for LRj.
LEN(cxpr) Length of a character string. Character string FunctionINTEGER*4 TheLEN LEN SCA computes the length of a character expression. It is most frequently used to determine the "current" length of a VCHAR Ampervariable; however, it can be applied to any character expression. For a detailed description of the LEN SCA, please refer to Section 4.3.2.3 of Chapter 4.
LISDATE Run date as shown at top of listing file. Miscellaneous FunctionVCHAR*11 The LISDATE SCA returns the date that appears at the top of the standard CPSS/H listing file. The date is returned in the format DD MMM YYYY
LISTIME Run time as shown at top of listing file. Miscellaneous FunctionVCHAR*8 The LISTIME SCA returns the time that appears at the top of the standard GPSS/H listing file. The time is returned in the format HH:MM:SS
LOG(xpr) Natural log of xpr Math Function REAL*8 
LRj True if Logic Switch j is currently RESET (oft). LogikschalterINTEGER*4 lf Logic Switch j is currently off, LRj has a value of 1; otherwise it has a value of 0.
LSj True if Logic Switch j is currently SET(on). Logic SwitchINTEGER*4 lf Logic Switch j is currently on, LRj has a value of 1; otherwise it has a value of 0.
M1 Transit time of the current Transaction. Transaction Attribute REAL*8 M1 is computed as the difference between the current value of the Absolute Clock (AC1) and the Mark Time of the referenced Transaction. The Mark Time of a Transaction is set when it "escapes" from a GENERATE Block. lt can be changed by using a MARK Block.
MBj(r,c) The value of the element in row r, column c of Byte Matrix Savevalue j. Byte Matrix SavevalueINTEGER*1 Any Byte Matrix Savevalue referenced in a model must be defined in a MATRIX control statement.
MHj(r,c) The value of the element in row r, column c of Halfword Matrix Savevalue j. Halfword Matrix SavevalueINTEGER*2 Any Halfword Matrix Savevalue referenced in a model must be defined in a MATRIX control statement.
MLj(r,c) The value of the element in row r, column c of floating point Matrix Savevalue j. Floating point Matrix SavevalueREAL*8 Any floating point Matrix Savevalue referenced in a model must be defined in a MATRIX control statement.
MPjPB
MPjPF
MPjPH
MPjPL
Parameter-mode transit time for the referenced Transaction Parameter. Transaction Attribute REAL*8 MPj is computed as the difference between the current value of the Absolute Clock (AC1) and Parameter j. The type of Parameter j can be specified by appending a PF-, PH-, PB- oder PL suffix. Since the Absolute Clock is stored as a floating point value, use of Fullword, Halfword, or Byte Parameter modes should be rare Fractional clock values stored in integer type Parameters will be truncated.
MPBj Byte Parameter mode transit time Transaction Attribute REAL*8 MPBj is computed as the difference between the current value of the Absolute Clock (AC1) and Byte Parameter j. Since the Absolute Clock is stored as a floating point value, use of MPBj Should be rare. Fractional clock values stored in integer type Parameters will be truncated. Note that MPBj (prefix notation) is equivalent to MPjPB (suffix notation). und dem Byteparameter .
MPFj Fullword Parameter mode transit time Transaction Attribute REAL*8 MPFj is computed as the difference between the current value of the Absolute Clock (AC1) and Fullword Parameter j. Since the Absolute Clock is stored as a floating point value, use of MPFj should be rare. Fractional clock values stored in integer type Parameters will be truncated. Note that MPFj (prefix notation) is equivalent to MPjPF (suffix notation).
MPHj Halfword Parameter mode transit time j Transaction Attribute REAL*8 MPHj is computed as the difference between the current value of the Absolute Clock (AC1) and Halfword Parameter j. Since the Absolute Clock is stored as a floating point value, use of MPHj should be rare. Fractional clock values stored in integer type Parameters will be truncated Note that MPHj (prefix notation) is equivalent to MPjPH (suffix notation).
MPLj Floating Point Parameter mode transit time. Transaction Attribute REAL*8 MPLj is computed as the difference between the current value of the Absolute Clock (AC1) and Floating Point Parameter j. Note that MPLj (prefix notation) is equivalent to MPjPL (suffix notation).
MXj(r,c) The value of the element in row r, column c of Fullword Matrix Savevalue j. Fullword Matrix Savevalue INTEGER*4 Any Fullword Matrix Savevalue referenced in a model must be defined in a MATRIX control statement.
Nj The total number of Transactions to have successfully entered Block j . BlockINTEGER*4 Automatically maintained by GPSS/H.
NAC1 The next value of AC1, the system clock. System AttributeREAL*8 The move time of the first Transaction on the Future Events Chain; i.e., it will be the next value registered by the Absolute Clock, assuming no new events are scheduled.
PBj The value of Transaction Parameter j Byte Parameter INTEGER*1 
PFj Transaction Fullword Parameter j Fullword Parameter INTEGER*4 
PHj Transaction Halfword Parameter j. Halfword Parameter INTEGER*2 
PLj Transaction floating point Parameter j Floating point Parameter REAL*8 
PR Transaction priority. Transaction Attribute INTEGER*4 Every Transaction has a priority. The default priority value is 0.
Qj Current contents of Queue j. INTEGER*4 Incremented when a Transaction enters a QUEUE Block that references Queue j and decremented when a Transaction enters a DEPART Block that references Queue j.
QAj Average contents of Queue j QueueREAL*8 Automatically maintained by GPSS/H.
QCj Total number of units to enter Queue j. Queue INTEGER*4 QCj is incremented each time a Transaction enters a QUEUE Block that references Queue j . If a 8 operand is specified, QCj is incremented by the value of the B operand. If no 8 operand is specified, QCj is incremented by 1.
QMj Maximum contents of Queue j Queue INTEGER*4 Automatically maintained by GPSS/H.
QTj Average time per unit (for all units) in Queue j QueueREAL*8 Automatically maintained by GPSS/H. The QT SNA includes units which pass through a Queue in zero simulated time. The QX SNA excludes such units.
QXj Average time per unit (excluding units which pass through in zero simulated time) of Queue j. Queue REAL*8 Automatically maintained by GPSS/H. The QX SNA excludes units which pass through a Queue in zero simulated time. The QT SNA includes such units.
QZj Number of units which pass through Queue j in zero simulated time. QueueINTEGER*4 &Automatically maintained by GPSS/H.
Rj Remaining capacity of Storage j StorageINTEGER*4 Rj + Sj = capacity of Storage j
RNj A pseudo random number sampled from Random Number Stream j. Random Number INTEGER*4 or REAL*8 When used (directly) as a Function argument, RNj yields a REAL*8 result, uniformly distributed over the interval (0.0, 1.0) (end points excluded). In all other contexts, RNj yields an INTEGER*4 result, uniformly distributed over the interval [0,999] (end points included). For a detailed description of pseudo random number generation in GPSS/H, please refer to Section 4.9 of Chapter 4. See also the description of FRNj.
RNXj The position of the next sample to be drawn from Random Number Stream j. Random Number INTEGER*4 Values retrieved by using RNXj can be used in subsequent RMULT control statements or BRMULT Blocks to repeat prior sequences of random samples, or to resume sampling from the point at which prior sampling terminated.
For example, writing the RNXj values for all Random Number Streams into a disk file at the end of a run would enable continuation of random sampling in a subsequent run; i.e., sampling could take up where it left off.
RVBETA(j,alpha1,
alpha2
)
Beta distribution Random variate generatorREAL*8 Generates random variates from a beta distribution using Random Number stream j and shape parameters alpha1 and alpha2.
REAL alpha1 must be > 0.0
REAL alpha2 must be > 0.0.
RVBIN(j,trials,
prob
)
Binomial distribution Random-variate generator INTEGER*4 Generates random variates from a binomial distribution using Random Number stream j, number-of-trials parameter trials and probability parameter prob.
INTEGER trial must be > 0
REAL prob must be > minus infinite and < plus infinite
RVDUNI
(j,a,b)
Discrete Uniform distribution Random-variate generator INTEGER*4 Generates random variates from a discrete uniform distribution using Random Number stream j, lower_endpoint and upper-endpoint parameter. INTEGER lower_endpoint
INTEGER upper_endpoint
lower_endpoint <= upper_endpoint
RVERL(j,m,beta) M-Erlang distribution Random-variate generator REAL*8 Generates random variates from an M-Erlang distribution using Random Number stream j , Erlang-type parameter m
and scale parameter beta.
INTEGER m must be > 0
REAL beta must be > 0.0
RVEVA
(j,gamma,
beta
)
Extreme Value A distribution Random-variate generator REAL*8 Generates random variates from an extreme value A distribution using Random Number stream j, location parameter gamma and
scale parameter beta.
REAL gamma must be > - infinite and < infinite
REAL beta must be > 0.0
RVEVB
(j,gamma,beta)
Extreme Value B distribution Random-variate generator REAL*8 Generates random variates from an extreme value B distribution using Random Number stream j, location parameter gamma and
scale parameter beta.
REAL gamma must be > - infinite and < infinite
REAL beta must be > 0.0
RVEXPO
(j,mean)
Exponential distribution. Random-variate generator REAL*8 Generates random variates from an exponential distribution using Random Number stream j and mean parameter mean
REAL mean must be > 0.0
RVGAMA
(j,alpha,
beta
)
Gamma distribution Random-variate generator REAL*8 Generates random variates from a gamma distribution using Random Number stream j, shape parameter alpha and scale parameter beta.
REAL alpha must be > 0.0
REAL beta must be > 0.0
RVGEO
(j,prob)
Geometric distribution Random-variate generator INTEGER*4 Generates random variates from a geometric distribution using Random Number stream j and probability parameter prob
. REAL prob must be > 0.0 and < 1.0
RVIGAU
(j,alpha,
beta
)
Inverse Gaussian
distribution.
Random-variate generatorREAL*8 Generates random varlates from an inverse Gaussian distributilon using Random Number stream j, shape parameter alpha and scale parameter beta.
REAL alpha must > 0.0
REAL beta must > 0.0
RVIWEIB
(j,alpha,beta,gamma)
Inverted Weibull distribution Random-variate generator REAL*8 Generates random variates from an inverted Weibull distribution using Random Number stream j, shape parameter alpha, scale parameter beta and location parameter gamma.
REAL alpha must be > 0.0.
REAL beta must be > 0.0.
REAL gamma must be > - infinite and < + infinite.
RVJSB
(j,alpha1,
alpha2
)
Bounded-Johnson
distribution
Random-variate generator REAL*8 Generates random variates from a Bounded-Johnson distribution using Random Number stream j and shape parameter alpha1 and alpha2.
REAL alpha1 must be > - infinite and < + infinite
REAL alpha2 must be > 0.0
RVJSU
(j,alpha1,
alpha2
)
Unbounded-Johnsondistribution Random-variate generator REAL*8 Generates randam variates from an Unbounded-Johnson distribution using Random Number stream j and shape parameters alpha1 and alpha2.
REAL alpha1 must be > - infinite and < + infinite
REAL alpha2 must be > 0.0
RVLAP
(j,gamma,
beta
)
Laplace distribution Random-variate generatorREAL*8 Generates random variates from a Laplace distribution using Random Number stream j, location parameter gamma and scale parameter beta.
REAL gamma must be > - infinite and < + infinite
REAL beta must be > 0.0
RVLGTC(j,gamma,
beta
)
Logistic distribution Random-variate generator REAL*8 Generates random variates from a logistic distribution using Random Number stream j, location parameter gamma and scale parameter beta.
REAL gamma must be > - infinite and < + infinite
REAL beta must be > 0.0.
RVLLP(j,alpha,
beta
)
Log-Laplace distribution Random-variate generator REAL*8 Generates random variates from a log-Laplace distribution using Random Number stream j, shape parameter alpha and scale parameter beta.
REAL alpha must be > 0.0
REAL beta must be > 0.0
RVLNOR(j,mean,
variance
)
Lognormal distribution Random-variate generator REAL*8 Generates random variates from a Lognormal distribution using Random Number stream j, mean parameter mean and variance parameter variance.
REAL mean must be > 0.0
REAL variance must be > 0.0
RVNBIN
(j,
success,
prob
)
Negative Binomial distribution Random-variate generator REAL*8 Generates random variates from a negative binomial distribution using Random Number stream j, number-of-successes parameter success and probability parameter prob.
INTEGER success must be > 0
REAL prob must be > 0.0 and < 1.0
RVNORM
(j,mean,
std_dev
)
Normal distribution Random-variate generator REAL*8 Generates random variates from a normal distribution using Random Number stream j,mean parameter mean, and standard-deviation Parameter std_dev.
REAL mean must be > - infinite and < infinite
REAL std_dev must be >= 0.0.
RVPSSN
(j,mean)
Poisson distribution Random-variate generator REAL*8 Generates random variates from a Poisson distribution using Random Number stream j and mean parameter mean.
REAL mean must be > 0.0
RVPT5
(j,alpha,
beta
)
Pearson Type V distribution Random-variate REAL*8 Generates random variates from a Pearson Type V distribution using Randem Number stream j, shape Parameter alpha and scale parameter beta.
REAL alphamust be > 0.0
REAL beta must be > 0.0
RVPT6
(j,alpha1,
alpha2,
beta
)
Pearson Type VI distribution Random-variate generator REAL*8 Generates random variates from a Pearson Type VI distribution using Random Number streamj, shape parameters alpha1 and alpha2, and scale Parameter beta.
REAL alpha1must be > 0.0
REAL alpha2 must be > 0.0
REAL beta must be > 0.0
RVRWK
(j,alpha,
beta
)
Random-Walk distribution Random-variate generator REAL*8 Generates random variates from a random-walk distribution using Random Number stream j, shape parameter alpha and scale parameter beta.
REAL alpha must be > 0.0
REAL beta must be > 0.0
RVTRI
(j,min,
mode,max
)
Triangular distribution Random-variate generator REAL*8 Generates random variates from a triangular distribution using Random Number stream j, minimum value parameter min, mode parameter mode and maximum value parameter max
REAL min
REAL mode
REAL max
min <= mode <= max
RVUNI
(j,mean,
spread
)
Uniform distribution Random-variate generatorREAL*8 Generates random variates from a uniform distribution using Randorn Number stream j, mean parameter mean and spread parameter spread.
REAL mean must be > - infinite and < infinite
REAL spread must be > - infinite aud < infinite
RVWEIB
(j,alpha,
beta
)
Weibull distribution Random-variate generator REAL*8 Generates random varlates from a Weibull distribution using Random Nurnber stream j, shape parameter alpha and scale parameter beta.
REAL alpha must be > 0.0
REAL beta must be > 0.0
Sj Units of Storage j currently in use. StorageINTEGER*4 Rj + Sj = the capacity of Storage j
SAj Average contents of Storage j StorageREAL*8 Automatically maintained by CPSS/H.
SCj Total number of units to ENTER Storage j. Storage INTEGER*4 SCjis incremented each time a Transaction successfully enters an ENTER Block. If a B-operand is specified,SCjis incremented by the value of the B-operand; otherwise(the usual case),SCj is incremented by 1.
SEj Trueif Storage is currently empty. Storage INTEGER*4 lf Storage jis currently empty (Sj=0),SEj has a value of 1; otherwise,SEjhas a value of 0.
SFj True if Storage is currently full. StorageINTEGER*4 lf Storage jis currently full(Rj=0), SFj has a value of 1; otherwise SFjhas a value of 0.
SIN(xpr) Sine of xpr Math FunctionREAL*8 Angles are measured in radians.
SMj Maximum contents of Storage. StorageINTEGER*4  
SNEj True if Storage is not currently empty. StorageINTEGER*4 SNEj is the logical inverse of SEj.
SNFj True if Storage is not currently full. StorageINTEGER*4 SNFj is the logical inverse of SFj.
SNVj True if Storage is not currently available. StorageINTEGER*4 SNVj is the logical inverse of SVj.
SPUj Percentage unavailability for Storage j,expressed in parts per thousand. StorageREAL*8  
SPVj Percentage avallability for Storagej, expressed in parts per thousand. StorageREAL*8  
SQRT(xpr) Square root of xpr. Math FunctionREAL*8 xpr must be non-negative.
SRj Utilization of Storage j, expressedin parts per thousand. StorageREAL*8  
SRUj Average utilization of Storage j while unavailable, expressed in parts per thousand. StorageREAL*8  
SRVj Average utilization of Storage j while available, expressed in parts per thousand. StorageREAL*8  
SSG(c,s),
SSG(c,s,l)
Substring of character string c,from position s to the end of c. Substring of character string c,starting at position s, extending for a length of l.   Varying length character string In its two-operand form, the SSG SCA extracts a substring from a character expressionc. The extracted substring starts at position s of c (numbering is from 1 to the length of the string) and continues through the end of c. For a detailed description of the SSG SCA, please refer to Section Abschnitt 3.2: In its three-operand form, the SSG SCA extracts a substring from a character expression c. The extracted substring is of length l, starting at position s of c
(numbering is from 1 to the length of the string). Zero is an allawable length (resuiting in a null string). For a detailed description of the SSG SCA, please refer to Section Abschnitt 3.2.
STj Average time per unit through Storage j. StorageREAL*8  
SUAj Average duration of periods of unavailability of Storage j. Storage REAL*8  
SUNj Number of periods of unavailability of Storage j. Storage INTEGER*4  
SUTj Total time Storage j was unavailable Storage INTEGER*4  
SVj True if Storage j is currently available Storage INTEGER*4 If Storage j is currently available, SVj has a value of 1; otherwise SVj has a value of 0. A Storage can be made unavailable by using the SUNAVAILBlock.
SYM(code,
ixpr
)
Returns the name associated with a member of an entity class.   Varying length character string The primary use of the SYM SCA is to label model output. The first operand code specifies an entity class, and the second operand ixpr specifies the number of a member of that class, for which the symbolic name is to be determined. If a selected member has no symbolic name, the number of the member is converted to a character string. The value returned by the SYM SCA contains no leading or trailing blanks. For a listing of allowable code values, see the description of the REALLCATE statement, in Chapter Tabelle. For a detailed description of the SYM SCA, please refer to Section 3.3. of Chapter 3.
TAN(xpr) Tangent of xpr Math FunctionREAL*8 Angles are measured in radians
TBj The unweighted sample mean for samples recorded in Table j TableREAL*8 Each time a TABULATE Block is executed, the value of the argument and the defauft value of the B-operand (1) are added. (For Qtables, no TABULATE Block is used.) For a description of how TBj is computed, please refer to Section Abschnitt 4.6.
TBWj The weighted sample mean of samples recorded in Table j. TableREAL*8 For a description of how TBWj is computed, please refer to Section 4.6.
TCj The unweighted number of observations recorded in Table j TableINTEGER*4 Each time a TABULATEBlock with a B-operand is executed, recording an observation in Table j, a value of 1 is added to TCj. (For Qtables, no TABULATE Block is used.)
TCWj The weighted number of observations recorded in Tablej. TableINTEGER*4 Each time a TABULATE Block with a B-operand(weight) is executed, recording an observation in Table j, the value of the B-operand is added to TCj. (For Qtables, no TABULATE Block is used.)
TDj The unweighted standard deviation for samples recorded in Table j TableREAL*8 For a description of how TDj is computed, please refer to Chapter 4.6.
TDWj The weighted standard deviation of samples recorded in Tablej. TableREAL*8 For a description of how TDWj is computed, please refer to Chapter 4.6.
TG1 Current value of the Termination Counter System AttributeINTEGER*4 TG1 is initialized by a START control statement. It is (optionally) decremented by TERMINATE Block. When TG1 goes to zero(or less), a simulation is terminated.
Vj The value of Variable (or Fvariable)j. VariableREAL*8 Variable j must be defined in a VARIABLE or FVARIABLE statement. The value returned is REAL*8for both types.
Wj The number of Transactions currently in Block j. BlockINTEGER*4 Wj is automatically maintained by GPSS/H. It is incremented when a Transaction is "held" in Block j or is prevented from "escaping" from Block j to some other Block. Note that Wj is never incremented without first having incremented Nj
Xj The value of Fullword Savevalue j. Fullword Savevalue INTEGER*4  
XBj The value of Byte Savevalue j. Byte SavevalueINTEGER*1  
XFj The value of Fullword Savevalue j Fullword SavevalueINTEGER*4  
XHj The value of Halfword Savevalue j Halfword SavevalueINTEGER*2  
XID1 The ID number of the current Transaction. System Attribute, Transaction Attribute INTEGER*4 Most forms of GPSS/H output which include Transactions, identify the Transactions using Transaction XID1 numbers; hence, Transaction ID numbers can be very useful for debugging purposes. For example, the ID number of the most recent Transaction to render a Facility unavailable could be stored in a Savevalue. (GPSS/H does not automatically record this information.)
XLj The value of Floating point Savevaluej. Floating point
Savevalue
REAL*8  
SAHome previous next up Germansmaller fonts Top Line
Last Modified Fri 05-27-11 06:54 GMT Valid CSS!
English Translation:Andreas Pescholl/ Frank Hohle

Comments please to:pelosim@yahoo.com