Meet and Code 2019: Win the virtual solar boat race by programming an artificial intelligence skipper!

Solarboot-Projekte is taking part in the European initiative “Meet and Code 2019”.
We want to reach a group of teenagers and young adults who will find the ideal solution to a complex problem using software they develop themselves: the task is to win a simulated solar boat race around Corfu.
The event will last 2 days.
The participants configure their own virtual solar boat and program their own virtual solar boat skipper. Clever energy management should allow the boat to be sailed optimally. The goal is to circumnavigate Corfu and be the first to reach the finish in the capital, Kerkyra! The best algorithm will win!
The setup is a complex simulation that implements a wide range of features of the cruising area and of solar boating.

The event takes place with several groups in parallel, each of which configures a solar boat as a team and programs its control system for the race.
In the first step, each team configures its own solar boat. With a given virtual budget, the various components can be configured within the technical and financial limits:
- Schiff
- The boat can be built from different materials and thus be made lighter or heavier.
- The size of the boat can also be chosen – of course, extra-light construction and extra size come at a price.
- Solargenerator
- For the solar generator, the number, orientation and quality of the solar cells are specified.
- Most solar cells go on the roof so that they can capture sunlight from all directions.
- Is it worth mounting solar cells on the sides as well?
- Batterie
- What capacity should the battery have?
- More capacity increases the weight and costs a lot of money!
- Lademöglichkeit
- If the extra shore connection is configured, the batteries can be recharged overnight at charging stations in the marinas.
- Annoyingly, however, these are often far from the shortest ideal route, and an extra distance has to be covered to reach them… Is it worth it?
- Antrieb
- Propulsion comes from motors whose maximum power can be configured.
- Powerful motors allow faster progress!
- However, the motors also become bigger, heavier and more expensive, and require an electrical system that can handle higher loads.
In the second step, the race is planned and a race strategy is defined. For this, the virtual skipper has to be programmed. Actually, the skipper's task is quite simple: the motors must run at the optimal speed at all times, so that the most efficient way of travelling is achieved with the fastest possible arrival at the finish, and all systems and available resources are used optimally. Yes, exactly, quite simple!
At the start of each race day there is up-to-date weather information, which each team takes into account when configuring the virtual skipper.
- How much energy is in the battery at the start?
- How big is the solar yield?
- How long is the leg?
During the race, the virtual skipper has all the information about the current race day available in real time:
- How fast is my boat going? Where is it right now?
- How much energy are the motors using?
- How much energy are the solar generators supplying?
- What is the state of charge of the batteries?
- How long is the remaining distance for the day?
- What influence are wind, waves and current having right now?
- How is the weather forecast to develop?
Now it “only has to set the motor speed correctly at all times” – the autopilot steers the course from one waypoint to the next, fully automatically. Setting the right motor speed is programmed – because during the race the skipper is on its own!
This is where it is decided who handles their boat best: whoever programs best will win!
At the end of each race day the team decides how to spend the night:
- Anchoring makes it possible to stay close to the optimal route
- Mooring in a marina allows the batteries to be recharged, so that you can start the morning with full batteries – if only charging weren't so expensive!
- Carrying on is an option too! Of course you can also travel during the night. But then the boat must have room for at least two people who take turns. And the battery should not be too small either. Because if you have to go against the current… Of course the battery must also still be well charged in order to keep going!
The circuit of Corfu takes several days – depending on the design of the boats and the weather conditions. The fastest wins! Hopefully the virtual budget will be used optimally along the way.
The map with waypoints is given. Some waypoints must be visited (checkpoints), others allow anchoring (anchorages), and in the marinas the batteries can be recharged (charging stations).
Different views


Open questions
- Welches Kartenformat soll verwendet werden?
- Google Earth
- Google Maps
- Navionics
- OpenSeaMap
- Soll es einen Echtzeitmodus geben?
- Remote control of the boats?
- Real-time inspection (debugging) of the autonomous skipper?
- Multiplayer?
- Does each team then only see the data of its own boat?
- Welchen Preis erhält das Gewinner-Team?
- A week's research stay on the SolarWave in Greece?