Skip to content

Interleaved #61

Description

@mongibellili
function interleaved(du, u, p, t)
    C=1e4;L=1e4;R=0.1;T=1e-4;DC=0.5;ROn = 1e-5; ROff = 1e5;N=4.0
    du[1] =C*(u[2]+u[3]-R*u[1]+u[4]+u[5])
    for k in 2:5 
        du[k]=(((24.0/p[k+3]) - u[k]) * (p[k+3]*p[k-1]/(p[k+3]+p[k-1])) - u[1])*L;
    end 
end
rel,abs=(-3,-4)
liqss2:
The total simulation steps: 842
The number of events: 177
The number of state steps per Var: [119, 115, 132, 152, 147]
  376.100 μs (82 allocations: 45.84 KiB)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions