pm_example.mvc 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. Initial init {
  2. name = "initial"
  3. }
  4. Activity req {
  5. name = "define_requirements"
  6. distribution = "lambda iteration: max(0.0, random.gauss(10.0 * (1-math.exp(-(iteration+1) / 0.7)), (10.0 * (1-math.exp(-(iteration+1) / 0.7)))*0.15625))"
  7. }
  8. SimpleMerge merge {
  9. name = "merge_0"
  10. }
  11. Activity model {
  12. name = "model_system"
  13. distribution = "lambda iteration: max(0.0, random.gauss(100.0 * (1-math.exp(-(iteration+1) / 0.7)), (100.0 * (1-math.exp(-(iteration+1) / 0.7)))*0.15625))"
  14. }
  15. ParallelSplit split {
  16. name = "split_0"
  17. }
  18. MultiInstance simulate {
  19. name = "simulate"
  20. nr_instances = 10
  21. distribution = "lambda iteration: max(0.0, random.gauss(20.0 * (1-math.exp(-(iteration+1) / 0.7)), (20.0 * (1-math.exp(-(iteration+1) / 0.7)))*0.15625))"
  22. }
  23. Activity check {
  24. name = "check"
  25. distribution = "lambda iteration: max(0.0, random.gauss(30.0 * (1-math.exp(-(iteration+1) / 0.7)), (30.0 * (1-math.exp(-(iteration+1) / 0.7)))*0.15625))"
  26. }
  27. Synchronization sync {
  28. name = "sync_0"
  29. }
  30. Activity evaluate {
  31. name = "evaluate"
  32. distribution = "lambda iteration: max(0.0, random.gauss(0.1 * (1-math.exp(-(iteration+1) / 0.7)), (0.1 * (1-math.exp(-(iteration+1) / 0.7)))*0.15625))"
  33. }
  34. ExclusiveChoice choice {
  35. name = "xor_0"
  36. distribution = "lambda iteration: random.random() > {0: 0.99, 1: 0.9, 2: 0.8, 3: 0.5, 4: 0.2, 5: 0.1, 6: 0.02}.get(iteration, 0.0)"
  37. }
  38. Finish finish {
  39. name = "finish"
  40. }
  41. Next (init, req) {}
  42. Next (req, merge) {}
  43. Next (merge, model) {}
  44. Next (model, split) {}
  45. Next (split, simulate) {}
  46. Next (split, check) {}
  47. Next (simulate, sync) {}
  48. Next (check, sync) {}
  49. Next (sync, evaluate) {}
  50. Next (evaluate, choice) {}
  51. DecisionTrue (choice, finish) {}
  52. DecisionFalse (choice, merge) {}