This code base is using the Julia Language and DrWatson to make a reproducible scientific project named
IEEE14_proximity
Authors: Andreas Heuermann.
To (locally) reproduce this project, do the following:
-
Make sure you have local Julia package NaiveONNX in ../NaiveONNX.jl. If not update your git submodule with
$ git submodule update --force --init --recursive
-
Open a Julia console and run:
julia> using Pkg julia> Pkg.add("DrWatson") # install globally, for using `quickactivate` julia> Pkg.activate("examples/IEEE14_proximity/") julia> Pkg.instantiate()
-
OpenModelica: Tested omc version v1.21.0-dev-288-g01b6764df5-cmake with OMSimulator version OMSimulator v2.1.1.post194-g75de4c6-linux-debug.
This will install all necessary packages for you to be able to run the scripts and everything should work out of the box, including correctly finding local paths.
You may notice that most scripts start with the commands:
using DrWatson
@quickactivate "IEEE14"
which auto-activate the project and enable local path handling from DrWatson.
The Modelica model OpenIPSL.Examples.IEEE14.IEEE from the OpenIPSL library has one large non-linear equation system that is very hard to replace with a working surrogate.
Run script scripts/runAll.jl to run the example.
Change N
to specify how many data points should be generated.
julia> include("scripts/runAll.jl")