The New York State Energy Research and Development Authority says the state will need to “rapidly electrify” medium- and heavy-duty vehicles to meet its climate goals.