Investigating the Impact of Inverter-Based Resources on Power Grid Dynamics