TUDelft-CITG / OpenCLSim

Rule driven scheduling of cyclic activities for in-depth comparison of alternative operating strategies.
https://openclsim.readthedocs.io
MIT License
14 stars 16 forks source link

Feature/opentnsim sync core objects #112

Closed SiggyF closed 1 year ago

SiggyF commented 1 year ago

This is the second step in the opentnsim / openclsim integration. Here we add an extra optional move argument to the locatable. The motivation is that in the 2d or geospatial context we locate objects with coordinates. In the "1D" case, on a network, we locate objects with a node on the graph. To support this 1d concept we need to also define an optional node based location. When sailing over a graph both node and geometry are updated while sailing. This also supports hybrid variants where you sail onto a graph for inland and free sail outside the graph.

I also had to fix some minor issues in the floating point comparison in the test. I noticed some issues with the old flake8, when testing locally. Flake8 is now fixed to < 5. I left that for now.

github-actions[bot] commented 1 year ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-cliff-0e49c3503-112.westeurope.1.azurestaticapps.net

github-actions[bot] commented 1 year ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-cliff-0e49c3503-112.westeurope.1.azurestaticapps.net

github-actions[bot] commented 1 year ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-cliff-0e49c3503-112.westeurope.1.azurestaticapps.net