Develop Multi-objective Optimization Engine

implementationChallenge

Prompt Content

Formulate and implement a multi-objective optimization model for the microgrid EMS. The objectives should include minimizing operational costs (considering grid import/export prices), maximizing renewable self-consumption, and ensuring grid stability/resilience. Constraints must cover BESS limits, solar production, load demand satisfaction (especially critical loads), and grid connection limits. Use an appropriate optimization library (e.g., Pyomo or CVXPY) to solve this problem dynamically.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations