https://123dok.org/document/dy4rx55z-stochastic-gradient-approach-energy-supply-optimisation-systems-management.html