color=color, linewidth=2.0, title="Parameter variation k1", xlabel="time", ylabel="concentration", xlim=[-1, 31], ylim=[-0.1, 11], grid=True) print('Reference Simulation: k1 = {}'.format(r.k1)) print('Parameter variation: k1 = {}'.format(k1_values)) # #### Logarithmic axis # The axis scale can be adapted with the `xscale` and `yscale` settings. # In[3]: import tellurium as te r = te.loadTestModel('feedback.xml') r.integrator.setSetting('variable_step_size', True) s = r.simulate(0, 50) r.plot(s, xscale="log", xlim=[10E-4, 10E2], grid=True, title="Logarithmic x-Axis with grid", ylabel="concentration") # In[4]:
def test_loadTestModel(self): r = te.loadTestModel('feedback.xml') self.assertIsNotNone(r)