
EE in Buffalo. Power electronics, LTspice, Fortran for simulation. Grad student at 50.
Buffalo, NY
Joined October 2022
- Tweets5.5K
- Following1K
- Followers265
- Likes43.3K
Pinned Tweet
I'm Mark Khusid, an electrical engineer in Buffalo, NY. 10+ years in PSpice/LTspice, and currently taking ASU's EEE 572 while working.
I'll post practical power electronics, LTspice simulation, and some Fortran for simulation kernels.
Projects: mkdynamics.net
3
208
New Article: I went back through four Fortran timing notebooks on my site and asked what each timer actually measures.
Two timers wrap a print statement. One benchmark mostly times program startup. And one error curve lands right on 2/N, exactly as theory says.
1
26
MarkKhusid retweeted
Here is a small sample of the vile, blatantly antisemitic messages I’ve received after I made posts about Nazi propaganda and supporting a Jewish owned business amidst a violent boycott. I do hope the free market does its part. Hate must have consequences.
LTspice tip of the week: put .four 1k 9 V(out) next to your .tran and you get harmonics 1–9 of a 1 kHz fundamental, plus THD, in the SPICE Error Log (Ctrl+L). Last period by default; Nperiods = -1 uses all data. Add .option plotwinsize=0 too. #LTspice
2
1
82
Plotting from Fortran in a LFortran notebook: fplotlib now has its own section on my site. The demo plots a damped sine, sine and cosine together, and subplots. The animation notebook draws a rotating Möbius strip. #Fortran
1
18
Holiday reading, free online: The Scientist and Engineer's Guide to Digital Signal Processing by Steven W. Smith. Plain-language chapters on the DFT, FFT and filters. Chapter 8's "Polar Nuisances" names Tuesday's trap: phase of very small magnitudes.
Happy Thanksgiving.
1
19
Table of contents, chapter by chapter: dspguide.com/pdfbook.htm The Polar Nuisances section: dspguide.com/ch8/9.htm
3
Worth reading, free: The Art of HPC by Victor Eijkhout of TACC. Four textbooks: the science of computing; parallel programming (MPI and OpenMP in C, C++ and Fortran, plus coarray Fortran); scientific programming in C++17 and Fortran 2008; and HPC carpentry.
1
1
25
All four volumes: theartofhpc.com/ It's one of the useful links on my site: mkdynamics.net/sections/misc…
7
Years ago I ran a 1 Hz square wave through FFTW from Fortran. Magnitude matched SciLab. The phase plot looked like garbage; my page still calls the cause "unknown at this time."
It wasn't garbage: zero-padding, plus phase computed for bins with almost no energy. Write-up below.
1
21
The original page, with the plot that started it: mkdynamics.net/sections/comp…
7
Checking my 120 V to 12 V buck write-up: the feedback divider is 14k over 10k. That takes 12 V down to 5 V at the feedback pin. #PowerElectronics
1
1
7
















