The focus of this project is on integration of a combined transport and electricity system into buildings, starting with the energy micro-grids of Shell Technology Centre Amsterdam (STCA). Here, wind and solar power dominate the electricity production, hydrogen is a key energy carrier, and battery and fuel cell electric vehicles play a key role in energy storage and flexible power production. We perform a techno-economic analysis and provide optimal scheduling for the usage of vehicles to minimize the cost of energy generation as well as to minimize the energy import from external grids.