I’m not sure that I follow what you are asking for here. The HB Annual Peak Values component already has an input for _hoys_ that will give you the peak during a specific range of hours across the results.
Or am I misunderstanding and your request is the same as this one (below) that was asking for an option to get the coincident peak?