Suppose we are to find if the yield of a crop is greater than the previous yield $\mu_0$ with a specified level of significance $\alpha=0.05$. The population variance is unknown. My first sample has a size of 8, and has a sample mean of $\overline{x}$ and sample variance $\hat{\sigma}^2\approx0.085$. Then we use the fact that $T_{\mu_0}=\frac{\overline{\xi}-\mu_0}{\hat{\sigma}/\sqrt{n}}\sim t_{n-1}$ under $H_0$ to find the critical region for our test statistic $T_{\mu_0}$ as $(c,+\infty)$. Now if we want to find the power of our test (note that the sample size $n$ is fixed), we need to specify the estimated mean $\mu_*$, and use the fact that $T_{\mu_*}=\frac{\overline{\xi}-\mu_*}{\hat{\sigma}/\sqrt{n}}\sim t_{n-1}$ under this $H_1:\mu_\xi=\mu_*>\mu_0$ and calculate the probability $\mathbb{P}(T_{\mu_*}>c_*|\mu=\mu_*)$ where $c_*=c-\frac{\mu_*-\mu_0}{\hat{\sigma}/\sqrt{n}}$. It is known that $\delta=\mu_*-\mu_0=0.2$. Using the data above (the sample variance and delta), it can be calculated that the t-test on this problem with a sample size of 8 has a power of around $0.55$.
The problem is that, if we want to increase the sample size $n$ so that we could make our test have a power higher than a specified value $B$ (in this case suppose $B=0.8$), then we need to find a $\hat{\sigma}$ that is suitable for the entire population. If we choose $\hat{\sigma}\approx0.2$, then after we run the code
power.t.test(power=0.8,delta=0.2,sd=0.2,sig.level=0.05,type="one.sample",alternative="one.sided")
we get the calculated $n=8$, which is absurd. The same result occurs when I calculate it manually and assuming $\hat\sigma=0.2$.
In my opinion, this is because of the sd we use is $0.2<\sqrt{0.085}\approx0.289$ where 0.289 is the sample sd. How are we able to fix the test by choosing the correct sd? Or is there anything that I did wrong (e.g. I used the sample variance to find the amended critical value $c_*$, but should we use 0.2 instead)?