This commit is contained in:
Sergiu Toma 2020-08-05 12:26:38 +03:00
commit 8979d49528
1 changed files with 6 additions and 3 deletions

View File

@ -17,6 +17,7 @@ sudo npm install --unsafe-perm
``` ```
## How to guide how to configure units and the simulator ## How to guide how to configure units and the simulator
<br/> <br/>
**1. Insert Groups** <br/> **1. Insert Groups** <br/>
Groups will be inserted using the following script directly on the database: Groups will be inserted using the following script directly on the database:
@ -49,13 +50,15 @@ BEGIN
end; $$; end; $$;
``` ```
<br/> <br/>
**2. Insert units** <br/> **2. Insert units** <br/>
The units will be inserted from the provisioning(**Units -> Import from file**) and the **file_name.xlsx** file will have the following format: The units will be inserted from the provisioning(**Units -> Import from file**) and the **file_name.xlsx** file will have the following format:
<img src="./doc/units_xlsx.png"> ![FILE.XLSX Format](./doc/units-xlsx.png)
<br/> <br/>
**3. Cimulator configuration:** <br/> **3. Simulator configuration:** <br/>
**For the simulation to simulate in a period**, we must put the **testing_period setting in settings** (the value is in milliseconds).<br/> For the simulation to simulate **in a period**, we must put the **testing_period setting in settings** (the value is in milliseconds).<br/>
Example in **config**:<br/> Example in **config**:<br/>
```toml ```toml
[settings] [settings]