Skip to content

Commit

Permalink
add SYPD calculation [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Mar 6, 2024
1 parent 0525fc0 commit f7a9b60
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions experiments/AMIP/coupler_driver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ function solve_coupler!(cs)
end
@show walltime

return cs
return walltime
end

## exit if running performance anaysis #hide
Expand All @@ -687,7 +687,11 @@ if haskey(ENV, "CI_PERF_SKIP_COUPLED_RUN") #hide
end #hide

## run the coupled simulation
solve_coupler!(cs);
walltime = solve_coupler!(cs);

# Show the simulated years per day of the simulation
es = CA.EfficiencyStats(tspan, walltime)
@info "SYPD: $(CA.simulated_years_per_day(es))"

#=
## Postprocessing
Expand Down

0 comments on commit f7a9b60

Please sign in to comment.