Text this: Real-time estimation of power margin from on-line data accumulated through localized measurements