With increasing installation of wind and solar generation, conventional synchronous generators in power systems are gradually displaced resulting in a significant reduction in system inertia. Maintaining system frequency and rate-of-change-of-frequency (RoCoF) within acceptable ranges becomes more critical for the stability of a power system. This paper first discusses the impact of inter-area oscillations on the system rate-of-change-of-frequency (RoCoF) security; then, the limitations on locational RoCoF accounting for <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$G - 1$</tex-math></inline-formula> contingency stability are derived. To capture highest locational RoCoF during the oscillation, multiple measurement windows are introduced. By enforcing these frequency related constraints, a location based RoCoF constrained security constrained unit commitment (LRC-SCUC) model is proposed. Furthermore, an effective piecewise linearization (PWL) technique is employed to formulate a RoCoF linearization problem and linearize the nonlinear function representing the location based RoCoF constraints in SCUC. Case studies are carried on IEEE 24-bus system to demonstrate the effectiveness of proposed LRC-SCUC model. The results also show that deploying virtual inertia techniques not only reduces the total cost, but also improves the system market efficiency.