Battery Design using Matlab Simulink
The battery's internal resistance is IN SERIES with the battery.  With no load connected, the battery will not deliver any current, and there will be no voltage dropped across the internal resistance.

With a load connected, the battery will deliver current, which will flow through the internal resistance. This current causes some voltage drop in the internal resistance, reducing the effective voltage of the [battery plus internal resistance].