Flatness based control for a hybrid fuel cell/battery portable power source