Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

DER Management System

A multi-agent Distributed Energy Resource (DER) management system built with Google's Agent Development Kit (ADK) and SunSpec standards.

Features

  • Multi-Agent Architecture: Solar, Battery, Grid, and Coordinator agents
  • SunSpec Compliance: Industry-standard data models (Models 1, 101, 124, 701)
  • Real-time Optimization: Economic dispatch and grid services
  • Web Interface: Interactive ADK web UI for agent management
  • Safety Systems: Emergency stop and monitoring capabilities
  • Grid Services: Frequency regulation, demand response, voltage support

Quick Start

Prerequisites

Installation

  1. Clone and setup:

    git clone <repository-url>
    cd der_management_system_app
    chmod +x setup.sh
    ./setup.sh
  2. Configure API key:

    cp env_example.txt .env
    # Edit .env and add your GEMINI_API_KEY
  3. Start the system:

    uv run adk web web_agents --port 8080
  4. Access the interface: Open http://localhost:8080 in your browser

System Architecture

Agents

  • Solar Agent: 10kW PV system with curtailment control
  • Battery Agent: 10kWh storage with charge/discharge management
  • Grid Agent: Grid interface with pricing and stability monitoring
  • Coordinator Agent: System optimization and multi-agent coordination

Capabilities

  • Energy Optimization: Automatic dispatch based on grid prices and conditions
  • Grid Services: Frequency regulation, demand response, voltage support
  • Safety Monitoring: Emergency stop, SOC limits, stability checks
  • Real-time Data: Live SunSpec data generation and monitoring

Usage Examples

High Grid Prices

User: "The grid price is high, what should we do?"
System: Analyzes conditions and discharges battery to reduce expensive grid imports

Grid Stability

User: "Solar generation is too high for grid stability, what should we do?"
System: Implements solar curtailment to maintain grid stability

Emergency Response

User: "What happens if we need to emergency stop the system?"
System: Immediately shuts down all DER components safely

Configuration

The system uses environment variables for configuration:

# .env file
GEMINI_API_KEY=your_gemini_api_key_here

Technical Details

  • Framework: Google ADK with Gemini 2.0 Flash
  • Standards: SunSpec Alliance data models
  • Architecture: Multi-agent composition pattern
  • Data: Real-time mock generation with realistic patterns
  • Interface: Web-based agent interaction and monitoring

System Status

✅ Production Ready

  • Multi-MW energy flow management
  • Real-time optimization algorithms
  • Grid service coordination
  • Safety and emergency protocols
  • SunSpec compliance validation

Support

For technical support or questions about the DER management system, please refer to the documentation or contact the development team.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages