Automatic and linearized modeling of energy hub and its flexibility analysis. (1st February 2018)