-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrunAll.jl
More file actions
35 lines (30 loc) · 1018 Bytes
/
runAll.jl
File metadata and controls
35 lines (30 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $ julia --threads=auto -e "include(\"runAll.jl\")"
# $ nohup julia --threads=auto -e "include(\"runAll.jl\")" &
using DrWatson
@quickactivate "ScalableTranslationStatistics"
sizes = [5,10]
begin
include("genAllSurrogates.jl")
#ENV["JULIA_DEBUG"] = NonLinearSystemNeuralNetworkFMU
genAllSurrogates(sizes, modelicaLib; n=100, genData=true)
logFile = plotsdir("LoopInfo.log")
logProfilingInfo(sizes, logFile)
end
begin
include("simulateSurrogates.jl")
simulateAllSurrogates(sizes)
end
# Generate plots
sizes = [5,10]
begin
include("genAllPlots.jl")
include("plotTrainData.jl")
plotAllResults(sizes, plotAbsErr=false, filetype="png")
plotItterationVariables(sizes, filetype="png")
plotAllTrainingData(sizes, filetype="png")
simulationTimes(sizes; printAbsTime=false, plotTimeLabels=true, filetype="png", title="")
plotTrainingProgress(sizes, filetype="png")
csvFile = "$(@__DIR__)/../simTimes.csv"
include("plotSimTimeOverview.jl")
plotSimTimes(sizes, csvFile; filetype="png")
end