Dynamic energy portfolio optimization model for electricity system and heating system | IEEE Conference Publication | IEEE Xplore