Skip to contents

For a time dependent system, convert_bindings_for_time_independent_system() moves the bindings of unknowns and observed variables to initial conditions, as needed to turn the system into a time independent one. The system is not modified.

Usage

convert_bindings_for_time_independent_system(sys)

Arguments

sys

A System.

Value

A list with elements initial_conditions and bindings.

Examples

t <- t_nounits; D <- D_nounits
parameters("a = 2"); x <- Variable("x", t, default = 2 * a)
sys <- System(list(D(x) ~ -x), t, name = "s")
convert_bindings_for_time_independent_system(sys)$initial_conditions
#> a => 2
#> x(t) => 2*a