Modeling of Battery Systems and Installation for Automotive Applications