[✅] - [Improvement] When fully charged, the charging/discharging status changes

Hoochie
Hoochie · 22 days ago

Boss, currently when the battery is fully charged, the status toggles between charging/discharging several times per second. Is this intended behavior, or is it incorrect?

Video:

LordXaosa · 22 days ago

Looks like battery switch modes fast. Could you provide save file or steps to reproduce? In my sandbox tests full charged battery have waiting status.

By the way what is the semafor button?

Hoochie
Hoochie · 22 days ago

I can send the save, but the problem will likely be that the save has about 70 mods. That might be problematic for you, as you'd need to download all the mods and run the save.

As for the semaphore, it's from the mod https://coigame.com/Mod/1175/Storage-Auto-Pause

LordXaosa · 22 days ago

Could you try to reproduce in a sandbox without any other mods?

Hoochie
Hoochie · 22 days ago

Yes, in sandbox mode everything is fine, but if I start a new game with only your mod enabled, the same thing happens. In the new game, I built a diesel generator and several power consumers (just built a few groundwater pumps), and this issue repeats itself.

LordXaosa · 21 days ago

I got it. It's not really a bug. Diesel generator has 11 production priority, but battery has 10. On first tick battery gives energy to grid and generator turns off. On second tick battery see there are any other generators so it can charge and set mode to charge.

To fix your problem set production priority of the battery to 11-12 or lower.

Edited 21 days ago
👍 1
Hoochie
Hoochie · 21 days ago

Hah... didn't think to check the priorities. Thanks for the explanation!

LordXaosa · 21 days ago

I've noticed priority issues, fixed at 1.0.4 please update.

👍 1
149
Showing 1–8 of 8