XPAN
This runs the program XPAN which takes the short-form GRID commands entered and saved in the current input data file and expands these into the long-hand form of input data. The current data in the data base which will include the GRID data must be saved before running XPAN in a file such as Sample.dat. When XPAN is run, the program prompts the user for the name of a new data input file that is created. By default this file name has the word Xpan appended to the original file name e.g. Sample_Xpan.dat.
This allows the user to describe a complex tree or grid system with a few GRID commands, and then to change individual network components in the expanded data file to handle network irregularities. Typical irregularities include modifications to the length of individual pipes which have to go around columns or girders, adding some additional sprinklers to cover an odd shaped area off to one side, or feeding the system at a point which is at the middle of a section of main pipe instead of at either end of the pipe, etc.
To make the changes the user Opens the XPANded file e.g., Sample_Xpan.dat and then in the various screens make the necessary changes. The data can then be saved in a file with a new name (e.g., Sample_Xpan_modified.dat) and the calculations performed in the normal manner.
When XPAN is run a message box appears on screen enabling the user to select whether to compress the expanded file as much as possible or not. This compression is achieved by deleting all non discharging sprinkler nodes except those at the extremes of the Trees left and Trees right and those immediately either side of the main pipes. The pipes affected are increased in length accordingly to maintain the same overall length. The node numbers of the nodes that are not removed are retained.
The result is a dramatic reduction in the number of pipes and nodes contained in the XPANded long-hand format file.
Note that the option REMOTE works only with the GRID commands in the input data file, i.e., it will not work in the file that has been XPANded.