Inverse design of plasma metamaterial devices with realistic elements