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

  1. ; VisSim Block Diagram Format (VBDF)
  2. ; Copyright (C) 1989-1994 Visual Solutions
  3. PV=1.500
  4. PS=-8
  5. PE=8
  6. PP=0.2
  7. PI=170
  8. PX=0.2
  9. PN=1e-006
  10. PL=5
  11. PT=1e-005
  12. Pn=-9,6,16,"Times New Roman"
  13. Pc=45
  14. Po=0.01,50,664
  15. PD=800x600
  16. PA=1
  17. Pf=0x0
  18. Pr="stub"
  19. Ps=1600,0,0,1105,0,0
  20. Pd=777
  21. PM=1,1,1,1
  22. N.1="plot"*71x14*56x49
  23. pt="Sombrero Function"
  24. px="Time (sec)"
  25. pax=0
  26. pf=H
  27. pf=F
  28. pb=0,-3
  29. pbx=8,-8
  30. pbY=1,-3
  31. pbX=0,0
  32. pc=100
  33. pm=10
  34. po=55
  35. pb.0=0,0
  36. pb.1=0,0
  37. pb.2=0,0
  38. pb.3=1,-3
  39. N.2="summingJunction"*98x13#3,1<M>
  40. N.3="variable"*112x15<M>
  41. n=":y(t)"
  42. N.4="variable"*63x14<M>
  43. n="dy"
  44. N.5="*"*74x12<M>
  45. N.6="variable"*83x15<M>
  46. n="ystart"
  47. N.7="wireLabel"*23x44<M>
  48. n="Stop Condition"
  49. N.8="variable"*34x13<M>
  50. n="$runCount"
  51. N.9="const"(1)*44x11<M>
  52. N.10="summingJunction"*53x11<M>
  53. N.11="variable"*39x53
  54. n="x(t)"
  55. N.12="ramp"(0,1)*28x53
  56. N.13="*"*89x28<M>
  57. N.14="*"*90x33<M>
  58. N.15="variable"*75x29<M>
  59. n="x(t)"
  60. N.16="variable"*75x34<M>
  61. n="y(t)"
  62. N.17="summingJunction"*100x30<M>
  63. N.18="sqrt"*23x29
  64. N.19="sin"*37x27
  65. N.20="/"*49x27
  66. N.21="wireLabel"*17x23
  67. n="Sombrero Function"
  68. N.22="wireLabel"*31x56
  69. n="X sweep"
  70. N.23="ramp"(0,1)*88x17<M>
  71. N.24="summingJunction"*57x30
  72. N.25="gain"(-0.05)*32x34
  73. N.26="Compound"*2x32#0,2<C>
  74. n="Y Sweep Calc"
  75. Ms=1567,0,0,1091,0,0
  76. N.27="comment"*3x1*53x12
  77. C="This block diagram illustrates a parameter sweep of the \"Sombrero Function:\"
  78.  
  79. f(x,y) = sin(sqrt(x^2+y^2)) / sqrt(x^2+y^2)
  80.  
  81. Click the right button over the Y SWEEP CALC compound block to view the sweep logic."
  82. N.28="variable"*20x32
  83. n="y(t)"
  84. N.29="variable"*10x54
  85. n="ystart"
  86. N.30="wireLabel"*1x50
  87. n="==== Parameters ===="
  88. N.31="variable"*10x57
  89. n="ystop"
  90. N.32="const"(-16)*1x54
  91. N.33="const"(20)*1x57
  92. N.34="variable"*10x60
  93. n="dy"
  94. N.35="const"(0.5)*1x60
  95. N.36="comment"*67x1*56x8<M>
  96. C="Parameter Sweep support block
  97. Under Simulate Simulation Setup, activate the AutoRestart parameter.
  98. and set OverPlot on the plot block to view parameter
  99. sweep results."
  100. N.37="wireLabel"*113x12<M>
  101. n="Y sweep"
  102. N.38="wireLabel"*114x46<M>
  103. n="Y step"
  104. N.39="stop"*48x49<M>
  105. N.40=">="*25x48<M>
  106. N.41="variable"*5x50<M>
  107. n="ystop"
  108. N.42="gain"(2)*37x49<M>
  109. N.43="variable"*5x48<M>
  110. n=":y(t)"
  111. N.44="variable"*108x48<M>
  112. n="$runCount"
  113. N.45="Compound"*3x29#0,1<C>
  114. n="x^2+y^2"
  115. Ms=600,0,0,272,0,0
  116. I.1.i2=24.o1
  117. I.2.i1=5.o1
  118. I.2.i2=6.o1
  119. I.2.i3=23.o1
  120. I.3.i1=2.o1
  121. I.5.i1=10.o1
  122. I.5.i2=4.o1
  123. f10.1.i=-
  124. I.10.i1=9.o1
  125. I.10.i2=8.o1
  126. I.11.i1=12.o1
  127. I.13.i1=15.o1
  128. I.13.i2=15.o1
  129. I.14.i1=16.o1
  130. I.14.i2=16.o1
  131. I.17.i1=13.o1
  132. I.17.i2=14.o1
  133. I.18.i1=45.o1
  134. I.19.i1=18.o1
  135. I.20.i1=19.o1
  136. I.20.i2=18.o1
  137. I.24.i1=20.o1
  138. I.24.i2=25.o1
  139. I.25.i1=26.o2
  140. G.26=7,8,9,10,3,2,23,5,6,4,36,37,38,39,40,41,42,43,44,
  141. I.26.o1=3.o1
  142. I.26.o2=44.o1
  143. I.28.i1=26.o1
  144. I.29.i1=32.o1
  145. I.31.i1=33.o1
  146. I.34.i1=35.o1
  147. I.39.i1=42.o1
  148. I.40.i1=43.o1
  149. I.40.i2=41.o1
  150. I.42.i1=40.o1
  151. G.45=13,14,15,16,17,
  152. I.45.o1=17.o1
  153.