A number of years ago I installed a Jet 4" vacuum system in my shop. A portion of it runs into my old SS vacuum barrel (which I purchased in the late 80's). The vacuum on top had died, but I was able to fit the top with a 4" fitting. Here is a picture:

The barrel is on wheels and enabled me to use it to hook up to so many of my SS special tools with 2 1/2" hose connectors. I wanted to go with 4" because the larger diameter over many feet loses less CFMs (suck power) than 2 1/2 inch. There is a gate on the wall to close the 4" when I need to open it on my other machines fitted directly with 4".
Now pertaining to your static electricity question, you're farting with danger if you do not ground the static. IT CAN CAUSE AN EXPLOSION. The combination of dust and static ... well there are many grain bins in ND that have been blown to smithereens. Also, if you remember your HS physics class, you have a Van de Graff generator in a vacuum system which can generate hundreds of thousands of volts (yes they are low amp, but they can still snap you a good one).
So what did I do. As you can see in the photo I used 4" PVC and 4" flexible tubing. I experimented with running a copper wire in the tubing. DON'T DO THAT. I learned it collects and plugs elbows over time. So I wrapped the tubing (except for the small runs of 2 1/2") and grounded my barrels with thin copper wire on the outside. In order to carry the electricity out of the tubing, at key intersection I drilled a hole and put in a machine screw. The wire is wrapped around the head grounding the interior of the tubing. Here is a close-up - you can see the wire.

Works beautifully. No more saps to the fingers, and no more fear that I am going to blow the basement, or start a fire.