The "Signal type" parameter of the inport "Vbat_in" is set to "Gate signal". This is indicated in the block icon by the angular brackets around the port number. Please see the documentation about the meaning of this parameter.
If you use the input signal to control a voltage source, you must set the "Signal type" parameter to "Continuous signal" or "auto".