|  | 
|  | 
| Calculating Chain Rank | 
The following sections contain information on calculating these values:
chain rank
from-node
to-node
| Point Coordinates | 
The examples in Example: Calculating From-Node Rank and Example: Calculating To-Node Rank use the information in the following table.
| Point | Description | X | Y | 
|---|---|---|---|
| F | from-node of chain | -784533 | 373266 | 
| D | Detail point | -784688 | 373375 | 
| T | To-node of chain | -784559 | 373498 | 
| Variable Definitions | 
The variables used in the equations have the following definitions:
| RF | is the rank value at the from-node of the chain. | 
| RT | is the rank value at the to-node of the chain. | 
| A | is the angle from the chain clockwise to the nearest X or Y axis. | 
| ![[Delta]](../../../../common/62850/HTML/default/images/deltau.gif) X | is the length of a chain segment along the X axis. | 
| ![[Delta]](../../../../common/62850/HTML/default/images/deltau.gif) Y | is the length of a chain segment along the Y axis. | 
| Calculating Chain Rank | 
The from-node and to-node rank values are expressed as a single number in the form ffffff.tttttt. Therefore, the rank for the chain in Example: Calculating From-Node Rank and Example: Calculating To-Node Rank is 131641.240034. This is the value of the RANK variable for this chain in the chains data set.
Note:   The trigonometric functions for calculating
the RANK value in the following sections are in radians.  ![[cautionend]](../../../../common/62850/HTML/default/images/cautend.gif)
The following equations illustrate the steps necessary to calculate the from-node rank:
given
![[equation]](images/deqn14.gif)
and
![[equation]](images/deqn15.gif)
then
![[equation]](images/deqn16.gif)
The following example illustrates calculating a from-node rank with the given values:
given
![[equation]](images/deqn17.gif)
and
![[equation]](images/deqn18.gif)
and
![[equation]](images/deqn19.gif)
then
![[equation]](images/deqn20.gif)
Calculating the From-Node Rank
![[Calculating the From-Node Rank]](images/fromnode.gif)
The following equations illustrate the steps necessary to calculate the to-node rank:
given
![[equation]](images/deqn21.gif)
and
![[equation]](images/deqn22.gif)
then
![[equation]](images/deqn23.gif)
The following example illustrates calculating a to-node rank with the given values:
given
![[equation]](images/deqn24.gif)
and
![[equation]](images/deqn25.gif)
and
![[equation]](images/deqn26.gif)
then
![[equation]](images/deqn27.gif)
Calculating the To-Node Rank
![[Calculating the To-Node Rank]](images/tonode.gif)
|  | 
|  | 
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.