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

  1. ; VisSim Block Diagram Format (VBDF)
  2. ; Copyright (C) 1989-1992 Visual Solutions
  3. PV=1.200
  4. PS=0
  5. PE=1
  6. PP=0.001
  7. PI=170
  8. PX=0.001
  9. PN=1e-006
  10. PF=10
  11. PC=2,10,0.0001,1,1e-007
  12. PD=800x600
  13. Pf=0x0
  14. Ps=1600,0,0,1105,0,0
  15. Pd=17
  16. PM=1,1,1,1
  17. N.1="integrator"(0,0)@270x259<M>
  18. N.2="Compound"@0x0#1,1<C>
  19. n="trim_int.bmp"
  20. Ms=1600,0,0,1105,0,0
  21. Mb
  22. N.3="comment"@186x14@514x125<M>
  23. C="Trimmed Integrator Model
  24.  
  25. Automatically computes the initial condition of the integrator (x(0)) on the first pass of the simulation
  26. such that the integrator input signal (xdot)  is initially zero.  
  27.  
  28. Limitations:
  29. 1.  The Implicit Solver - Newton Raphson option MUST be selected for this model.
  30. This is located under the SIMULATE - Change Parameter selection in the main menu.
  31. "
  32. N.4="summingJunction"(0)@432x259<M>
  33. N.5="wireLabel"@744x245<M>
  34. n="x"
  35. N.6="variable"@102x217<M>
  36. n=":xdot"
  37. N.7="merge"@534x357<M>
  38. N.8="variable"@420x357<M>
  39. n="$firstPass"
  40. N.9="variable"@420x371<M>
  41. n=":xdot"
  42. N.10="const"(0)@432x385<M>
  43. N.11="constraint"(1e-005)@630x371<M>
  44. N.12="unknown"@270x280<M>
  45. N.13="const"(0)@210x280<M>
  46. N.14="wireLabel"@360x294<M>
  47. n="x(0)"
  48. N.15="comment"@360x434@401x74<M>
  49. C="    The merge block is used to modify the input to the constraint:
  50. For the first pass of the simulation the input is xdot.
  51. For each subsequent pass the input is set to zero (the constraint is satisfied).
  52. This inhibits further implicit solution iterations."
  53. N.16="comment"@42x329@191x61<M>
  54. C="$firstPass is a built-in VisSim variable which outputs 1 on the first pass of a simulation and 0 on all subsequent passes.."
  55. I.1.i1=2.i1
  56. G.2=1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  57. I.2.o1=4.o1
  58. I.4.i1=1.o1
  59. I.4.i2=12.o1
  60. I.6.i1=2.i1
  61. I.7.i1=8.o1
  62. I.7.i2=9.o1
  63. I.7.i3=10.o1
  64. I.11.i1=7.o1
  65. I.12.i1=13.o1
  66.