Formulate Microgrid Optimization Problem

planningChallengeNovember 18, 2025

Prompt Content

Define the objective function and constraints for your home microgrid optimization problem. The goal is to minimize daily energy costs while ensuring critical loads are met and respecting battery operational limits (SOC, charge/discharge rates, efficiency). Consider grid import/export, solar self-consumption, and different electricity tariffs (e.g., TOU).

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