Discuss how engineers investigate the principles of electric power market design, exploring the economic and regulatory frameworks governing the operation of wholesale electricity markets, capacity markets, and ancillary services markets. Delve into the mechanisms of market clearing, price formation, and congestion management in competitive electricity markets, and explore the challenges and opportunities of integrating renewable energy, energy storage, and demand response into market design and market operations.