Quick Start
Install the most recent version of Julia
Install the package
EnergyModelsBase
and the time packageTimeStruct
, by running:] add TimeStruct ] add EnergyModelsBase
These packages are required as we do not only use them internally, but also for building a model.
Install the package
EnergyModelsHeat
] add EnergyModelsHeat
You also have to install a solver for solving the optimization problem. In either case, you have to
Install JuMP by running:
] add JuMP
Install your chosen solver, e.g., HiGHS and Gurobi, by running:
] add HiGHS ] add Gurobi
You may, depending on your operating system, also have to locally install the solver in addition as explained in the corresponding README file.
While JuMP is automatically installed when you add EnergyModelsBase
, it is still necessary to load it to optimize a model or extract the results. It is hence necessary to load it in each model run explicitly.
EnergyModelsX
models are in general agnostic towards which solver is used. They are hence not automatically included. Therefore, they require you to explicitly load the corresponding solver.