Optimization in Energy Management Systems › ... › optimization-ems.pdfOptimization solver...
Transcript of Optimization in Energy Management Systems › ... › optimization-ems.pdfOptimization solver...
2© 2015 The MathWorks, Inc.
Optimization in Energy
Management Systems
Souvick Chatterjee, PhD
3
How buildings save 20%
in heating and cooling costs
4
Traditional
EMS
Smart
EMS
Degree
Celsius
Degree
Celsius
25% cost reduction
5
Energy Management Systems (EMS) are a MUST
in a smart energy society
Static policies
+
Offline data
+
Manual operation
Dynamic policies
+
Realtime data
+
Automated
operation
Smart
EMS
Automation
Optimization
Response Demand
6
Community EMS Using Model-Based Design and Optimization
PV Panels:
- MPPT Control
- Power electronics
Battery System:
- Charge controls
- Discharge controls
- Power electronics
Decision Logic:
- Store/draw power
- Use external grid
- Optimize energy
CEMS example – community with variable loads
7
What do you need to build a smart EMS?
▪ Integrated development environment
‒ Data science
‒ Predictive modeling
‒ Optimization
‒ Control
‒ System Design
▪ Virtual prototyping
▪ Deployment options
– Deploy to embedded systems
– Deploy to enterprise systems
9
Challenges
▪ Access and preprocess both engineering and business data
▪ Build data-driven and physics-based models
▪ Model and simulate equipment performance
▪ Design algorithms to optimally control equipment
▪ Deploy into systems -- from embedded to enterprise
10
11
12
13
15
Policy Comparison - Cloudy Day
Heuristic OptimizedComparison
14% lower cost with optimization
Grid
voltage
Pow
er
Sta
te
of
Charg
eP
rice
16
Optimization Example: Community EMS with PV and Battery
𝐺𝑡 Power from grid
𝑙𝐵 ≤ 𝐵𝑡 ≤ 𝑢𝐵 Power from battery
𝑙𝐸≤ 𝐸𝑡 ≤ 𝑢𝐸 Stored energy
𝑔𝑡 Change in power from grid
minimize σ𝑡=1𝑁 𝛿𝑐𝑡𝐺𝑡 −𝑤𝐸𝑁 + σ𝑡=1
𝑁−1𝑔𝑡subject to
𝐸1 = 𝐸𝑖𝑛𝑖𝑡𝑖𝑎𝑙𝐸𝑡+1 = 𝐸𝑡 − 𝛿𝐵𝑡𝑠𝑡 + 𝐺𝑡 + 𝐵𝑡= 𝑑𝑡𝐺𝑡+1 − 𝐺𝑡 ≤ 𝑔𝑡𝐺𝑡 − 𝐺𝑡+1 ≤ 𝑔𝑡
17
Effect of parameters can be
easily visualized
Model can be extended with
additional components
Optimization
workflow
18
PlantCircuit Diagram
HEMS ControllerBlock Diagram
System simulation modelSimulation platformSimulink
Optimization solverOptimization Toolbox™ Speed-up of parameter study
Parallel Computing Toolbox™
1D physical modelingSimscape Electrical™
MPCScheduler
MPC modelingSimulink, MATLAB
System Simulation Example: HEMS with PV and Batteries
19
End-to-end Workflow
Data processing
Prediction
Optimization
System simulation
Integration
Access Data Analyze Data Develop Deploy
20
Shanghai Electric Builds and Deploys Cost-Saving Enterprise
Software for Planning and Designing Distributed Energy Systems
Challenge
Develop web-accessible software for planning and
designing distributed energy systems
Solution
Use MATLAB to develop algorithms that compute
investment return based on models of energy
production subsystems, loads, and grids, and then use
MATLAB Production Server to deploy the algorithms in
a production IT system
Results
▪ Delivery time reduced by six months
▪ 2 million Chinese yuan saved on a single project
▪ Updates deployed immediately and without IT
assistance
“My team’s expertise is in energy modeling or algorithm
development, not in deploying software into production.
MATLAB saved us months of development time on the
models and algorithms, and then made it easy to deploy
them as part of a stable, reliable web application without
recoding.”
- Yunjiao Gu, Shanghai Electric
Link to user story
DES-PSO web user interface
22
Learn More
Web resources:
▪ Microgrid System Development and Analysis - video series
▪ Data Analytics with MATLAB – webinar
▪ Linear and Mixed-Integer Linear Programming in MATLAB - webinar
MATLAB
Simulink
Simscape
Simscape Electrical
Stateflow
Optimization Toolbox
Products in demo:
23
▪ Scan this QR Code or log onto link below
(link also sent to your phone and email)
▪ http://bit.ly/expo19-feedback
▪ Enter the registration id number displayed
on your badge
▪ Provide feedback for this session
Please provide feedback for this block of sessions
24© 2015 The MathWorks, Inc.
Speaker Details:
Email: [email protected]
LinkedIn:
https://www.linkedin.com/in/souvick-chatterjee-1649b927/