https://123dok.co/document/nq73elky-optimal-operation-energy-storage-frequency-regulation-variable-control.html