Skip to main content

Getting Started with Layer 3 Optimization

Get cost-optimal energy scheduling running in minutes. This guide walks you through installation, EV charging optimization, and peak shaving with battery storage.

Installation

1

Install the Package

2

Verify Installation

Quick Examples

EV Charging Schedule

Optimize charging for a fleet of EVs on a time-of-use tariff:

Peak Shaving with Battery

Reduce demand peaks using battery storage:

Integration with Layer 2 Forecasts

Use Layer 2 predictions as optimization inputs:

Configuration Reference

OptimizationConfig

EVChargingScheduler

PeakShavingController

Next Steps

EV Charging Deep Dive

Priority scheduling, carbon-aware optimization, and constraint details

Peak Shaving Deep Dive

Two-pass algorithm, SOC management, and demand charge savings

Layer 2 Forecasting

Generate the forecasts that feed into Layer 3

GitHub Repository

Source code, examples, and issue tracker

You’re now ready to optimize energy schedules! Layer 3 takes forecasts from Layer 2 and tariff data from Layer 1 to produce cost-optimal dispatch decisions.