Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Finding maximum of a measurement results in .DATA transient simulation in H-spice

Status
Not open for further replies.

Maryam_Shafighpour

Newbie level 1
Joined
Apr 16, 2019
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
11
dear all !
in my circuit, i have a switch parallel with Rload, and duty cycle of this switch changes (with n and t parameters in my code ) , i want to measure the Efficiency and then, compare them , to find maximum efficiency,

i did it with .DATA and here is my code:

Code:
.meas TRAN Pin AVG V(pp) FROM 80u to 100u
.meas TRAN Pout AVG P(RL) FROM 80u to 100u
.meas TRAN Efficiency PARAM='(Pout/Pin)*100'
.tran 0.1n 100u SWEEP DATA=data1
.DATA data1 n p
0 1
0 2
0 3
0 4
0 5
0 6
0 7
0 8
0 9
0 10
******
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
******

.ENDDATA
the problem is i need Hspice to give me MAX efficiency and the data statement related to it.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top