Perhaps, to make this initially more UPS-friendly, a refill amount incrementer, like 100, could be used: refill_amount+100, instead of refill_amount+1
In the mod's current state, I imagine initial performance costs can be steep with really low patch amounts (1, 2, 3, 4....). Yes, it gets better in the long run, but allowing a higher refill incrementer lessens the impact. I don't know. I barely play this game. Just like reading how people make their mods.
And you might need to, if the above is implemented, set a cap on storage.refill_amount, juuust in case it gets to the ResourceEntity's "amount" limit (uint32 or around 4 billion).