I do not know the syntax but I can give you a tip how to build your material.
You can build it either by doping after deposition or by mixing before deposition.
What is important for you is the description of the material properties such as the
doping, the carrier concentration, the mobility, the dielectric consatnt , the energy gap and the absorption coefficient. These are the required properties rather than the molecular structure.
Your solar cell structure has a problem to inject electrons or holes from electrodes due to the mismatches of work functions and organic semiconductor energy levels.
Do you mean the structure should be ITO/PEDOT:PSS/P3HT:PCBM/Al or Ag?
Why do you want to introduce a an extra nanoparticle layer?
What is failing for you is a hole transport layer but all layers are available except the hole transport layer.
Before you add a layer you have to assign a function of it and verify this function.
As for the method of addition you can use spin on techniques or you can use evaporation deposition technique in vacuum evaporators and printing. There are other methods you can find them in the literature.
I do not know the syntax but I can give you a tip how to build your material.
You can build it either by doping after deposition or by mixing before deposition.
What is important for you is the description of the material properties such as the
doping, the carrier concentration, the mobility, the dielectric consatnt , the energy gap and the absorption coefficient. These are the required properties rather than the molecular structure.