<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hello,
<div>The code already computes TE properties at constant chemical potential, since the input is indeed the chemical potential mu on a grid using boltz_mu_min, boltz_mu_max and boltz_mu_step.</div>
<div>If what you mean is that you want to compute at a single value mu*, just set boltz_mu_min=boltz_mu_max=mu*, and boltz_mu_step=1.</div>
<div><br>
</div>
<div>From the second part of the question instead you ask about constant carrier concentration.</div>
<div>In this case, you need to </div>
<div>1. Calculate the TE properties, for each temperature of interest, on a grid of mu values (you can compute the full (mu,T) grid in one shot by setting the min/max/step parameters</div>
<div>2. Compute also accurately the DOS (botlzwann can output it)</div>
<div>3. For each temperature, integrate DOS * fermi(mu, T) as a function of the parameter mu, and optimize to find the mu* value so that the integral gives you the correct number of electrons (number of electrons in the simulation + those contributed by doping)
 (or minus those, for p doping). Note that DOS needs to be accurately computed for this, the doping contribution is very small).</div>
<div>4. Get the value of the TE coefficients from the grid at the value mu* (possibly interpolating between grid points from point 1, or recomputing them again at the given mu* value)</div>
<div><br>
</div>
<div>Best,</div>
<div>Giovanni</div>
<div><br>
</div>
<div><br>
<div><br id="lineBreakAtBeginningOfMessage">
<div>
<div dir="auto" style="text-align: start; text-indent: 0px; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div dir="auto" style="text-align: start; text-indent: 0px; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div dir="auto" style="text-align: start; text-indent: 0px; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div dir="auto" style="text-align: start; text-indent: 0px; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">
-- <br>
Giovanni Pizzi<br>
<br>
</div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">
<i>Group leader, Materials Software and Data Group, PSI<br>
</i><a href="https://www.psi.ch/en/lms/people/giovanni-pizzi">https://www.psi.ch/en/lms/people/giovanni-pizzi</a></div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">
<br>
</div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">
<i>ChargĂ© de cours, EPFL and NCCR MARVEL</i></div>
<div><a href="https://people.epfl.ch/giovanni.pizzi">https://people.epfl.ch/giovanni.pizzi</a></div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">
<a href="http://nccr-marvel.ch/en/people/profile/giovanni-pizzi">http://nccr-marvel.ch/en/people/profile/giovanni-pizzi</a></div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">
<br>
</div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">
<br>
</div>
</div>
</div>
</div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div>On 10 Sep 2025, at 08:50, Abhijeet Jaysingrao kale ic39253 <ic39253@imail.iitm.ac.in> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Dear Wannier90 community,
<div><br>
</div>
<div>I am Abhijeet from IIT Madras (India) attempting to study TE properties at varying temperatures but at a particular (constant) carrier concentration. I am converting desired carrier concentration into chemical potential to input the BoltzWann module. Thus,
 I would like to know how to compute these TE properties at constant chemical potential (with varying temperature), since, in the input file for BoltzWann, one needs to input <font face="arial narrow, sans-serif">boltz_mu_min</font>, <font face="arial narrow, sans-serif">boltz_mu_max</font>
 and <font face="arial narrow, sans-serif">boltz_mu_step</font><font face="arial, sans-serif">.</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">I understand the chemical potential is influenced by temperature and the other code BoltzTraP2 offers the functionality to compute TE properties </font><span style="font-family:arial,sans-serif">across a range of temperatures </span><span style="font-family:arial,sans-serif">at
 a constant carrier concentration. How can we achieve this in BoltzWann?</span></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">Regards,</font></div>
<div><font face="arial, sans-serif">Abhijeet.</font></div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Wannier mailing list<br>
Wannier@lists.quantum-espresso.org<br>
https://lists.quantum-espresso.org/mailman/listinfo/wannier<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>