simuNetwork {ODEnetwork} | R Documentation |
Simulation of the Differential Equations
Description
Simulates the given ODEnetwork
over a time range.
Usage
simuNetwork(odenet, times, origin.min.time = FALSE, ...)
Arguments
odenet |
[ |
times |
[ |
origin.min.time |
[ |
... |
Additional arguments. |
Value
an extended list of class [ODEnetwork
].
Examples
masses <- 4:6
dampers <- diag(1:3)
springs <- diag(7:9)
odenet <- ODEnetwork(masses, dampers, springs)
position <- rep(10, 3)
velocity <- rep(0, 3)
odenet <- setState(odenet, position, velocity)
odenet <- simuNetwork(odenet = odenet, times = seq(0, 20))
[Package ODEnetwork version 1.3.2 Index]