A switching model appropriate for general computer use is given, and examples of its application are shown in pulse and harmonic generator circuits.