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 17 forks source link

Add energy use to simulation #37

Closed AnneHommelberg closed 5 years ago

AnneHommelberg commented 5 years ago

Add support to the server to use the EnergyUse class in a simulation.

AnneHommelberg commented 5 years ago

Merging to get this working for the energy use level in the game. Note that this changes the expected signature of the energy_use_sailing function to (distance, speed, filling_degree) instead of just (distance, speed).