$ifgeneration $generation
1e27
if the device generate carrier like solar cell structure, activated it and set the value.