The 2gm2p0f has a continuous rating of 16hp/3400rpm but a max output of 18hp/3600rpm. I'm not sure of a standard choice exists but in the manual for your engine, the name plate dictates the continuous rating.
I have had luck emailing Yanmar directly and sending photos. They were very helpful about my odd 2qm engine (8hp) and I'm sure with an engine number could give you all the build info!
https://www.yanmar.com/marine/contact-us/
Last thought is: what kind of
alternator do you have? I won't know the years any switches were made but perhaps someone else will. (I have a KM3P on my 2gm20f, I think the original, but the manual I found online shows KM2A.)