Automate storage mode (set to prioritize/obtain/supply/empty)
Setting storage mode by automation would be an improvement. For example to shift a colony location depending on weather.
Also, together with other suggestion not to count emptying storages into a capacity it can simplify logic. You can avoid quick flapping without a Memory. Say you have water sensor measuring >= 100% of storage. It will be wired to set some barrels to "emptying". The sensor then goes above 100% and stays active, until the (now smaller) storage reaches below 100%. It will then reset the barrels to normal.