HomeWork4

 

 

Home News Lecture Outline Lecture Notes HomeWorks Project Quiz Miscellanea

©2000
Ting-Yuan Wang

 

Due date: next Wednesday (11/1) before the class

Problems: 

1. Design a parser to stamp resistors, current sources (independent source, CCCS, and VCCS), and voltage sources (independent source, VCVS, and CCVS) with MNA (Modified Nodal Analysis) method.

2. Solve the problem by:
    a. Gaussian Elimination Method
    b. Conjugate Gradient Method

Description:

1. Spice elements specification:
  Element Spice Description
1 Resistor Rname n+ n- value
2 Independent Voltage Source Vname n+ n- DC value
3* VCVS (Voltage Control Voltage Source) Ename n+ n- nc+ nc- e_value
4* CCVS (Current Control Voltage Source) Hname n+ n- Vname h_value
Vname nc+ nc- 0
5 Independent Current Source Iname n+ n- DC value
6* VCCS (Voltage Control Current Source)  Gname n+ n- nc+ nc- g_value
7* CCCS (Current Control Current Source) Fname n+ n- Vname f_value
Vname nc+ nc-

* You don't have to implement 

2. The figure of the elements is shown in SpiceFigure.ppt.

3. There is  a test input file you can use: input.
    Your codes shout be able to show the stamped matrix, and the results of Gaussian Elimination and Conjugate Gradient methods.

4. Remember to describe what you did in the homework about one or two pages and make sure that your codes can be run on the Unix.

Submission:

    Please submit a paper version and send your codes to TA (wangt@cae.wisc.edu) before class.

 

Home ] News ] Lecture Outline ] Lecture Notes ] HomeWorks ] Project ] Quiz ] Miscellanea ]

Electrical and Computer Engineering ~ University of Wisconsin-Madison ~ 1415 Engineering Drive Madison, WI 53706-1691 ~ Tel: 608/262-3840 ~ Fax: 608/262-1267
Last modified: 11/06/00 03:08 PM by Ting-Yuan