Closed-loop Simulation Integrating Finite Element Modeling with Feedback Controls in Powder Bed Fusion Additive Manufacturing