On an esoteric technical point, Bernoulli's theorem doesn't require a closed system, it assumes it. It's quite common in various analysis to treat what goes on between streamlines as a closed system.
There is also an advanced compressible form of Bernoulli's equation which postdates it's namesake by several generations.
G