It seems an urban legend was born: that you need 30000 ronown to get the Type XVIII.
Is not true, you need to complete 6 successful patrols. Internally, the game uses a "ranking" system to score your performance and based on that it gives the player renown to upgrade "things" on the sub. So spend it anyway you like, just make sure you send those ships to the bottom.