reggi. why not has some good points. There are many semi in expensive ways to direct unwanted water. Many small Brooklyn fronts and back yards have no or inadequate drainage.
I am not sure I really understand exactly,,,but I am positive of a few things. The duct/chase/trunk that brings incoming electrical service feeds into your home or apt building is improperly installed/maintained or damaged. The chase tubes are often concrete and come in 3,4,5 foot sections. Like concrete Legos they make a little concrete tube that the incoming wires will be housed inside. There are no valves in the chase it is intended to be free from standing water it should have zero slope.
A check valve is used for sewer/waste water levels that can back feed into your house.There are NO water valves in electrical conduits
Any measurable quantity of water inside any electrical device is of grave concern and should not be repaired using spray foam or other horse shit easy techniques.
The electric feed wires coming into your house are not fused until after they are terminated at the service(circuit breaker panel). The NEC/NFPA have very clear standards about water on or near electrical services. if the leak,source of water is not from the wall of your building the National Grid asshole needs to come out and find out why water is inside the chase.
Think of it like a little concrete straw coming from the street to your apt, if it's plugged at the street and water is coming in, there is a hole somewhere else in the straw other than at each end. They need to fix it ASAP.
National Grid and Con Ed and whatever else they want to call themselves are a bunch of fucks at the exec level. They have had numerous examples of manhole covers having "stray" lethal voltages from improper terminations and water. They have killed dogs that have peed on light poles only to be electrocuted by some shit condition or repair at the pole. The base of most light poles have a small service access cover that is intended to be locked for public safety and electrical code. The unfused wires can kill in an instant,even a casual observer can see open covers, black tape and other bullshit excuses for not doing the job right are the norm not the exception.
We all can learn a lesson from the elevator tragedy, the latest when a Local 3 employee thought that a couple of details were not important. A lady got crushed,mutilated and killed because electrical code was not followed to the letter.
At the very least a utility supervisor should come out for a site visit and explain why water coming out of their pipe is your problem. He should also explain where in the NEC it says that incoming electrical service wires can occupy a pipe with flowing water. Make sure to have a video camera so he can watch the video from home after he loses his job.
If you go to NFPA.org and type in incoming elect service or primary conduits or.. you may find a result or two that fit your needs. You can also type in wet conditions or flood prone.
It's important that you get this fixed.You can also ask the supervisor if his electricians would ever think of working on a wet service without tested gloves and boots and a suit.* you should be nowhere near wet wiring!!!!
Wiring IS Not A Hobby.