Sadly it is next to impossible to get a patent for software in germany. It has to interface with some kind of hardware (like an engine control software in a car or plane). A bot or something similar that only runs on a computer can't be patented in germany.
I am german myself and work on a research project and we tested some software on our participants and they loved it. So we thought about protecting our idea / software.
For that reason we attended a talk held by multiple patent lawyers specialised in germany law and all of them said the same: "It can't be done without a hardware interface".
If you read the description of v-modell carefully, you would have realized that v-modell isnt a strict process and does not define in which order certain steps have to be made.
Before tailoring (which can be used to create an agile process as much as waterfall btw) it just tells you WHAT has to be done and not HOW it has to be done. The order and iterations of each step is defined during the tailoring step.
Actually that is incorrect. The Elektronische Gesundheitskarte was developed with "V-Modell". V-Modell, now V-Modell XT is the mandatory process for projects run by the german government.
edit: found the announcement: https://www.raspberrypi.org/blog/raspberry-pi-zero-w-joins-f...