home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
MATH
/
VISSIM.ZIP
/
BOUNCE.VSM
< prev
next >
Wrap
Text File
|
1994-02-25
|
2KB
|
116 lines
; VisSim Block Diagram Format (VBDF)
; Copyright (C) 1989-1994 Visual Solutions
PV=1.500
PS=0
PE=10
PP=0.01
PI=170
PX=0.01
PN=1e-006
PL=5
PT=1e-005
Pn=-9,6,16,"Times New Roman"
Pc=30
Po=0.01,50,664
PD=800x600
Pf=0x0
Pr="b0=2,1,0,7,544;b1=19,-1,2,0,784;b2=18,-1,0,0,800"
Ps=800,0,0,544,0,0
Pd=17
PM=1,1,1,1
N.1="const"(-9.8)*0x62
N.2="plot"*57x2*104x72
pt="Bouncing Ball"
px="Time (sec)"
py="meters"
pax=0
pf=H
pf=F
pb=2,-2
pbx=0,0
pbY=2,-2
pbX=2,0
pc=1024
pm=10
pb.0=2,0
pb.1=0,0
pL.1="Ball position"
pb.2=2,-2
pb.3=0,0
pL.3="Air friction"
N.3="<"*76x51<MR>
N.4="const"(0.5)*0x59
N.5="resetIntegrator"(0,0)*43x36<M>
N.6="-X"*51x45<MR>
N.7="summingJunction"*25x34<M>
N.8="*"*33x21#4,1<MR>
N.9="sign"*51x24<MR>
N.10="resetIntegrator"(2,1)*116x40<M>
N.11="variable"*12x59
n="ground level"
N.12="variable"*12x62
n="Gravity"
N.13="variable"*1x36<M>
n="Gravity"
N.14="variable"*12x66
n="Elasticity"
N.15="const"(0.95)*0x66
N.16="Compound"*28x35#0,2<C>
n="Ball dynamics"
Ms=1564,0,0,1089,0,0
N.17="wireLabel"*28x15<M>
n="Air friction = k(v**2)"
N.18="const"(0.05)*0x71
N.19="variable"*12x71
n="Air viscosity"
N.20="variable"*51x21<MR>
n="Air viscosity"
N.21="wireLabel"*147x15<M>
n="Ball position"
N.22="variable"*6x22<MR>
n=":air friction"
N.23="variable"*142x56<M>
n=":air friction"
N.24="variable"*51x48<MR>
n="Elasticity"
N.25="*"*36x45<MR>
N.26="comment"*0x0*51x11
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."
N.27="wireLabel"*3x55
n="*** Parameters ***"
N.28="variable"*92x54<MR>
n="ground level"
N.29="wirePositioner"*33x52<MR>
N.30="variable"*99x44<M>
n="ground level"
I.2.i2=16.o1
I.2.i4=16.o2
I.3.i1=10.o1
I.3.i2=28.o1
I.5.i1=7.o1
I.5.i2=29.o1
I.5.i3=25.o1
I.6.i1=5.o1
f7.1.i=-
I.7.i1=8.o1
I.7.i2=13.o1
I.8.i1=20.o1
I.8.i2=9.o1
I.8.i3=5.o1
I.8.i4=5.o1
I.9.i1=5.o1
I.10.i1=5.o1
I.10.i2=3.o1
I.10.i3=30.o1
I.11.i1=4.o1
I.12.i1=1.o1
I.14.i1=15.o1
G.16=13,7,8,9,10,3,6,5,17,20,21,22,23,24,25,28,29,30,
I.16.o1=10.o1
I.16.o2=23.o1
I.19.i1=18.o1
I.22.i1=8.o1
I.25.i1=6.o1
I.25.i2=24.o1
I.29.i1=3.o1