model test ! Simple example dynamic model parameter ! These are quantities which are known, but which ! the user may wish to change to see their effect mu=1 ; s = 0.5 t1=1 ; t2 = 1.3 ! They will normally be given initial values end parameter variable ! These are the variables or unknowns of the problem u, x, y end variable equation ! These are the equations u = mu*(s-y) ! This is the controller algebraic equation ! These are differential equations representing the process... .x = (u-x) / T1 .y = (x-y) / T2 end equation initial x = 1 y = 0 end initial schedule ! This section defines how the model will be run deltat=0.2 ! Timestep steps=50 ! number of timesteps end end model