This is a model of a DC-DC inverter. The level of detail of the DC-DC inverter may be chosen from ideal averaging or switching.
Reference voltage is limited to actual battery voltage.
Battery voltage and motor current are measured.