I do this in my power station. The MSE that stores power from my solar arrays outputs a redstone signal when it is empty. I put this through a NOT gate and sends power to a splitter cable in the line from my geothermal generators.
This means when there is solar power available the line from the geothermals is cut turning them off and preventing them from using more lava than needed.