Let $X_i\sim N(\mu,\sigma^2)$, for known $\sigma^2$. We want to test $H_0: \mu=\mu_0$ vs $H_1: \mu>\mu_0$.
By Karl-Rubin theorem, we know that the UMP test is given by the rejection region $W$ defined by $T(X_1,...,X_n)>t_0$, when the ratio $\frac{f(x_1,...,x_n|\mu)}{f(x_1,...,x_n|\mu_0)}$ is a non-decreasing function of $T(X_1,...,X_n)$, for a given size $\alpha$.
In our case $T(X_1,...,X_n)=\bar{X}$. So, $\bar{X}>t_0\Leftrightarrow \frac{f(x_1,...,x_n|\mu)}{f(x_1,...,x_n|\mu_0)}>C \Leftrightarrow(x_1,...,x_n)\in W$
The power function is the $\beta(\mu)=P((x_1,...,x_n)\in W|\mu)=P(\bar{X}>t_0|\mu)=1-\Phi(\frac{t_0-\mu}{\sigma/\sqrt{n}})$.
We fix $t_0$ by solving $\alpha=P((x_1,...,x_n)\in W|\mu=\mu_0)$.
Now my doubt is about the interplay between $t_0, C, W$ and $\mu$. How can we keep $t_0$ fixed, and vary $\mu$ for a plot of the power function? Even if it's possible, aren't we changing $C$ and consequently $W$, by varying $\mu$?
I would say that if we keep $t_0$ fixed, and vary $\mu$, then we'll varying $C$ and $W$, and that's why by increasing $\mu$ in our case, we'll be increasing the power, i.e. augmenting the rejection region $W$. Am I correct?
Any help would be appreciated