encyclopegia.org

SIM.JS

SIM.JS is an event-based discrete-event simulation library based on standard JavaScript. The library has been written in order to enable simulation within standard browsers by utilizing web technology. SIM.JS supports entities, resources (Facility, Buffers and Stores), communication (via Timers, Events and Messages) and statistics (with Data Series, Time Series and Population statistics). The SIM.JS distribution contains tutorials, in-depth documentation, and a large number of examples. SIM.JS is released as open source software under the LGPL license. The first version was released in January 2011.

SIM.JS is an event-based discrete-event simulation library based on standard JavaScript. The library has been written in order to enable simulation within standard browsers by utilizing web technology. SIM.JS supports entities, resources (Facility, Buffers and Stores), communication (via Timers, Events and Messages) and statistics (with Data Series, Time Series and Population statistics). The SIM.JS distribution contains tutorials, in-depth documentation, and a large number of examples. SIM.JS is released as open source software under the LGPL license. The first version was released in January 2011. {{sxhl|2=js|1= function trafficLightSimulation(GREEN_TIME, MEAN_ARRIVAL, SEED, SIMTIME) { var sim = new Sim(); var random = new Random(SEED); var trafficLights = [new Sim.Event("North-South Light"), new Sim.Event("East-West Light")]; var stats = new Sim.Population("Waiting at Intersection"); var LightController = { currentLight: 0, // the light that is turned on currently start: function () { sim.log(trafficLights[this.currentLight].name + " OFF" + ", " + trafficLights[1 - this.currentLight].name + " ON"); sim.log("------------------------------------------"); // turn off the current light trafficLights[this.currentLight].clear(); // turn on the other light. // Note the true parameter: the event must "sustain" trafficLights[1 - this.currentLight].fire(true); // update the currentLight variable this.currentLight = 1 - this.currentLight; // Repeat every GREEN_TIME interval this.setTimer(GREEN_TIME).done(this.start); } }; }} Bachelor thesis on Web-Based Single-Player Project Simulation Game reviewing SIM.JS Interactive Model-Centric Systems Engineering report by Systems Engineering Research Center managed by Stevens Institute of Technology mentioning SIM.JS "Just-In-Time parallel simulation" compares simulation programmed in JIT languages versus AOT languages referencing SIM.JS Modeling and Simulation of Tape Libraries for Hierarchical Storage Management Systems, Master Thesis reviewing DES frameworks, including SIM.JS

References

No reference rows published for this article.

Cite this article

MLA

"SIM.JS." encyclopegia.org, 2026, https://encyclopegia.org/wiki/sim-js. Accessed 24 November 2026.

Chicago

"SIM.JS." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/sim-js.

APA

encyclopegia.org. (2026). SIM.JS. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/sim-js

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date2011Wikipedia

Related articles

Sim

stub · references available

Al-Musta'sim

stub · references available

JS Suō

stub · references available

Ben Sim

stub · references available

Jee Sin Sim See

stub · references available

Cornelius Sim

stub · references available

Dual-SIM

stub · references available

Chuk Lam Sim Yuen

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1366925369 · 0.5 · snapshot enwiki-001366925369

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.