Robust, reliable and cost effective diagnostic and control systems design for stationary power and CHP fuel cell systems