Differences between CSIM 20 and CSIM for Java

  1. The spellings of many methods and functions are different, in order to conform to standard Java naming conventions.
  2. It will be extremely helpful for modelers with experience in using CSIM(C/C++) to use the CSIM for Java documentation to facilitate the move.
  3. Future versions of CSIM for Java will include additional features that expand the software's capabilities.
  4. The structure of a CSIM for Java model is dictated by the use of Java threads; this structure must be followed.
  5. For event implementation in CSIM for C++, we have "ev.wait();". In CSIM for Java, the analogous statement is "ev.untimed_wait();". The reason for this difference is that in Java, "wait" is already used. So, we must use "untimed_wait();". Note that CSIM also includes a "timed_wait()" that is consistent between CSIM and CSIM for Java.

 

Features in CSIM 20 (C/C++) not found in CSIM for Java:

  1. Facility
    1. synchronous_fcfs
    2. process sharing scheduling discipline
  2. Storage
    1. synchronous_storage
    2. add_store and remove_store
  3. Buffer
    1. add_space and remove_space
  4. Mailbox
    1. synchronous_send
    2. Mailbox_set
  5. Table
    1. table_report (table.report())
    2. moving_window
  6. Qtable
    1. qtable_report (qtable.report())
  7. Meter
    1. meter_report (meter.report())
  8. Box
    1. box_report (box.report())
  9. Rerun is not present. To run a new model, just instantiate a new instance of the model.
  10. Utility routines:
    1. reset_tables, reset_qtables, reset_facilities, reset_events, etc.
    2. max_tables, max_qtables, max_facilities, max_events, max_processes, etc.
  11. Status
    1. status_processes
  12. Probability distributions present in CSIM (C/C++) and not present in CSIM for Java
    1. gamma
    2. erlang2
    3. erlangn
    4. beta
    5. weibull
    6. normal2
    7. lognormal
    8. cauchy
    9. pareto
    10. zipf
    11. zipf_sum
    12. bernoulli
    13. binomial
    14. geometric
    15. negative_binomial
    16. poisson
    17. empirical