The paper discusses the design of a locational marginal pricing (LMP) framework for secured dispatch scheduling in deregulated power markets under contingency conditions. It highlights the impact of line and generation outages, using the IEEE-14 bus system for analysis, and introduces a new method for calculating LMP using the Power World Simulator. The findings emphasize the importance of contingency analysis for maintaining system security and managing costs effectively in power systems.