Open agrignard opened 1 year ago
Hi Arnaud, at this time we need an MQTT broker called mosquito, you can download it from https://mosquitto.org/. I agree, we need a version without connection.
And what do I do once I have the MQQT broker?
Just run it. It will be opening the service on localhost (which is what the model needs). By te way, I am working on the version without connection. Please, lets use "estable" branch for the last stable version (i have merged some changes for it to work on gama 1.9).
@agrignard , I have implemented changes to enable the model to run without network connection. It is in my branch dev-gama-may23, tomorrow I will test it in the table to be sure everything works. Then I will PR into the "estable" branch.
Solved in #18. I will close it.
I reopen this issue, I am not able to run any model from the master neoither the gama-may23 branch. And it's not really documented which model should be run. (which model, which experience, etc etc)
Right now there is Traffic Model throwing error about
2 occurrences in 2 agents at cycle 0: File denoted by ../includes/shp/events/roads_testLepe_may04.shp not found.
in Simulation 0
in file<int, geometry> shape_file_roads <- file<int, geometry>('../includes/shp/events/roads_testLepe_may04.shp') ;
/Users/arno/Projects/GitHub/cityscope-ccu/models/../includes/shp/events/roads_testLepe_may04.shp
/Users/arno/Projects/GitHub/cityscope-ccu/models/../includes/shp/events/roads_testLepe_may04.shp
in initializing attribute shape_file_roads
in agents Simulation 0, CCU_1_10000
@gamalielpalomo woudl it be possible to have a stabel version on the master branch as soon as you can? Let me knwo when it's pushed and then I can test and close or not this issue
Beforee to clmose this issue let's be sure we can run a hello world without connection
Arnaud, can you check again please? I have updated the master branch. I have updated the master with the latest stable version (which was already in the "estable" version as I mentioned). As I have not tested the mobility scenario in the CS table, I have not merged it into the master nor "estable" branch. It is still in "dev-gama-may23". In such branch I have updated the files needed.
Ok so now I can run Traffic_model.gaml
and runnning test
is this the main model to run?
And this is what I see (but the agent seems to be stucked)
Please see the branch dev-gama-may23 to see the latest version of the traffic model adapted to the CityScope model. The test experiment is not available anymore. The main experiment is CCU_1_1000 (I am thinking in change the name :) )
Related to agents stuck, I am thinking (Im not sure, need to check deeper) that it is related to the intersections data. Also I will check with @urbanistalepe to confirm that the roads network is correctly built from the shape files.
Right now I am trying to run
CityScope.gaml
experimentCCCU_1_1000
but I get the following error:``` 2 occurrences in 2 agents at cycle 0: Network cannot be reached! Check that your server is connected.````
I guess I need to be connected but what about having a version that can be run without any connection to other server?