flixopt
Energy system optimization library in Python using linopy and xarray.
flixOpt/flixopt Energy system optimization library in Python using linopy and xarray. My diploma thesis was on energy system optimization. Three years out of university it’s still what I do day to day: district heating transformation planning — working out, over decades, the right mix of heat pumps, storage, grids, and biomass to decarbonize a fossil network. flixopt is the modeling tool that started in university and is now my main daily driver.
It represents an energy system as a graph of components — sources, sinks, conversions, storages, transmissions — connected by flows, and solves the resulting mixed-integer linear program with linopy. State is held in xarray datasets, so inputs and results stay aligned across time, scenarios, and components — and manageable at scale.
The project originated at TU Dresden and is used there a lot, but I’m the main contributor and maintainer.