Text this: Optimal loading analysis with penalty factors for generators using brute force method