https://www.readupenergy.com/2020/12/resistance-and-theory-of-its-operation.html