1
0
mirror of https://github.com/gsi-upm/soil synced 2025-08-23 19:52:19 +00:00

Update easy function

This commit is contained in:
J. Fernando Sánchez
2023-04-14 20:21:34 +02:00
parent b3e77cbff5
commit 1d882dcff6
5 changed files with 10 additions and 12 deletions

View File

@@ -2,6 +2,8 @@ This example can be run like with command-line options, like this:
```bash
python cars.py --level DEBUG -e summary --csv
#or
soil cars.py -e summary
```
This will set the `CSV` (save the agent and model data to a CSV) and `summary` (print the a summary of the data to stdout) exporters, and set the log level to DEBUG.

View File

@@ -223,4 +223,4 @@ simulation = Simulation(name="RideHailing",
model_params=dict(n_passengers=2))
if __name__ == "__main__":
simulation.run()
easy(simulation)