Only pipe runs that have a related instrument are retrieved from Smart P&ID as lines. The instrument receives its preliminary process data from the related line. For instruments other than control or relief valves, for example a pump, the line that is retrieved corresponds to the pipe run directly connected to the instrument.