User:Divyanshu

From ASCEND
Revision as of 19:10, 4 April 2011 by Divyanshu (talk | contribs)
Jump to navigation Jump to search

Name : Divyanshu Bandil

University  : Delhi University

College  : Netaji Subhas Institute of Technology, Dwarka, Delhi, India

REQUIRE "atoms.a4l";

MODEL diode;
	(*variables*)
	
	V IS_A voltage;
	R IS_A resistance;
	VD IS_A voltage;
	Is IS_A current;
	I IS_A current;

	(*equations*)
	(V - VD)/R = Is * ((exp(VD/0.043478261)) - 1);
	I = Is * ((exp(VD/0.043478261)) - 1);

	
METHODS
	(*Fixing values for a simple circuit connecting a diode , a dc voltage and a resistor in series*)
	
	METHOD on_load;
		FIX V;
		V := 5 {volt};
		FIX R ;
		R := 1000 {ohm};
		FIX Is;
		Is := 1e-10 {amp};
	END on_load;

	METHOD default_self;
		VD := 0.7 {volt};
		VD.lower_bound := 0.7 {volt};
		VD.upper_bound := 0.8 {volt};
	END default_self;

END diode;
Error creating thumbnail: File missing
Screenshot of solving various parameters of a transistor