It’s located on the left side near the battery. You will need to remove the left pannier then the left panel to gain access to it. There will be a white multi pin code connector to it. Remove it and inspect it for melting and or burn’t connectors. To the left of it is the main relay, there should be a green 30amp spare fuse in a holder. There’s a black rubber boot over a red connector, remove the connector and inspect it for melting and or burn’t sections. Above it you should see three yellow wires coming from behind the frame, those three yellow wires will be going to the Voltage regulator/rectifier. There’s a red connector in the middle of those three wires, inspect it.
Lastly put a sheet of white paper under the alternator ( it’s at the back of the engine in front of the swing arm. Leave that paper under it overnight. Let us know if you have evidence of oil on the paper. Also let us know the condition of each of the above mentioned connectors and we can take it from there on what might be issues and further tests you need to do. I’m guessing you’re having a charging issue.