Optimal H2 control design of active front-end integrating grid model identification