cbd_spring.mvc 737 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ConstantBlock cte_k {
  2. value = 1
  3. }
  4. ConstantBlock cte_g {
  5. value = 10
  6. }
  7. ConstantBlock cte_m {
  8. value = 1
  9. }
  10. ConstantBlock cte_v0 {
  11. value = 1
  12. }
  13. ConstantBlock cte_y0 {
  14. value = 20
  15. }
  16. MultiplicationBlock m0 {}
  17. MultiplicationBlock m1 {}
  18. MultiplicationBlock m2 {}
  19. NegationBlock n0 {}
  20. InverseBlock i0 {}
  21. AdditionBlock a0 {}
  22. IntegratorBlock int0 {}
  23. IntegratorBlock int1 {}
  24. Probe pv {
  25. name = "velocity"
  26. }
  27. Probe py {
  28. name = "displacement"
  29. }
  30. Link (cte_k, m0) {}
  31. Link (int1, m0) {}
  32. Link (cte_g, m1) {}
  33. Link (cte_m, m1) {}
  34. Link (cte_m, i0) {}
  35. Link (m0, a0) {}
  36. Link (n0, a0) {}
  37. Link (i0, m2) {}
  38. Link (a0, m2) {}
  39. Link (m2, int0) {}
  40. Link (int0, int1) {}
  41. InitialCondition (cte_v0, int0) {}
  42. InitialCondition (cte_y0, int1) {}