Originally shared on the public FactorioPrints / Factorio School archive (factorioprints.com · factorio.school). Authorship preserved from the public catalog.
A simple SR latch. Simple connect the device measured (accumulator for power or tank for steam etc) to the primary side of the combinator. Connect the secondary device to the device being controlled. The inputs are set for 90/20 but can be changed. The light and constant combinator are just for display.