If you'd care to make the source open I'd love to check out the algorithm! My hardware/ firmware will be custom as it's for a large hydro dump load controller and needs to be fail safe.. but similar application.
I think there's market for your project - especially as an open source product just...