EnergyCommunity.jl

Optimization of Energy Communities in Julia
Author SPSUnipi
Popularity
6 Stars
Updated Last
6 Months Ago
Started In
December 2021

CI Docs dev Docs stable

EnergyCommunity.jl

Optimization of Energy Communities becomes easy with EnergyCommunity.jl!

A simple optimization of the model can be performed with

using EnergyCommunity, JuMP
using HiGHS, Plots

# create a sample Energy Community model input files in folder "data"
create_example_data("data")

# define input configuration (available in the package)
input_file = "./data/energy_community_model.yml"

# create the Energy Community model in Cooperation mode GroupCO()
ECModel = ModelEC(input_file, EnergyCommunity.GroupCO(), HiGHS.Optimizer)

# build the model
build_model!(ECModel)

# optimize the model
optimize!(ECModel)

# create some plots
plot(ECModel, output_plot_combined)