User Activity

  • Modified a comment on discussion ngspice-users on ngspice

    Thanks, your solution works. I also tried to make it in different way but it has problem with avg. let instpower=supply*vv1#branch let activepower=avg(instpower) let vout_rms = sqrt(mean(out*out)) let output_power= vout_rms*vout_rms/25 let eff=-1*output_power/activepower let eff_last=length(eff)-1 print eff[eff_last]

  • Modified a comment on discussion ngspice-users on ngspice

    I think that this solution is the best, but i am wondering about commented line. You write a comment: let activepower=avg(instpower) $ This does not do what you think it does Thanks for it.I thinking about replacing avg by mean . But i want to calculate this only in range 15us to 20us.

  • Modified a comment on discussion ngspice-users on ngspice

    You write a comment: let activepower=avg(instpower) $ This does not do what you think it does Thanks for it.I thinking about replacing avg by mean . But i want to calculate this only in range 15us to 20us.

  • Posted a comment on discussion ngspice-users on ngspice

    You write a comment: let activepower=avg(instpower) $ This does not do what you think it does Thanks for it.I thinking about replacing avg by mean .

  • Posted a comment on discussion ngspice-users on ngspice

    Thanks, your solution works. I also tried to make it in different way: let instpower=supply*vv1#branch let activepower=avg(instpower) let vout_rms = sqrt(mean(out*out)) let output_power= vout_rms*vout_rms/25 let eff=-1*output_power/activepower let eff_last=length(eff)-1 print eff[eff_last]

  • Modified a comment on discussion ngspice-users on ngspice

    Hi, I have problem with measure statement and vectors. .control tran 0.1n 20u 0 0.1n let instpower=supply*vv1#branch let activepower=avg(instpower) meas tran inputpower avg instpower from=15u to=20u meas tran outrms RMS out from=15u to=20u meas tran outpower param='(outrms^2)/25' meas tran efficiency param='100*outpower/inputpower' .endc I get following error: inputpower = -5.102376e+01 from= 1.500000e-05 to= 2.000000e-05 outrms = 3.54502e+01 from= 1.50000e-05 to= 2.00000e-05 measure 'outpower' failed...

  • Modified a comment on discussion ngspice-users on ngspice

    Hi, I have problem with measure statement and vectors. .control tran 0.1n 20u 0 0.1n let instpower=supplyvv1#branch let activepower=avg(instpower) meas tran inputpower avg instpower from=15u to=20u meas tran outrms RMS out from=15u to=20u meas tran outpower param='(outrms^2)/25' meas tran efficiency param='100outpower/inputpower' .endc I get following error: inputpower = -5.102376e+01 from= 1.500000e-05 to= 2.000000e-05 outrms = 3.54502e+01 from= 1.50000e-05 to= 2.00000e-05 measure 'outpower' failed...

  • Posted a comment on discussion ngspice-users on ngspice

    Hi, I have problem with measure statement and vectors. .control tran 0.1n 20u 0 0.1n let instpower=supplyvv1#branch let activepower=avg(instpower) meas tran inputpower avg instpower from=15u to=20u meas tran outrms RMS out from=15u to=20u meas tran outpower param='(outrms^2)/25' meas tran efficiency param='100outpower/inputpower' .endc I get following error: inputpower = -5.102376e+01 from= 1.500000e-05 to= 2.000000e-05 outrms = 3.54502e+01 from= 1.50000e-05 to= 2.00000e-05 measure 'outpower' failed...

View All

Personal Data

Username:
buleks
Joined:
2015-10-25 09:13:56

Projects

This is a list of open source software projects that Mateusz is associated with:

  • Project Logo microHAL Hardware Abstraction Layer for microcontrollers, written in C++11. Last Updated:

Personal Tools