First steps

This tutorial shows you to load a model m1.m from the PottersWheel model library, to open and animiate it in the model designer and to draw kinteic trajectories.

 

  1. Start Matlab.
  2. Change to a suitable working directory by typing e.g.
    cd C:\
    mkdir Modeling
    cd Modeling
    mkdir WorkingFolder
    cd WorkingFolder
  3. Type pw to start PottersWheel.
  4. Click the magnifying glass icon in the main window.


  5. Enter m1 and press OK.
  6. In the command window, all models of the library are shown which contain the letters 'm1'. Click on 'load' to load model M1.m into PottersWheel:
  7. The model will be compiled and several temporary files are created:
  8. The upper list in the PottersWheel main window is called the model-data couple-list. It contains now a single model attached to a data set.

  9. Simulate synthetic data by pressing the simulation icon:

  10. Now one data-set is coupled to model 1:
  11. Press the 'combine' button to transfer the model-data-couple into the lower list, the so-called 'assembly':
  12. Now, the assembly comprises one model-data couple:
  13. Arrange all figures on the screen automatically:

  14. Draw the model trajectories for the observables Y:
  15. Enable the view of the internal dynamic variables X:
  16. Arrange and draw again to see all trajectories.
  17. Open the equalizer user interface by pressing the equalizer icon:
  18. Change the parameter sliders and observe the effect on internal and measured species. Each slider-pair belongs to one parameter. The left slider is used to change the value (mantissa) and the right slider to change the magnitude (exponent) of the parameter for fine and coarse tuning:
  19. Go back to the main PottersWheel window by pressing the PottersWheel icon:
  20. Open the model definition file in the Matlab editor:
  21. Open the model in the PottersWheel Model Designer:
  22. Change the species positions in the Designer by drag and drop. Use the context menu to change the coloring in the details dialog.
  23. Press the play button to animate the dynamical system:
  24. Activate the trajectory view and move the mouse over a species: