|
149 | 149 | @test issetequal(equations(coupled_rs)[3:3], eqs[3:3]) |
150 | 150 |
|
151 | 151 | # Set simulation inputs. |
152 | | - u0 = [X => 0.1] |
| 152 | + u0 = [X => 0.1, A => 10.0] |
153 | 153 | tspan = (0.0, 1000.0) |
154 | 154 | ps = [p => 1.0, d => 0.5, a => 2.0, b => 16.0] |
155 | 155 |
|
|
197 | 197 | coupled_rs = complete(coupled_rs) |
198 | 198 |
|
199 | 199 | # Set simulation inputs. |
200 | | - u0 = (X => 1.0, A => 2.0, B => 3.0) |
| 200 | + u0 = (X => 1.0, A => 2.0, B => 3.0, C => 4.0) |
201 | 201 | ps = (p => 1.0, d => 2.0, a => 3.0, b => 4.0, c => 5.0) |
202 | 202 |
|
203 | 203 | # Creates and solves a ODE, SteadyState, and Nonlinear problems. |
|
689 | 689 |
|
690 | 690 | # Checks that the models can be simulated and yield identical results. |
691 | 691 | # Test most likely redundant, but seem useful to have one test like this to be sure. |
692 | | - u0 = [X1 => 0.1, X2 => 0.2, X3 => 0.2, N => 10.0] |
| 692 | + u0 = [X1 => 0.1, X2 => 0.2, X3 => 0.2, X_tot => 0.6, N => 10.0, X_conc => 10.0] |
693 | 693 | ps = [p => 1.0, k1 => 1.2, k2 => 1.5, d => 2.0, v => 0.2, n => 0.5, x_scale => 2.0] |
694 | 694 | oprob_prog = ODEProblem(rs_prog, u0, (0.0, 10.0), ps; structural_simplify = true) |
695 | 695 | oprob_dsl = ODEProblem(rs_dsl, u0, (0.0, 10.0), ps; structural_simplify = true) |
|
0 commit comments