Section 151. At the biennial state election in each year in which presidential electors are required to be elected, a number of electors, equal to the whole number of senators and representatives in congress to which the commonwealth is entitled, shall be chosen by the voters of the commonwealth in the manner and with the effect provided by section seventy-eight.