Tool/software:
This figure shows the simulation results obtained using TI’s TPS54240 in PSpice for TI. This waveform data was taken from the interval between 1.1ms and 1.2ms, where the output is stable. There are three waveforms: the top shows the output current (1.3A), the middle shows the power of the TPS54240, and the bottom shows the output voltage (3.3V).
To calculate the average power consumption of the TPS54240 (Reference No. = “U1”), I attempted to register AVG(W(U1)) in the Measurement settings in order to compute the average power during this interval. However, as shown in the figure, an Invalid Expression Error occurred, and I am unable to determine the cause. On the other hand, Max(W(U1)) and Min(W(U1)) can be registered correctly, as shown in the figure.
If anyone knows the cause of this issue and how to avoid it,
I would greatly appreciate your advice. Thanks in advance.

