MarkKhusid (@markkhusid) header
MarkKhusid (@markkhusid) profile picture

EE in Buffalo. Power electronics, LTspice, Fortran for simulation. Grad student at 50.

Buffalo, NY
Joined October 2022
Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)
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
IEEE Spectrum: on Jul 22, 3,800 MW of Northern Virginia data centers dropped off the grid after a line fault. Dominion saw one 100 MW site swing 10–15 MW every 2.5 s during AI training. NERC wants them to disclose how they ride through faults. That's a power electronics problem.
1
8
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
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.
79
122
5
937
28,586
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
What's the one directive you add to every sim?
3
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
Fixed my Fortran FFT tutorial: the 1 Hz square-wave intro now actually says 1 Hz. The run takes the sample rate and the number of periods, and the frequency column starts at 0 Hz. It's a real-to-complex FFTW3 program, and the compile lines now include -I/usr/include. #Fortran #DSP
1
17