Skip to content
Robert Isele edited this page Jul 9, 2014 · 5 revisions

Simulator

Configuration

The configuration can be found in the application.conf file in the conf folder. The following parameters are provided by the simulator:

simulator.endpoint: The endpoint to which all generated data is pushed. If not defined, a local in-memory RDF store is used. simulator.

simulator.defaultGraph: The RDF graph into which the generated data is written.

REST API

POST /simulator/run?frequency={}

Starts the simulation. The frequency parameter specifies the speed of the simulation in seconds per simulated days. Defaults to 1.0, which means that in each second one day is simulated.

POST /simulator/stop

Stops the simulation.

POST /simulator/step

Advances the simulation by one day. Can be used if the simulation is not running for stepping through the simulation day-by-day.

Clone this wiki locally