# Open Source Energy Optimization JuMP Model: REopt Lite

**URL:** <https://discourse.julialang.org/t/open-source-energy-optimization-jump-model-reopt-lite/34934>\
**Category:** Optimization (Mathematical)\
**Tags:** announcement, jump\
**Created:** [February 20, 2020, 8:57pm UTC](https://discourse.julialang.org/t/open-source-energy-optimization-jump-model-reopt-lite/34934 "2020-02-20T20:57:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JosiahPohl](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josiahpohl/32/12012_2.png) [@JosiahPohl](https://discourse.julialang.org/u/JosiahPohl)\
**Post date:** [February 20, 2020, 8:57pm UTC](https://discourse.julialang.org/t/open-source-energy-optimization-jump-model-reopt-lite/34934/1 "2020-02-20T20:57:32Z")

</div>

My team at the National Renewable Energy Laboratory (NREL) recently converted the optimization engine for the [REopt Lite Web Tool](https://reopt.nrel.gov/tool) from Mosel to JuMP and [open-sourced the whole API](https://github.com/NREL/REopt_Lite_API). Would love for you to check it and feel free to message me if you have any questions!

The code is primarily python and uses **PyCall** to run the **JuMP** model and handle the data flow. This is our first large project using Julia so any feedback is greatly appreciated!

> The REopt Lite web tool helps users evaluate the economic viability of grid-connected photovoltaics, wind, and battery storage at a site; identify system sizes and battery dispatch strategies to minimize energy costs; and estimate how long a system can sustain critical loads during a grid outage.
> 
> REopt Lite Open Source provides all of the web tool’s robust capabilities, plus:
> 
> - **Transparency** —Explore the source code to find equations and algorithms so you can see exactly how the models work.
> - **Flexibility** —Change the code and build your own versions of REopt Lite to add your customized features and capabilities.
> - **Collaboration** —Contribute new models, fix bugs, or work with NREL to implement new features that can be added to NREL’s REopt Lite offerings.
> 
> The source code and tools required to build REopt Lite are available to the public on the [REopt Lite GitHub repositories](https://nrel.us14.list-manage.com/track/click?u=cfb46c07f566f9a82b5fa0488&id=96458d2181&e=0b20dfc122). NREL will continue to maintain and update the code, and to release NREL versions of [REopt Lite](https://nrel.us14.list-manage.com/track/click?u=cfb46c07f566f9a82b5fa0488&id=16b42a22b3&e=0b20dfc122) and the [REopt Lite API](https://nrel.us14.list-manage.com/track/click?u=cfb46c07f566f9a82b5fa0488&id=03dcc87dd5&e=0b20dfc122) with new features and updates.
> 
> # Register for the REopt Lite Open Source Webinar
> 
> To learn more about the new open source version, [register for NREL’s REopt Lite Open Source webinar](https://nrel.us14.list-manage.com/track/click?u=cfb46c07f566f9a82b5fa0488&id=39afd588bc&e=0b20dfc122) on Tuesday, March 17, 2020, at 11:00 a.m. MT.

---

<div class="post-metadata">

**Author:** ![dcutler](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dcutler](https://discourse.julialang.org/u/dcutler)\
**Post date:** [February 21, 2020, 11:05am UTC](https://discourse.julialang.org/t/open-source-energy-optimization-jump-model-reopt-lite/34934/2 "2020-02-21T11:05:47Z")

</div>

Exciting to see this go public. Looking forward to working with folks on this model
