Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > 90552894cfaca0512752b17b0c827b08 > files > 345

asco-0.4.9-3.mga5.x86_64.rpm

# Info #
Name:Phase margin
Symbol:ZPM
Unit:deg
Analysis type:AC
Definition:PM = 180 deg + phase at UGF
Note: 
#

# Commands #
.control
*measure the phase margin
MEAS AC phasem FIND vp(VOUT) WHEN VDB(VOUT)=0
*scale the phase margin
let #SYMBOL# = 180 + 180/PI*phasem
* print phase margin into log file as ASCO input
print #SYMBOL#
.endc
#

# Post Processing #
MEASURE_VAR: #SYMBOL#: SEARCH_FOR:'#SYMBOL# ='
#