Optimization for EV charging.
- Set the
JULIA_NUM_THREADS
environment variable on your system to a proper number (usually the number of cores). Note that by default its value is 1, that is, only one core is used during Julia execution even if you do parallel computing. - Start Julia REPL, and set up the environment for ev-opt in Julia REPL. Recall the usage of
cd()
,]
,activate .
andupdate
- Edit the "nlp.jl" file to change the inputs to the
main
call. Besides, you can also specify the optimizer, either:Couenne
or:Ipopt
. - Edit the Couenne option file "couenne.opt"
- In Julia REPL, run
include("nlp.jl")
. - Once finished, the result of input.npz data is stored in input-res.npz.