Computer design of new class of green magnets for energy applications and next-generation computing