Events

Modeling Energy Systems with AI

MIT Energy Initiative
January 11-15, 2027
9:00 AM
Event details
Add to Calendar

Monday, January 11-Friday, January 15, 9:00 am - 1:00 pm each day (5 classes) 

Location: 3-370 

Registration by January 10. Email Pablo Duenas (pduenas@mit.edu) 

 

For the 18th consecutive year, this five-session, hands-on course welcomes anyone curious about energy and AI. Participants will build a small energy model from scratch using VS Code and an integrated AI coding assistant connected through MIT Parley or another AI API. Along the way, they will learn how these assistants work and explore the fundamentals of electricity generation, delivery, and use, alongside the optimization concepts needed for the exercises. 

Applications range from operating power plants and managing networks to planning infrastructure and improving energy use in buildings. Participants will get hands-on with open-source energy models—openTEPES, MacroEnergy, and DECARB—using AI to explore how they work, test what-if scenarios, and make sense of the results. Throughout the course, they will learn to question assumptions, review AI-generated code, and check whether results make physical and economic sense. 

No prior experience is required, although basic familiarity with Python or Julia can be helpful. API access through MIT Parley or another compatible AI service is required for the hands-on exercises. Please bring a laptop and complete the setup steps shared before the course. Participants are welcome to attend individual sessions. 

 

Monday, January 11 

Part 1: Your AI modeling toolkit 

• VS Code for writing and running code, and GitHub for accessing course materials and tracking changes. 

• Connecting an AI coding assistant through MIT Parley or another AI API. 

• Understanding how AI coding assistants use context, and how to write effective prompts. 

 

Part 2: From words to a working model 

• Introducing optimization through economic dispatch: decisions, data, constraints, and objectives. 

• Building, debugging, and checking a first model with AI assistance. 

 

Tuesday, January 12 

Part 3: Deciding which generators run and when, unit commitment 

• Understanding on/off decisions, technical constraints, and links between hours. 

• Using AI to explore a model and visualize generation and commitment schedules. 

 

Part 4: Extending and validating a model 

• Adding ramp limits: from a plain-language requirement to equations and code. 

• Checking initial conditions, operating limits, and the effects on schedules and costs. 

 

Wednesday, January 13 

Part 5: Connecting generation through the network 

• Understanding DC power flows, transmission limits, and nodal marginal prices. 

• Using AI to visualize flows and explain network-constrained dispatch. 

 

Part 6: Bringing operation and networks together with openTEPES 

• Exploring a prepared case and using AI to navigate inputs and model documentation. 

• Investigating a bottleneck, with an introduction to expansion planning. 

 

Thursday, January 14 

Part 7: Planning the energy system of the future 

• Using MacroEnergy to connect infrastructure investment with system operation and interactions between energy sectors. 

• Understanding a prepared case: technologies, demand, costs, and policy constraints. 

 

Part 8: Exploring investment choices with AI 

• Using AI to prepare scenarios and visualize capacity, operation, costs, and emissions. 

• Explaining how changing assumptions affects investment decisions 

 

Friday, January 15 

Part 9: Buildings and district energy systems 

• Using DECARB to connect electricity and thermal demands with equipment, storage, tariffs, and comfort. 

 

Part 10: From scenarios to practical insight 

• Exploring how tariffs, technology costs, or comfort settings affect investment and operation. 

• Checking and visualizing costs, emissions, energy use, and indoor temperatures. 

 

Instructors 

Pablo Duenas – Research Affiliate at MIT Energy Initiative, pduenas@mit.edu 

Andres Ramos – Professor at Universidad Pontificia Comillas, arght@mit.edu 

Javier Garcia – Professor at Universidad Pontificia Comillas, javiergg@mit.edu 

Ruaridh Macdonald – Energy Systems Research Lead at MIT Energy Initiative, rmacd@mit.edu