modelling a fan in ngspice + KiCad
Thanks to @SteKulov's help, I managed to get a hold of a subckt model for a dc motor though I suspect it needs some tweaking for different motor types.
.SUBCKT FAN 1 2
*
V_AMP   1 0     AC 1  PWL(0MS 0V  1MS 10V  1000MS 10V  1010MS 0V  2000MS 0V)
*
* MOTOR VOLTAGE
RA  1   2   0.5
LA  2   3   0.0015
H_EMF   3 4 VSENSE2 0.05
VSENSE1 4   0   DC 0V
*
* MOTOR TORQUE BASED ON INERTIA AND FRICTION
H_TORQ  6 0 VSENSE1 0.05
LJ  6   7   0.00025
RB  7   8   0.0001
VSENSE2 8   0   DC  0V
*
* MOTOR POSITION
FPOS    0   11  VSENSE2 1
CPOS    11  0   1
RPOS    11  0   1MEG
*
* ANALYSIS
.TRAN   10MS    2000MS
*
* VIEW RESULTS
.PRINT TRAN V(1) I(VSENSE1)
.PROBE
.ENDS FAN