You seem to be pursuing the solution to a specific problem. Good luck. I often suggest to my fellow campers the purchase of a Hughes voltmeter:
https://www.amazon.com/dp/B0195J4T2Q...osi&th=1&psc=1
I keep mine plugged into the bathroom outlet all the time. It tells me the interesting real time story of my shore power voltage as well as my generator. It also happens to be a perfectly dandy night lite. Well worth it’s $16 cost.