We consider partial differential algebraic systems (PDAEs) describing water transportation networks. Similar to the approach in [6], we follow the method of lines for the discretization. However, we do not consider free surface flow models but pressure flow models covering hydraulic shocks. Moreover, we include switching models reflecting the on/off state of pumpes and valves. Aiming at a stable numerical simulation of the PDAEs we present a topology based spatial discretization that results in a differential algebraic system (DAE) of index 1. Furthermore we show that the DAE index can be higher than 1 if the spatial discretization is not adapted to the position of reservoirs and demand nodes within the network.Let the water network graph have n E edges and n N nodes. Then, the relation between the edges and the nodes of the network graph can be easily described by the incidence matricesThe well-known incidence matrix A for network graphs is given by A = A l + A r . The flow balance at each node provideswith q E l and q E r describing the flows at the left and right ends of the edges. Here, we use the convention that each edge directs from its left to its right end. The flow vector q N contains the in/out flows at the nodes. We consider water transport networks consisting of junctions (J), tanks (T) and reservoirs (S) as nodal model elements as well as pipes (P) and valves/pumps (R) as edge model elements satisfying the characteristic equationsHere, q set is the given demand at the junctions (equals zero at each node without a demand), C is the tank capacity, p set is the given pressure at the reservoirs, f R is a monotone, given function describing the resistance of valves/pumps. The switching parameter s is time-dependent. It equals 1 if the valve/pump is open/on and zero otherwise. In transport pipes one has usually only velocities up to 5m/s. Therefore, we can neglect the convective terms of the Euler equations and consider the pipe model (see [2])with the pipe diameter d, the pipe cross-section area a, the pipe wall sound velocity c, the fluid density , the Darcy friction factor λ, the gravitation acceleration g and the pipe slope angle α. Equation (1.2) describes the continuity equation and the mass flow balance through the pipe. We do not assume ∂ x q P to be constant in order to cover also hydraulic shocks. The boundary conditions are given as p(x l ) = p P l , p(x r ) = p P r , q(x l ) = q P l , q(x r ) = q P r .(1.3)Combining the equations (1.1)-(1.3) and using the splitting