You just need to pass the name of the vairable in the prm. But never mind, you can change all the parameters prm directly using the pc1d.alterPRM function. Something that doesn't work is using external batch files. This limits the conditions that are possible (steady state) to simulate, but ensures that they simulations will converge. Here, we use a increasing flash intensity and assume a steady state flash. This sets the spectrum and flash intensity to be that from a Sinton WCT. Also the values in the provide si_updated.mat, which affects Permittivity, Band Structure, Material Recombination, Field-Enhanced Recombination, Bandgap Narrowing, Mobilities, Refractive Index, Optical Absorption Coefficients, Free-Carrier Absorption. This sets the intrinsic n and k from Green in 2008, and To help get around this there are two properties you can use to set some standard values. This can be more tricky than you would think, as it loves relative references. The short answer is you need to make sure that they are absolutely referenced within PC1D. This includes any-files, like absorption coefficients or time sweeps. The main issue is finding the files it needs to do its calculations. PC1D does not play so nice in batch form. #print its values: print( data) Common issues #The returned data is a named numpy array. The values in the active graph will be saved in data data = a. StandardSiliconConstants # the run the prm. # set the standard silicon constants pc1d. prm_file_path = path #initialize the wrapper pc1d = PC1D( PC1D_prm = prm_file_path) From PC1D import PC1D # provide an absolute path to your prm file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |