Flexible artificial intelligence optimization for smart home energy systems with V2X | IEEE Conference Publication | IEEE Xplore