A bi-level scheduling model for virtual power plants with aggregated thermostatically controlled loads and renewable energy. (15th August 2018)