Solar cell coding principles