Skip to content

Commit b2c06b0

Browse files
committed
bench: case study for pH neutralization root solving
1 parent 302872b commit b2c06b0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎benchmark/1_bench_sim_model.jl‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,9 @@ u_pendulum = [0.5]
3333
CASE_MODEL["NonLinModel"]["pendulum"]["updatestate!"] =
3434
@benchmarkable(
3535
updatestate!($pendulum_model, $u_pendulum);
36+
)
37+
u_ph, d_ph = [10.0], [10.0]
38+
CASE_MODEL["NonLinModelDAE"]["pH neutalization"]["updatestate!"] =
39+
@benchmarkable(
40+
updatestate!($ph_model, $u_ph, $d_ph);
3641
)

0 commit comments

Comments
 (0)