Los Alamos National Laboratory (LANL) is one of the oldest and largest laboratories in the US Department of Energy National Laboratory system. The LANL Advanced Network Science Initiative (ANSI) team uses Julia for critical infrastructure optimization including:
Predict and mitigate the impact of extreme events: helping utilities and government agencies plan for and mitigate potential outages from hurricanes, ice storms or earthquakes
As LANL scientist Carleton Coffrin explains, our dependence on the power grid has increased dramatically. Financial markets, commerce, medicine, aviation safety, transportation, law enforcement and national security depend crucially on power that is always on – and they need more of it than ever before.
At the same time, power grids are subject to more dynamic events – increased use of wind, water and solar energy, more extreme weather events, and new heavy users of electricity such as electric cars, smart home devices and commodity high performance computing increase the variability of both supply and demand.
Coffrin asks, “How can we design and operate our critical infrastructure to improve its resilience in response to a more dynamic and disruptive world?”
To solve these problems, the ANSI team uses JuMP for mathematical optimization in Julia together with more than 25 free and open source Julia packages created and contributed to by LANL scientists including InfrastructureModels.jl, PowerModels.jl, GasModels.jl, GasGridModels.jl, WaterModels.jl, Alpine.jl, Juniper.jl, PowerModelsDistribution.jl, PowerModelsProtection.jl, PowerModelsONM.jl, WaterModelsAnnex.jl, GasModelsMultiPipeline.jl, PowerModelsAnnex.jl, PowerModelsRestoration.jl, PowerModelsStability.jl, PowerModelsGMD.jl, PowerModelsAnalytics.jl, GasPowerModels.jl, GrapicalModelLearning.jl, PowerModelsSecurityConstrained<wbr>.jl, MomentOpt.jl and PetroleumModels.jl.
The LANL Advanced Network Science Initiative team has made Julia and JuMP their core research platform to build commercial-grade power transmission optimization software.
Why Julia and JuMP?
Speed and scale for massive problems: Solving the Grid Optimization Challenge involves 1-5 billion decision variables and constraints and provides a solution within 5 minutes
And the results?
Coffrin reports the following stats for PowerModels.jl:
194 GitHub stars
150+ unique visitors every 2 weeks
15+ non-LANL software contributors
6+ non-LANL downstream packages
Today PowerModels.jl is just one part of the much larger InfrastructureModels.jl ecosystem:
InfrastructureModels<wbr>.jl: PetroleumModels.jl, PowerModelsDistribution.jl, PowerModels.jl, GasModels.jl, WaterModels.jl
85,000+ lines of code
1000s of labor hours
LANL Distinguished Performance Award 2019