Germany did worse than expected, i think 45 medals would have been realistic and this result isn't representative of the current state of german summer olympic sports. The low medal count was mainly due to Germany losing too many safe medals (men's 800 m freestyle, men's javelin throw, women's javelin throw, men's decathlon, men's K1 1000 m canoeing sprint, men's C1 1000 m canoeing sprint, women's keirin, women's sprint, 1-2 x hockey, women's modern pentathlon, rowing men's single sculls, rowing women's quadruple sculls, shooting rapid fire pistol) and on the other hand not winning enough surprising medals (2 x diving, 1 x archery, 2 x athletics, 1 x judo, 1-2 x sailing).
Summary by sports:
Underperfomed: Athletics, canoeing sprint, rowing, shooting, cycling track, hockey, fencing, handball, modern pentathlon
Overperformed: Diving, canoeing slalom, sailing
As expected: Rest
I think german sports will bounce back a bit in 2024 as it did after the horrible 2018 olympics. In order to win 60+ medals, there would need to be some big changes. Obviously it would be a good start to have more funding, but even without that there is major room for improvements. In my opinion Germany should focus on less sports. Here is how i would distribute funding (with the current funding/year in paranthesis):
Diving+swimming+open water swimming: 8 million (4 million)
Athletics: 10 million (7 million)
Badminton: 1.5 million (0.9 million)
Boxing+wrestling+judo+taekwondo: 12 million (6.2 million)
Canoeing sprint+canoeing slalom: 5 million (3.5 million)
Mountainbike+road cycling+track cycling: 6 million (4.1 million)
Hockey+basketball+handball+volleyball+beach volleyball: 12 million (8.5 million)
Artistic gymnastics+trampoline: 6 million (2.4 million)
Rowing: 4 million (5.5 million)
Climbing: 1.5 million (-)
Table tennis: 1.5 million (1.1 million)
Tennis: 3 million (0.8 million)
Triathlon: 1.5 million (1.1 million)