This question is restricted to nuclear submarines.
The forward horizontal dive planes of nuclear submarines may be located either on the hull in front of the sail (as for seen in this cutaway of an Astute class submarine or on this pitcure) or on the sail (as seen in this picture of a Rubis-class submarine). I fail to see a logic in this location (I tried to see correlation with size, role (SSBN, SSN) and designed year). Here are some of the submarine classes that I took into account:
located on the forward hull:
located on the sail:
As I failed to find any logic, I suppose there is no clear advantage of one location over the other. My question is: when designing a submarine, what are the criteria taken into account to decide the location of the forward dive planes?