Hello,(Previously sent to aestim...@googlegroups.com, but bounced back)I stumbled upon Aestimo recently (download the version from GitHub), and managed to run the tutorial#1 (https://nbviewer.jupyter.org/github/aestimosolver/aestimo/blob/master/tutorials/Aestimo_Tutorial.ipynb).In that example, AlGaAs is the barriers while the GaAs is the well layer. Below how it looks like:s.material =[[ 10.0, 'AlGaAs', 0.3, 0.0, 'n'],[ 5.0, 'AlGaAs', 0.3, 5e17, 'n'],[ 5.0, 'AlGaAs', 0.3, 0.0, 'n'],[ 11.0, 'GaAs', 0, 0, 'n'],[ 5.0, 'AlGaAs', 0.3, 0.0, 'n'],[ 5.0, 'AlGaAs', 0.3, 5e17, 'n'],[ 10.0, 'AlGaAs', 0.3, 0.0, 'n']]The results were similar with the tutorial.For testing, I decided to replace AlGaAs with AlGaN and GaAs with GaN for the barriers and well layer, respectively. I decided to keep other parameters the same (for further detail, please find the Python script in the attachment).s.material =[[ 10.0, 'AlGaN', 0.3, 0.0, 'n'],[ 5.0, 'AlGaN', 0.3, 5e17, 'n'],[ 5.0, 'AlGaN', 0.3, 0.0, 'n'],[ 11.0, 'GaN', 0, 0, 'n'],[ 5.0, 'AlGaN', 0.3, 0.0, 'n'],[ 5.0, 'AlGaN', 0.3, 5e17, 'n'],[ 10.0, 'AlGaN', 0.3, 0.0, 'n']]For this material system, the calculation was not successful. Below is the error message I got:File "C:\Users\Andreas\Anaconda3\lib\aestimo\aestimo.py", line 459, in create_structure_arraysF[startindex:finishindex] = x * mat1["F"] + (1 - x) * mat2["F"]KeyError: 'F'Google led me to few solutions, but in the end I failed in incorporating the suggested solutions ( e.g. get() ) into the "aestimo.py".Thank you for your assistance.That is strange error. I tried randomly with other material families, like GaP/InP and the script ran without any problem.Andreas
On Tue, Aug 11, 2020 at 2:40, Andreas Liudi Mulyo<andre...@yahoo.co.id> wrote:Hi Robert and Hebal,
Sorry for the late reply. Finally, last weekend I had a chance to implement what you suggested.
One thing I don't understand: why can't I simply substitute aestimo with aestimo_eh in the script? Example: "import aestimo.config as ac" with "import aestimo_eh.config as ac" (In [2], from https://nbviewer.jupyter.org/github/aestimosolver/aestimo/blob/master/tutorials/Aestimo_Tutorial.ipynb).
I apologize for apparently dumb question as I am new in Python and novice in programming.
Anyway, I did slightly different in the script as I am only interested to obtain only QW simulation at equilibrium condition and the first three energy states in the conduction band (please find the script in the attachment). I have checked the available examples, but as far as I aware, none of them gives the energy state values as described in https://nbviewer.jupyter.org/github/aestimosolver/aestimo/blob/master/tutorials/Aestimo_Tutorial.ipynb (In [12]).
Upon running the program, it did not give me any error message, but rather generated weird result. I got 0 values for its energy, population and effective mass.
Did I mess up somewhere?
I thought the problem lies in here: "import aestimo.database as adatabase" (line 3) as it does not call aestimo_eh. However, when "import aestimo_eh.database as adatabase" was used, it gave me an error message, "ModuleNotFoundError: No module named 'aestimo_eh.database'; 'aestimo_eh' is not a package".
Thank you for your kind help.
Andreas