home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / MATH / VISSIM.ZIP / SQR_WAVE.VSM < prev    next >
Text File  |  1994-02-28  |  2KB  |  89 lines

  1. ; VisSim Block Diagram Format (VBDF)
  2. ; Copyright (C) 1989-1994 Visual Solutions
  3. PV=1.500
  4. PS=0
  5. PE=10
  6. PP=0.025
  7. PI=173
  8. PX=0.025
  9. PN=0.0001
  10. PL=5
  11. PT=1e-005
  12. Pn=-6,4,10,"MS Serif"
  13. Pc=26
  14. Po=0.01,50,664
  15. PD=800x600
  16. Pf=0x0
  17. Pr="stub"
  18. Ps=766,0,0,500,0,0
  19. PM=1,1,1,1
  20. N.1="Compound"*1x0#0,1<C>
  21. n="sqr_wave.bmp"
  22. Ms=766,0,0,500,0,0
  23. Mb
  24. MB=4,5,1,1
  25. N.2="comment"*22x1*158x17<M>
  26. C="Square Wave Model:        
  27. Generates a square wave with a low value of zero and a high value of set by the parameter MaxVal.  The time between pulses is set by the Time Between Pulses parameter and the time duration of the on pulse is set by the On Time parameter.
  28.  
  29. Limitations:
  30. 1.  The square wave begins in the off (0) state
  31. "
  32. N.3="variable"*31x85<M>
  33. n=":MaxVal"
  34. N.4="variable"*31x89<M>
  35. n=":Time Between Pulses, sec"
  36. N.5="wireLabel"*13x79<M>
  37. n="==== Parameters ===="
  38. N.6="const"(3)*13x85<M>
  39. N.7="const"(1)*13x89<M>
  40. N.8="variable"*31x93<M>
  41. n=":On time, sec"
  42. N.9="const"(2)*13x93<M>
  43. N.10="resetIntegrator"(0,0)*27x36<M>
  44. N.11="step"(0,1)*15x36<M>
  45. N.12="summingJunction"*61x63<M>
  46. N.13="variable"*7x61<M>
  47. n=":Time Between Pulses, sec"
  48. N.14="variable"*24x65<M>
  49. n=":On time, sec"
  50. N.15="variable"*78x64<M>
  51. n=":Period"
  52. N.16="summingJunction"*45x47<MR>
  53. N.17="variable"*61x50<MR>
  54. n=":Period"
  55. N.18="crossDetect"(0)*9x49<MR>
  56. N.19="const"(0)*16x42<M>
  57. N.20="variable"*48x33<M>
  58. n=":Time in Period"
  59. N.21="merge"*166x50<M>
  60. N.22="variable"*114x43<M>
  61. n=":Time in Period"
  62. N.23="<="*145x44<M>
  63. N.24="variable"*100x47<M>
  64. n=":Time Between Pulses, sec"
  65. N.25="const"(0)*153x53<M>
  66. N.26="variable"*142x58<M>
  67. n=":MaxVal"
  68. G.1=2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,
  69. I.1.o1=21.o1
  70. I.3.i1=6.o1
  71. I.4.i1=7.o1
  72. I.8.i1=9.o1
  73. I.10.i1=11.o1
  74. I.10.i2=18.o1
  75. I.10.i3=19.o1
  76. I.12.i1=13.o1
  77. I.12.i2=14.o1
  78. I.15.i1=12.o1
  79. f16.1.i=-
  80. I.16.i1=10.o1
  81. I.16.i2=17.o1
  82. I.18.i1=16.o1
  83. I.20.i1=10.o1
  84. I.21.i1=23.o1
  85. I.21.i2=25.o1
  86. I.21.i3=26.o1
  87. I.23.i1=22.o1
  88. I.23.i2=24.o1
  89.