home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / MATH / VISSIM.ZIP / BOUNCE.VSM < prev    next >
Text File  |  1994-02-25  |  2KB  |  116 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.01
  7. PI=170
  8. PX=0.01
  9. PN=1e-006
  10. PL=5
  11. PT=1e-005
  12. Pn=-9,6,16,"Times New Roman"
  13. Pc=30
  14. Po=0.01,50,664
  15. PD=800x600
  16. Pf=0x0
  17. Pr="b0=2,1,0,7,544;b1=19,-1,2,0,784;b2=18,-1,0,0,800"
  18. Ps=800,0,0,544,0,0
  19. Pd=17
  20. PM=1,1,1,1
  21. N.1="const"(-9.8)*0x62
  22. N.2="plot"*57x2*104x72
  23. pt="Bouncing Ball"
  24. px="Time (sec)"
  25. py="meters"
  26. pax=0
  27. pf=H
  28. pf=F
  29. pb=2,-2
  30. pbx=0,0
  31. pbY=2,-2
  32. pbX=2,0
  33. pc=1024
  34. pm=10
  35. pb.0=2,0
  36. pb.1=0,0
  37. pL.1="Ball position"
  38. pb.2=2,-2
  39. pb.3=0,0
  40. pL.3="Air friction"
  41. N.3="<"*76x51<MR>
  42. N.4="const"(0.5)*0x59
  43. N.5="resetIntegrator"(0,0)*43x36<M>
  44. N.6="-X"*51x45<MR>
  45. N.7="summingJunction"*25x34<M>
  46. N.8="*"*33x21#4,1<MR>
  47. N.9="sign"*51x24<MR>
  48. N.10="resetIntegrator"(2,1)*116x40<M>
  49. N.11="variable"*12x59
  50. n="ground level"
  51. N.12="variable"*12x62
  52. n="Gravity"
  53. N.13="variable"*1x36<M>
  54. n="Gravity"
  55. N.14="variable"*12x66
  56. n="Elasticity"
  57. N.15="const"(0.95)*0x66
  58. N.16="Compound"*28x35#0,2<C>
  59. n="Ball dynamics"
  60. Ms=1564,0,0,1089,0,0
  61. N.17="wireLabel"*28x15<M>
  62. n="Air friction = k(v**2)"
  63. N.18="const"(0.05)*0x71
  64. N.19="variable"*12x71
  65. n="Air viscosity"
  66. N.20="variable"*51x21<MR>
  67. n="Air viscosity"
  68. N.21="wireLabel"*147x15<M>
  69. n="Ball position"
  70. N.22="variable"*6x22<MR>
  71. n=":air friction"
  72. N.23="variable"*142x56<M>
  73. n=":air friction"
  74. N.24="variable"*51x48<MR>
  75. n="Elasticity"
  76. N.25="*"*36x45<MR>
  77. N.26="comment"*0x0*51x11
  78. C="This block diagram simulates a bouncing ball. You can experiment with different values for air viscosity, gravity, ball elasticity, and ground level at which the ball bounces."
  79. N.27="wireLabel"*3x55
  80. n="*** Parameters ***"
  81. N.28="variable"*92x54<MR>
  82. n="ground level"
  83. N.29="wirePositioner"*33x52<MR>
  84. N.30="variable"*99x44<M>
  85. n="ground level"
  86. I.2.i2=16.o1
  87. I.2.i4=16.o2
  88. I.3.i1=10.o1
  89. I.3.i2=28.o1
  90. I.5.i1=7.o1
  91. I.5.i2=29.o1
  92. I.5.i3=25.o1
  93. I.6.i1=5.o1
  94. f7.1.i=-
  95. I.7.i1=8.o1
  96. I.7.i2=13.o1
  97. I.8.i1=20.o1
  98. I.8.i2=9.o1
  99. I.8.i3=5.o1
  100. I.8.i4=5.o1
  101. I.9.i1=5.o1
  102. I.10.i1=5.o1
  103. I.10.i2=3.o1
  104. I.10.i3=30.o1
  105. I.11.i1=4.o1
  106. I.12.i1=1.o1
  107. I.14.i1=15.o1
  108. G.16=13,7,8,9,10,3,6,5,17,20,21,22,23,24,25,28,29,30,
  109. I.16.o1=10.o1
  110. I.16.o2=23.o1
  111. I.19.i1=18.o1
  112. I.22.i1=8.o1
  113. I.25.i1=6.o1
  114. I.25.i2=24.o1
  115. I.29.i1=3.o1
  116.