גריי מאטר ב, The State of Israel / Using Electricity from Israeli Power Plants on Shabbat The State of Israel / Using Electricity from Israeli Power Plants on Shabbat · י
Gray Matter II 160
Since it is impossible [for the operator] to generate electricity for the benefit of ill individuals unless he generates for non-piku’ach nefesh needs, too, it is analogous to when one slaughters for a very sick person, where even a healthy person is permitted to eat the meat... It seems reasonable to say that it does not matter if the power plant worker intended to produce electricity for ill people, or for the needs of everyone in the city, since it is impossible to produce electricity for only one individual without producing it for others.