add demand and inflow nodes to model