I am trying to implement a paper based on optimal control of energy management of HESS in EV. It's based on Pontryagin's Minimum Principle using Hamiltonian, state and costate equations. I need to include the constraints too.
Has anyone already done the implementation on matlab?
Please find the paper attached.