This paper describes two knowledge-based programs. The first simulates the behavior of automatic protection schemes in power networks. The second is an expert system for the diagnosis of faults. Both are coded in OPS5--a widely available language for writing rule-based programs.The user and the programs communicate over a Blackboard which is a database for messages. The Blackboard has been organized so that the addition of new programs, whether knowledge-based or algorithmic, will be relatively easy.