Stateflow based implementation of energy management for a DC grid using analog and digital control techniques | IEEE Conference Publication | IEEE Xplore