Investigation Of Methodologies For Minimizing Buildings Electricity Demand And Cost