Efficient Parameter Estimation And Control In Microgrids And Power Systems