Optimal Bidding Strategy for Microgrids Considering Renewable Energy and Building Thermal Dynamics | Synapse