home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / bit / listserv / csgl / 967 < prev    next >
Encoding:
Text File  |  1992-09-09  |  3.4 KB  |  70 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!europa.asd.contel.com!paladin.american.edu!auvm!AMERICAN.EDU!HARNDEN
  3. Organization: The American University
  4. Message-ID: <CSG-L%92090913214182@VMD.CSO.UIUC.EDU>
  5. Newsgroups: bit.listserv.csg-l
  6. Date:         Wed, 9 Sep 1992 13:31:08 EDT
  7. Sender:       "Control Systems Group Network (CSGnet)" <CSG-L@UIUCVMD.BITNET>
  8. From:         harnden <HARNDEN@AMERICAN.EDU>
  9. Subject:      stella models
  10. Lines: 58
  11.  
  12. as i mentioned before, the last time i talked to high performance systems,
  13. i got the impression that they were not considering a port of stella
  14. the the pc. although i believe that there is some talk at pugh-roberts
  15. of putting a graphic front end on dynamo for windows. as i remember,
  16. however, the cost was going to be exorbitant.
  17.  
  18. as for moving stella stuff around, it can't actually be transported in
  19. ascii, but like any mac file there's no reason it can't be binhexed
  20. for transport on the wires.
  21.  
  22. another alternative would simply be to use the dynamo equivalents of the
  23. stella diagrams. these diagrams are, after all, just exactly the kind that
  24. dynamo modelers draw before committing their models to code. they can
  25. be sketched from code just as well. for example, the dynamo code for the
  26. drawing i posted is as follows:  (with exhaustive comments... please bear
  27. with me.)
  28.  
  29. l level1.k=level1.j+(dt)(rate1.jk)
  30.     this is a level equation, stating that a level variable named level1
  31.     will at time k be equal to its value at time j (the previous timestep,
  32.     k-1), plus some difference defined by a rate times the integration
  33.     interval.
  34. n level1=1000
  35.     an initialization statement, setting the value of level1 at the beginning
  36.     of the run.
  37. r rate1.kl=-10+error.k+noise()
  38.     the rate of change of level1 is defined as a constant depletion of -10
  39.     per timestep (there's your hole in the tank) plus the current error value,
  40.     plus the output of a noise function (whose parameters i have forgotten...
  41.     i think they are mean and sd. one could also use a suite of function
  42.     generators.)
  43. a error.k=reflevel-perclev.k
  44.     an auxiliary equation defining the error as the difference between a
  45.     reference and the current perceived level.
  46. c reflevel=500
  47.     constant definition for reference level.
  48. a perclev.k=delay1(level1,5)
  49.    one possible transformation of actual level1 to pereceived level. the
  50.    perception of level1 lags by 5 time intervals (not integration intervals).
  51.    other possible transformations include table lookups, where the perceived
  52.    level is a function of real level, which can even be drawn on a graph.
  53.  
  54.    and that's basically it. without all the comments it's only 5 lines,
  55. leaving out a couple of lines of program run specs. the language is fairly
  56. straightforward, and is, for me at least, a comfortable crossover from
  57. mathematical to textual representation. the equations also clearly define
  58. the drawings from which they derive. and you don't have to worry about order
  59. of calculation, either. the dynamo compiler manages that for you.
  60.    all of which is to say that i think we've got workable alternatives to
  61. ascii graphics for the effective communication of model structures.
  62.  
  63. -----------< Cognitive Dissonance is a 20th Century Art Form >-----------
  64. Eric Harnden (Ronin)
  65. <HARNDEN@AUVM.BITNET> or <HARNDEN@AMERICAN.EDU>
  66. The American University Physics Dept.
  67. 4400 Mass. Ave. NW, Washington, DC, 20016-8058
  68. (202) 885-2748
  69. ---------------------< Join the Cognitive Dissidents >-------------------
  70.