Exactly how will a generator help with brown outs? The only way i know to help with a brown out is with a VERY GOOD battery system protector that maintains the voltage during a brown out but I've never seen a whole house one.
One of the hats I wear often is my electric one.
Any other stable power supply is better than an unstable or unpredictable one, or none at all.
Flickering lights or loosing utility electric momentarily regularly, going off and then back on, back and forth, never stabilizing, then I'd strongly recommend to open the main breaker/disconnect/feed of the electric circuit.
Single phasing and/or slapping highline conductors will cause serious damage to most anything that requires significant amount of power generally (high demand) or anything that is sensitive with minimal tolerances of voltage fluctuations and/or drops, such as most any multiple electric phase electrical motor along with nearly all micro electronic equipment.
My best recommendation under such electrical supply conditions is to transfer over to a more stable electric power source, or nothing at all until the electric issue can be resolved.
If you checkout my first post within this thread, you'll then see what UPS equipment I use, sell and recommend for all critical micro electronic equipment protection. I stand behind thier products
%, and certified and trained on the larger units.
Also trained & certified on multiple large commercial Liebert UPS unit systems with large auto transfer switches for any small to large commercial type datacenters, requiring any UPS unit size from 100KVA and up.
Got educated and trained in Columbus, Ohio at their main branch office back in the early 90's.
Living where I live today, we experience fluctuating utility electric power more than what I'd ever care for.
Anytime during medocher wind type storm conditions, or possibly flying/falling tree limbs debris on electrical highlines are the usual culprits of brown outs, and at times, when there's too much slack in any overhead high-voltage highline conductor between utility towers or poles, and/or such conductors (plural) can slap together, ususally from strong swirling type winds, that cause either/or surges and/or electric circuit direct shorts within the whatever given electric circuit utility power source.
A generator in combination with serge/ups protection for critical and/or micro sensitive systems will work much better than nothing at all, or remaining on an unstable power source/supply.