Variables Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
ARENA VARIABLES USER’S GUIDE<br />
LENZ ( Link ID )—Zone length. LENZ returns the length of each zone of the<br />
specified Link ID.<br />
LNKNUM ( Beginning Intersection ID, Ending Intersection ID )—Connecting link.<br />
LNKNUM returns the link number that connects Beginning Intersection ID with<br />
Ending Intersection ID.<br />
LTYP ( Link ID )—Link type. LTYP returns a value of 1 if Link ID is unidirectional,<br />
2 if it is bi-directional, and 3 if it is a spur.<br />
LX ( Intersection ID )—Intersection length. LX returns the length of the specified<br />
Intersection ID.<br />
MZ ( Link ID )—Number of zones. MZ returns the number of zones defined for the<br />
specified Link ID. (Also see LENZ.)<br />
NDX ( Link ID )—Destination intersection. NDX returns the destination intersection<br />
of travel of transporters on the specified Link ID; if the link is unoccupied, NDX<br />
returns a 0. If there are vehicles on the link, the ending intersection number is<br />
returned if travel is in the forward direction (always the case for uni-directional<br />
links). The beginning intersection is returned if travel is backward on a bi-directional<br />
link or a spur.<br />
NEXTX ( Network ID, Beginning Intersection ID, Destination Intersection ID )—Next<br />
travel intersection. NEXTX returns the next intersection of travel in the specified<br />
Network ID from the Beginning Intersection ID to the Destination Intersection ID. If<br />
NEXTX returns a value equal to the Destination Intersection, the two intersections<br />
are directly connected by a link.<br />
NL ( Link ID )—Number of occupied zones in link. NL returns the number of zones<br />
occupied by transporters in the specified Link ID. The value of NL does not include<br />
reserved zones (that is, using a Capture module).<br />
NX ( Intersection ID )—Intersection status. NX returns a value of 0 if the intersection<br />
is unoccupied, 1 if it is occupied, or -1 if it is reserved (that is, using a Capture<br />
module).<br />
NXB ( Link ID )—Beginning intersection. NXB returns the beginning intersection<br />
number of the specified Link ID.<br />
NXE ( Link ID )—Ending intersection. NXE returns the ending intersection number<br />
of the specified Link ID.<br />
NZ ( Link ID, Zone Number )—Zone status. NZ returns the status of the specified<br />
Zone Number in Link ID. A value of 0 is returned if the zone is unoccupied, 1 if it is<br />
occupied, or -1 if it is reserved (that is, using a Capture module).<br />
30