The Control and Monitoring System on a Medium Voltage AC Distribution Grid: Device Implementation and Calibration Procedure