Experiences with the Physics and Economics of Solar Cells in Malaysia
Tldr; I think understanding the physics of materials is important for anyone getting into solar energy. I also write about the basic physics of lattice structures - an introduction into condensed materials physics.
Motivation
A few weeks ago, I wrote about my optimism about solar energy's economic potential. As part of this investigation, I have been lucky enough to meet with representatives from some of the leading solar installers in Malaysia, such as Solarvest, Northern Solar, and SOL. It’s encouraging to hear that both residential and commercial clients in Southeast Asia are looking to solar energy as a source, to the point that client discovery is not required, since major solar installers are already quite busy in meeting demand. This proves to be more evidence in favour of an economic boom in solar technology in developing economies. I also performed a more entrepreneurial experiment in trying to sell datasets that I constructed from satellite images, and through this, I learned quite a bit about the technology requirements of the solar community in Malaysia as well. I hope to write about this more in a later post.
As part of this somewhat spiritual journey to get into the ‘next best thing’, I also decided that I want to understand not just the economics of solar energy, but the theory and physics of solar cells well. As a relic from my Cambridge University days, I tend to associate the word ‘understanding’, with some degree of mathematical competency and physical intuition. After all, if you can’t prove why something is true, how can you believe it? I do think that, especially for entrepreneurs, it is worth developing mathematical and physical intuition of devices to a fairly high standard, a level maybe a third or fourth-year undergraduate with a keen interest in that field would have.
In particular, one should be able to explain the models underpinning solar cells accurately to the layman. I should be able to manipulate the physical models themselves and self-derive results. Maybe I should even be able to propose an experiment or tweak a current experiment out there.
But what is the point of all of this learning, you ask? Why not pay a solar cell expert, hire them on your team, and let the money come in? That is probably a fine strategy. But for now, it feels like pitches about solar or any type of technology to VCs, accelerators, or potential PhD supervisors come across as more credible from someone with decent technical knowledge to deliver the basic models. Being able to field technical questions, even as a non-technical founder, is impressive - it shows effort. Whilst I don’t have a PhD in condensed matter theory, I think my current math background is sufficient to get me to a decent level of understanding through self-learning anyway.
One topic I had to get to grips with is the quantum mechanics of not single atoms but of repeating structures made from many atoms. In math, we have a fancy term for this - lattices. To understand how a solar cell works, one must understand some basic lattice physics. Particularly, we need to understand the link between conductors, insulators and semi-conductors. The key question any quantum physicist should ask is
what energies can these structures take?
what constraints are there on the wave function?
In ‘first-grade’ quantum mechanics, we learn that an electron trapped in a box can only have a discrete set of energy levels. This is because the state that describes the box needs to satisfy the Schrodinger equation and fulfil some conditions at the edges of the box. The Schrodinger equation is written below and consists of the kinetic and potential terms.
$$ \frac{\hat{p}^2}{2m}\psi(\mathbf{r}) + V(\mathbf{r})\psi(\mathbf{r}) = E\psi(\mathbf{r}) $$
What happens in a repeating structure?
The single atom case is quite different from what is going on in a lattice. In this problem, our environment is modelled as a grid (or, in physics language, a lattice) of atoms in which electrons can freely flow. This is already an interesting problem - what kinds of energies can a grid structure have? To me, this is the number one thing anyone getting into quantum mechanics should give a shit about.
You know from high school that metals, or pure materials in general, have a structure where atoms are placed nicely in a grid. Now, place that electron in a grid, or any repeating lattice.
What happens?
What do the quantum states look like, and how many are there?
What kinds of energies are permitted in this system? If we confine a particle in a box, we get a ladder of discrete states - so do electrons in a lattice behave similarly?
Is there any mathematical trick to make our lives easier?
As I said in the previous section, the wave function representing this system must obey the Schrodinger equation above. The only thing we have to change here is the form of the potential. We could start by making the potential, V, periodic to model this. Remember, periodic means that the potential stays the same when we move it in a certain direction over a fixed distance. Periodic functions are functions that ‘repeat’, like a sine wave.
Here is the main result - states in a periodic potential can be indexed by a ‘crystal momentum’ value, that only takes values in a closed range. So, we can restrict our physical analysis of states with a crystal momentum between this range.
Why is the above statement true? Well, the math here is fiddly, and I so will give a rough overview of the main results since they’re the most important thing to remember. I will not go into insane minutae and the proof, but a quick search on Wikipedia is sufficient if you want to dig into the details.
First, how do we describe a lattice mathematically, in the first place? If we’re working in three dimensions, we can construct a lattice out of three ‘basis’ vectors that can repeat any amount of times. So, we can describe the lattice as a set where each point can be written like the below, where the n’s are whole numbers.
$$ \mathbf{R} = n_1\mathbf{a}_1 + n_2\mathbf{a}_2 + n_3\mathbf{a}_3 $$
The wavefunction describes how likely the electrons are to be observed at a specific point, so we ask ourselves, what does the wavefunction look like? Bloch’s theorem says that in a periodic potential, the wavefunction needs to take on a specific form - it is the product of a plane wave, with a modulation term on the side, that also is periodic. This plane wave can have a range of momenta, represented by k, within the Brillouin zone.
$$ \psi_k(\mathbf{r}) = e^{i\mathbf{k}\cdot\mathbf{r}}u_k(\mathbf{r}), \quad u_k ( \mathbf r + \mathbf R ) = u _ k ( \mathbf r ) , \quad \mathbf R \text{ is in lattice } $$
What does Bloch’s theorem tell us? As you can see, there is a shiny new value k that has suddenly come into play in the equation above. It tells us that there is now this interesting new physical quantity, called the crystal momentum vector, represented by k above, that indexes, or ‘labels’ the states. For those more into their quantum physics, notice that it is in the exponent, as hence reminds us of where the momentum of a wavevector would usually be placed. It is not the momentum of the state itself but something slightly different - it still has roughly the same interpretation.
The crucially interesting part is that k remains the same when we translate it by a special vectors K called reciprocal lattice vectors
$$ \mathbf k \text{ is the same as } \mathbf k + \mathbf K \text{ when } \mathbf { K } \text{ is in the reciprocal lattice} $$
This means that we only care about certain values of k, within a range, since any values of k outside this range can be reduced back into this range. These is the main thing you should know about the quantum physics of lattices
that there is a value that can index all the quantum states in a lattice - the crystal momentum
we can know about all the information we need restricting the value of this crystal momentum in a finite range.
This is useful because we’ve reduced a seemingly infinite and difficult problem into something we can analyse in a small space. A band structure diagram tells us the possible energies that a lattice structure can have. The x axis here is the value of the crystal momentum, and the y axis is the energy. Crucially, notice that the x axis is finite, and yet the energy is unbounded. As a result of this, we now have ‘bands’ - where the energy can keep getting larger, yet the crystal momenta remained trapped in this tight range.
These are the main points you should take away from this post - hope it was useful!
Epistemic notes
As I write this, I’m out camping in a forest in Sussex, hoping to convince myself of the workings, and the value of going into solar technology later down the line. One thing that I wanted to accomplish was to get a fairly accurate view of the current kinds of technologies and their promise currently. I’m really quite new to technology, my background is in trading, but I think that technical knowledge, efficiency and cost effectiveness seem to be the current indicators that we should look at. I am a big believer in trying to understand a field before trying to change things up, so I thought I would start by giving my more ‘mathematical’ explanation of how solar cells work.
I’ve been quite active in using large language models to help me with my research, they are useful as ‘motivating guides’. By motivation, I mean that they offer powerful summarisations that point me towards key points, much like a PCA. Summarisation with machine learning is not new, and I don’t think that I am surprised that LLMs do it quite well. It also provides a window into what ‘other people’ are thinking through its training data. For example, in solving technical problems like math questions, ChatGPT often gives a framework on how to find a solution, for me to fill out the blanks. On good occasions, it will provide explicit algebraic manipulation that are too difficult for me to do.
The most insightful point here might be understanding the importance of the "author's context". When learning a new concept or working through complex problems, it's crucial to realize that the author of the material may come from a different perspective, or may assume a certain level of background knowledge that the learner may not have. Recognizing this can help learners identify any gaps in their understanding and guide them in seeking additional information or help. This understanding can also lead to more effective self-study strategies and help learners manage their expectations and frustration levels when they encounter difficult material.
I am going through elements of statistical learning to review my understanding of mahcine learning models, and this has proven quite useful, specifically in helping me solve the exercises at the end of the chapter . I think - treating it like a college level analyst or undergrad, providing you with best guesses, feels like the most useful context to use this in. I do
Time threshold for asking for help: Setting a time limit such as 10-20 minutes of independent struggle before seeking help can be an effective strategy. This not only allows one to explore potential solutions independently but also prevents getting stuck for an extended period, which might lead to frustration and inefficiency.
Understanding the issue: It's essential to comprehend the problem at hand thoroughly. It's not just about getting the correct answer, but understanding why you're not getting it in the first place. This process aids in cultivating a deep learning approach.
Learning from the solutions: Once the answer is known, recreating the solution by oneself can reinforce understanding and retention. This approach moves beyond rote learning to actively engaging with the material.
Author's context matters: This point is particularly insightful. Sometimes, when we're trying to solve a problem or understand a concept, we might not share the same context or prerequisite knowledge that the author assumed. This discrepancy can lead to confusion or misinterpretation. Recognizing this gap can help tailor one's learning approach, which may include seeking more foundational knowledge before tackling advanced problems.
Applying these principles to different domains: These principles of learning aren't exclusive to mathematics or algorithms. They're applicable to various fields, including trading, programming (as you mentioned with leetcode), and many others.
