Nowadays, compressible flow transmission pipelines are used in many industrial processes. Pipelines in chemical processes, gas turbine power plants, natural gas transmission lines, and high pressure steam transmission pipelines are some industrial examples. Therefore, learning the manner of treatment of a transient compressible fluid flow in pipelines with junctions and branches is important. In this paper, the attempt is to derive the governing equations in compressible fluid flow in a fixed area pipeline in the presence of friction. To achieve this, a numerical method of analysis (McCormack) is used. Also the method of characteristics is added to solve the problem in the junctions. Finally, a theoretical case and an industrial one are investigated and some common transient processes are simulated. In addition, the effects of boundary conditions on the flow characteristics, such as pressure and flow rates, are presented.