can be fixed by adding these lines to the scripts/gui/main.lua at line 153: so now if value is 0 or lower it will output 0.
-- 0 div fix by Atem
if not requested_power or requested_power <= 0 then
storage.computations[player_index].panels_required = 0
storage.computations[player_index].accumulators_required = 0
if storage.guis[player_index] then
local output_flow = storage.guis[player_index].output_flow
output_flow["solarcalc-panels-required"].caption = "0.000"
output_flow["solarcalc-accumulators-required"].caption = "0.000"
end
return
end