Least-cost model predictive control of residential energy resources when applying ?mCHP