A Knowledge Based System for Medium Term Load Forecasting