Each simulation can have as many groups with as many devices as your Remote Manager account allows. All are part of the same simulation.
The maximum number of simulated devices is 200. To increase this limit, contact your Digi Sales Representative. |
This guide uses the provided simulation_template
to create your new streetlights simulation.
Follow next steps to set up the primary design of a simulation:
-
Copy the
simulation_template
directory to your home directory, for example. -
Rename the copied folder with a meaningful name to identify the simulation, for example,
streetlights_simulation
.At this point, you have a complete simulation directory. To customize the directory, you can edit existing files or add more profiles, data streams, or device requests.
The copied directory contains:
-
simulation.json
: Main simulation file. -
profiles
: Directory with files to define the behavior of simulated devices. -
data_streams
: Directory with sets of data streams in files. -
device_requests
: Directory with sets of device requests files. -
fs
: Contains sub-directories with the base file systems used in your profiles. -
routes
for your simulated devices. -
simulation.py
: Optional Python script to manage device requests and data points by code.
See Simulation structure for more information.
-
-
Remove the
routes
subdirectory of thestreetlights_simulation
folder since streetlights do not move.See Routes for your devices to get information about how to add routes to your simulation.