The linking of an expert system with numerical models