Skip to content

Commit

Permalink
fix julis script
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Metelkin committed Dec 28, 2023
1 parent 386a2b2 commit 11218d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions julia/run.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
using HetaSimulator, Plots
ENV["GKSwstype"] = "100"

model = load_jlmodel("../dist/julia/model.jl")
p = load_platform("..")
model = models(p)[:nameless]

res = Scenario(model; tspan = (0,340)) |> sim
res = Scenario(model, (0,340)) |> sim

plotd = plot(res; vars = [:P_p, :A_p, :O_p])
savefig(plotd, "julia-plot-1.png")
Expand Down

0 comments on commit 11218d8

Please sign in to comment.