Csim - a Simple HP48 Circuit Simulator for Educational Purposes
- Publication date
- Publisher
Abstract
The report presents the theory required to develop and program a simple circuit simulator capable of DC, AC and transient analysis based on modified nodal analysis. Together with the theoretical presentation, the code for a circuit simulating program is developed in order to show how theory is translated into algorithms. The programming language is RPL, which is commonly used by Hewlett-Packard handheld calculators. The program listing presented in this report applies directly to the HP48 scientific calculator. Indexing terms: Circuit simulation. ISBN 951-22-0940-3 ISSN 0784-5979 TKK OFFSET The author is with the Helsinki University of Technology, Faculty of Electrical Engineering, Circuit Theory Laboratory, Otakaari 5A, SF-02150 Espoo, Finland. Contents 1 Introduction 1 1.1 Notation : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 3 2 Modified nodal formulation 4 2.1 The set of equations : : : : : : : : : : : : : : : : : : : : : : : : : : : 4 2.2 Component e..