Text this: Monotonicity Criterion-Based Power Quality Improvement in Distributed Energy Systems with Solar PV Integration