This paper discusses power trading and congestion management in electricity markets using a Unified Power Flow Controller (UPFC) to address congestion costs associated with real power rescheduling. The study analyzes a 75-bus system in India, detailing the bidding process, congestion impact on pricing, and solutions for managing transmission constraints through strategic generator rescheduling. Key findings demonstrate the importance of optimal generator selection and real power sensitivity indicators to mitigate congestion effectively.