Carrying Capacity Constraints for Railway Networks