Formulate Microgrid Optimization Problem

planningChallenge

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).

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