The most vexing problem faced by researchers exploring wind-powered generation of electricity is
achieving a constant flow of power from an unpredictable natural source that meets demand, but so the flow does not overload electrical grids with sudden voltage increases.
Meaning: the problem is how to achieve a constant flow. This flow should both meets demand and doesn't overload the grid(A) achieving a constant flow of power from an unpredictable natural source that meets demand, but so the flow does not overload
but so is wrong(B) achieving a constant flow of power from an unpredictable natural source, which meets demand but without overloading
which wrongly refers to natural source(C) how to achieve a constant flow of power from an unpredictable natural source, a flow that meets demand but does not overload
is how to is a good structure. Also the final part is a absolute phrase(D) how to achieve a constant flow of power from an unpredictable natural source, but a flow that meets demand without overloading
no reason to use but. No contrast in this sentence(E) how a constant flow of power from an unpredictable natural source can be achieved, which meets demand but does not overload
which has nothing to refers to. Also, can should be replaced by could as this is a report sentence