How is fan power calculated

In air loops and packaged rooftop systems the input values for a fan, seen below, somehow equate to actual fan power, also seen here. What's the equation that OpenStudio/EnergyPlus uses to calculate the fan energy? Is there anywhere one can simply input the actual/measured fan energy?