An intelligent design and environmental consideration of a green-building system utilizing biomass and solar having a bidirectional interaction with the grid to achieve a sustainable future