This course takes you deep inside the physical infrastructure powering the artificial intelligence revolution. You will learn about the massive power distribution networks, advanced computing racks, and complex cooling systems that make modern AI data centers possible. The course traces the journey of electricity from the grid all the way down to the GPU. Across 16 detailed chapters, Kian will break down the complete anatomy of an AI factory, showing you exactly what it takes to turn raw megawatts into the tokens generated by today's leading AI models. Hello and welcome to this free code course. My name is Kian and today I have the pleasure to present to you the course from watts to tokens which answers the following question. What does it actually take to make an AI data center work? And to answer this, we're going to follow electricity from the grid to the GPUs, see how those GPUs communicate, and then follow the heat back outside the data center. Here's what you'll understand after following this course. You'll be able to follow the power, cooling, and data paths. Explain the major equipment required in making a data center work and understand why adding more GPUs or electrical capacity does not automatically yield more usable compute through many intuitive case studies. The broad journey in this course is we'll go from electricity and racks to networking and cooling. then follow it up with construction, operations, and economics and finish by tying this all together with how a real data center was put together. Specifically, Abalene, the Stargate site currently be bu being built for OpenAI in Texas. The reason I made this course is because data centers is what I believe will power the economy the most in the near future in terms of just year-over-year growth. And furthermore, it's such an impressive and interesting industry due to all of the constraints which make it such that there is so much innovation occurring. Why is this the case? Well, when for example, there are just bottlenecks on getting power to your site, you come up with a lot of ingenious ways to find alternative power sources. And for this reason, it's just incredibly interesting to dive deep into, which is what this course does precisely. What are the prerequisites of this course? Well, I assume basic arithmetic percentages and simple graph reading capabilities. And then beyond that, I have a primer which is the first chapter in the course which establishes shared vocabulary across the three components electricity, computing and cooling. So if the fundamentals of electrical engineering and computing overall are already familiar with you, you can jump to chapter 2. Otherwise, start with the primer. The slides, written explanations, and glossery are all linked below at the course homepage. So, if there's ever a term you don't understand, there's a very high probability it's in the glossery. Or just simply ask your agent. I think that's the highest agency thing you can do is get your agent to explain a concept that you don't understand. That's how I taught myself many of the concept which I'll be teaching you today. The last thing to note is that as I am not a data center expert yet, there may be minor errors here and there in the course. If you are a data center expert watching this, I apologize. Please correct me in the comments section so that I can learn. And then I have many people to thank for this video in terms of progressing and helping me to learn more about data centers. But Semi analysis is probably the one that I should thank the most because their content as well as the podcasts which are recorded have helped me and given me the passion and interest to dive deep into this topic. Without further ado, let's jump into the primer. Okay, so starting off with the basics in this primer, let's introduce the concept of a circuit. And starting off, we have a conventional DC circuit in front of you with a source on the left here with a negative and positive terminal. Then there's a load which could be a light bulb. It can be anything that takes energy and then the return. So essentially you have electrons in the classical uh diagram. It's actually moving from the positive end to the negative end. And then there's this lever that we have. So if you open the circuit, the current would be equal to 0 amps. So as a reminder, current is in the unit of amps and it's represented with I. Um there would still be voltage though across the gap. So let's say that we have a 12volt battery here. Then if you measured the difference with a voltmeter or a multimeter rather between the two terminals of the battery, you would read 12 volts. And the same thing would apply at the load. It's essentially the electrical potential between those two points. That's the definition of voltage. It's essentially the difference in electrical potential between two points. I like to think of it as like somewhat similar to gravitational potential energy, which is to say like if you're at a higher position, you have more gravitational potential energy than somebody that's at sea level. The one thing also worth noting is once again there is still voltage across a gap even if the circuit is open. And how can you init this? Well, think of electricity as a pipe with water flowing through it. So if you have a pipe which is flowing you have both current which you can think of as the moving of electrons and then voltage um which I guess in like some convoluted sense you can think of as uh as the pressure of the water. And so the thing is if you stop the water in that pipe meaning there's no current there is still pressure because if you have like let's say 100 L of water above this pipe and it wants to go down there's a lot of pressure that wants to force it down but it's closed. And this is why, for example, in a circuit that does not have current, you can still have a voltage across it. And now let's talk about adding in a resistor. We had a resistor before, which was the form of the load, but let's actually give it a a number um 6 ohms, which is the unit of resistance. And then now that we have both current, resistance and voltage, we have Ohm's law which is essentially V equals IIR. And using this formula we can calculate for example if there are 2 amps of current in the system and a six and there's a 6 ohms resistor then um we would have a 12vt DC source or better said um if we have a 12vt DC source and a 6 uh ohms resistor then we can expect 2 amps of current um that are flowing through this circuit and you just literally get that by doing 12 / 6. So once again voltage is between two points and then current is through the path. The units here are in volts which is actually one jewel divided by one kum and kulum is the unit of um just how many electrons. It's like some really big number that I forget. And then ampers if I'm not mistaken is kulum per second. So it's how many kums which is this massive amount of electrons is flowing through your circuit at any given instant. Okay. Now let's talk about resistance and how modulating resistance increases the heat loss in the circuit. So we talked already about Ohm's law which states that voltage equals current multiplied by resistance. And then there's another really important formula here which is that if you look down here at the bottom heat loss in a circuit is equal to I^2 R. What does that mean? It's essentially saying that the more current you have in a circuit, you'll quadratically have more heat loss and you linearly will have more heat loss as you increase resistance. So just as an example, if we have a source voltage that is equal to 12 volts, then we can calculate once again that we'll have 2 amps with a 6 ohm resistor and then therefore the power loss is 2 ^ 2 * 6. So 24 watts in this circuit. But let's double our source voltage. And then once again through Ohm's law, we can calculate that the current in this circuit will be 4 amps. And let's remind ourselves that the resistor is actually fixed. We're not making the resistor larger. But all of a sudden, we have quadrupled the amount of heat loss from 24 W to 96 W because we've doubled our current, which quadratically scaled means we've quadrupled the loss of heat. Of course, these are this is an ideal source and we're assuming they're ideal wires. You can just think of this as like a simplification because in a real system there's more factors and physical effects at play. But um without loss of generality, we can assume that in any circuit doubling the current will quadruple the heat loss due to resistive effects. And why am I even talking about this in this primer? It's because once we start to really talk about data centers in detail, we need to move power to get these GPUs online, right? And if we want to have power GPUs that require more and more power, we need more and more current. And this can lead to pretty large amounts of heat loss if we simply scale current um more and more. And then the the teaser to how we're going to resolve this issue is essentially by increasing voltage instead of current. So we have Ohm's law which states that V= IIR. But then also there's another formula that you might have heard of. It says P= IV. So let's break that down. Power which is in units of watts equals current time voltage. And why is this the case? If you remember power is equal to jewels per second and current is equal to um kum/s and then voltage is equal to jewels per kum and then if you multiply these together then you get jewels per second. So uh sorry if that was kind of confusing but all I'm trying to say here is that instead of increasing current what we can do and what we'll discuss in more detail in the next few chapters is increasing voltage such that we can make more power arrive at the GPUs. All right and I think I gave a teaser to what we're talking about. So essentially here watts is jewels per second. Power equals voltage time current. And I'll just say one more time, voltage is in units of jewels per kumm. And then current is kum/s. That gives us jewles per second. Um if we look at this circuit that we have actually in front of us, we know that it has a uh I believe we had a 6 ohm resistor. And then this gives us 2 amps through Ohm's law. And then now we can calculate the the power in this circuit which is just 12 * 2. And uh this is in a ideal steady direct current circuit. This gives us 24 watts. So once again, power, which we'll be talking about in a lot of detail in this course, is simply energy transferred per second. And what is W hours? Well, even though it's watts, this unit is actually equal to energy because energy is just jewels. And Watt hours means watts multiplied by hours. So if you have jewels in the numerator and then seconds or hours in the denominator, if you multiply by hours, then you just get uh jewels, which is energy. So that's is essentially what I said here. Energy equals power times time. So let's say that we have a 1 kilowatt load. So some type of tool or maybe there's a GPU. So actually I think H100s are like maybe somewhere close to 1,000 watts or maybe like if you have two H100 GPUs by Nvidia, then you'll have somewhere around 1,000 watts or 1 kilowatt. So if you run that for an hour, that will cost or that will use 1 kilowatt hour of energy. And this is simply 1 kilowatt* 1 hour. And then um just as a reminder here in terms of units we have kilowatt or kilo rather is a thousand m like megawatt or megabyte is a million and then gigabyte is a billion. So if we just double this um we run a 1 kilowatt GPU for 2 hours then we will have consumed 2 kow hours of energy. And of course, this is going to be really important as well since when you need to calculate the power bill of your GPUs or whatever electricity that you're using, you're measuring it in kilowatt hours most of the time. And okay, so I've discussed direct current or rather we've implicitly been talking about direct current this whole time where you have current that is flowing only in one direction from one of the terminals of the battery to the other. And this is in opposition to alternating current where both the voltage and the current and alternating current are alternating um as as the name suggests. So just as a reminder here in DC voltage the if you calculate the voltage of one terminal relative to the other it will always be constant. In fact, if we say that the left terminal relative to the right terminal is positive, then if you switched the two nodes that you're measuring, then you should get a negative uh voltage between those two terminals. And then the current flows in the um engineering diagrams that you'll see from the positive end to the negative end. And then in AC voltage, you have uh this oscillating form which you would call a sign a sign curve. So it's sinosodal. Um and in this case the voltage essentially every period passes through zero and then reaches a peak positive and then a peak negative uh amplitude. And then in terms of the current it um it also is uh essentially going from left to right 60 times uh a second if you're in North America because it's 60 hertz. Uh that's the frequency of the alternating current or it would be 50 hertz for example if you were in the in Europe. Okay. But um this is in the positive peak when we said the current is flowing to the right for um AC. If we're at the zero crossing where the voltage and the current pass through zero, then there's no current at that instant. But um for DC, right, it doesn't care about uh these three values. These these um these AC moments are only dependent on having AC current. And then if we're at the negative peak, the current is flowing left and um the left terminal relative to the right is actually negative. So there you have it. This is the fundamental difference between alternating current and direct current. There's a really good book called The Electricity Wars which describes how when electricity was first being essentially expanded through the United States, you had Thomas Edison who was a big proponent of direct current and Nicola Tesla who was a big proponent of alternating current. In fact, Nicola Tesla worked for Thomas Edison at some point and um it was a very fierce battle to see which type of current would win out um in in the market. So I recommend that book as a as a reading. So one more thing that I want to talk about about alternating current that's really interesting is that it's not necessarily a sine wave. Although utility AC is approximately cinosodial and in most all applications it is. There are actually other types of alternating current that you can have. Right? Alternating current doesn't necessarily mean that you need to have a current which see uh which is like which must conform to this shape. Right? As long as it alternates, then it te it technically meets that definition. I'm not an extra I'm not an electrical engineer, but this is what I read online. So, for example, you can have a square AC. You can also have a triangle/zig AC, and then you can have a sawtooth AC. But for all of the purposes in this course, we're always going to be dealing with a sinosodal alternating current just because like all utility AC is is produced in this method. So this is just a more of an anecdote for interest interest sake. And then when we talk about the the voltage magnitudes when we're comparing direct current and alternating current um both can vary in voltage. In fact if you like literally used a multimeter to check the outlet of your house and see what is the current and you live in like 120 volt uh region it might not be precisely 120 volts. It could be like 117 volts. And this is just because the uh this the grid essentially varies in voltage. It tries to maintain the voltage which is the the target but um it may be above or below based on the load that's on the the grid. So for example, if there's somebody in the same distribution area as you, which all of a sudden starts to consume a lot of energy, that could bring the voltage down. And um this is apply this applies to both types of voltage AC and DC. Um, so if we do a few uh a few perturbations here to the to the voltage, if you have like a 10% higher um voltage in either case, then you would just go to 13.2 and then 10.8 on the lower band. And the reason why I'm bringing this up is because most electrical tools or anything that consumes electricity, they accept a band of voltage just because of the fact that the grid does not provide voltage exactly at its uh target voltage all the time. So they must have some flexibility in the voltage range that they accept. And when we talk about alternating current which is the predominant form of current used uh worldwide and also this is not an exception in data centers. There are certain places where you actually use DC and there certain places where you use AC but for the uh electricity distribution it's currently mostly all done in alternating current and specifically it's done in three-phase alternating current. So what does this mean? As I mentioned um alternosodal so you have one sine wave but the problem is if you have only one sine wave sine wave so let's look at phase A only then you'll have like some moments where there's no voltage and this is fine for like using a charging your phone or some like trivial electronic that doesn't need that much power but if you're powering like large GPU racks that can be in the hundreds of thousands of watts then um you want a more constant power band and what happens is if if you have three phases of AC. So essentially three wires that are all alternating currents, but each one is 120° apart. Then you have a more constant power band. And what do I mean by 120° apart? I mean that a period of a alternating current cycle can be thought of as 360° or in radians 2 pi. And if you shift a another one to be um essentially 1/3 to the right or 120° to the right, then you would get this phase B. And then if you shift it further like 240° from phase A or 120° from phase B, then you would get this third phase, phase C. And what this means is that at any given moment you have a phase that is um that is at a positive voltage even though the sum of the voltage across these three is always zero. So, for example, um if you just do like the vertical line test and you look at this point, um if you were to add these two values of phase A and B with this value with phase C, you'd actually get a net voltage of zero. But, um on the individ individual phases, you always have a voltage reading. And as I mentioned, this allows you to have a more constant power band. So, as we'll talk about in in the later chapters, you have these PSUs, which are called power supply units. And these are what convert the alternating current into direct current for the GPUs. And they're usually spread across the phases. So essentially, you'll have the three-phase wires going into a specific rack where you have a bunch of GPUs. And each PSU will connect to one live phase. So one of these energized phase and then one neutral phase. Uh that's usually the arrangement that you done that you do. And then um you you would take the voltage difference between the live phase and the neutral phase as the the voltage reading. And this can be around 277 volts. But it really depends on the equipment in the rack that you're using. But as I mentioned, right, each power supply unit uses two conductors, uses one live phase, and then also one neutral phase. So that's a little primer on what three-phase alternating current is. So on this next slide here, I'm going to demonstrate how come on a graph alternating current that's three-phase has a much more constant power band than singlephase alternating current. So what we've done here is we're plotting something with respect to time. It's not actually voltage anymore. It's power. And how we did this is simply by multiplying each voltage phase by its corresponding current at that point in time. So you should think of you have I * V on the Y axis which is just equal to power and then you have time on the X axis and it turns out that if we take any specific moment in the cycle for example 0° which is at the very beginning of time then you'll have phase 0 is uh 0 kow phase B is 15 kow phase C is and then phase C is also 15 kow and this is with the assumption that we're with 480 volts I believe and then if we just jump to 30° you'll now have phase phase A ramping up to 5 kW at this point phase B is 20 kow and phase C is actually intersected with phase A so it's also 5 kow so we have 30 kow still and then finally you have at uh the last example 60 60° phase A and phase B are at 15 kow and then phase C is at 0 kow and so you can imagine is that if we had singlephase AC um if we just only consider interface a at 0° you'd have 0 kow you'd have no power then at 30° you had 5 kow and at 60° you would have 15 so you can imagine that um if you really are requiring power constantly three-phase is much more advantageous so you have these balanced side waves and we're assuming here that you have equal resistive loads and this means simply that each each of the three phases is providing the same power to the end consumer consumer which we would call the load and yeah that's uh that's what it is we have three-phase adding up to steady power. Moving on we'll quickly discuss power factor. So what is power factor? It means in short to what extent are the waveforms for the current and the voltage and alternating current in sync. So for a same for a singlephase supply if we are currently if we're completely in sync then the power factor will be equal to one and this just means that the amount of power that we deliver through our circuit is all delivered to the end load and then we have yeah precisely 8 kow delivered if that's the amount of power that's in the circuit. Whereas if the waveform of the voltage and current are out of sync, then you might have a power factor below one and what this means is that in order to de deliver the same 8 kow, you need to have 25% more current. And um in this case, I think this is just doing 1 divid 0.8. That's how you get the amount of current that you need if your power factor is not equal to one. So at best in an ideal circuit, you have a power factor of one. And then um in in real in the real world you'd have anything it would be strictly less than one and the more efficient or the more synchronous your voltage and current uh waveforms the closer your power for uh your power factor would be to one. And uh this is a more of a quick introduction to power factor. In fact in chapter 7 or eight when we discuss this in more detail I'll give a better motivation to what this actually means in practice. But this is just a quick little resume of what power factor means. And also I want to discuss the different notation that we're going to use throughout this data center course. So of course different converters do different jobs. So you don't want to put the wrong symbol for something that is doing a job that's different. So very quickly if you have a transformer what you're doing is you're changing voltage. So in this case you have a AC transformer and this changes the voltage of an alternating current. It could go from lower to higher or from higher to lower. That depends. In fact, um you would call a voltage or sorry a transformer that is transforming to a higher voltage like a step up transformer. You're stepping up the voltage and then conversely a step down voltage or step down transformer for one that is stepping down to a lower voltage. And then also two extremely important concepts of this course are the rectifier and the inverter. Inverter you might have heard of it's what changes DC current to AC current. So the most common example in a residential use case would be if you have solar panels. Those generate electricity that's direct current. And then in order to use that in the grid, you need to change it to alternating current. So you would have an inverter if you have solar panels. And then a rectifier does the opposite job. It converts from alternating current to direct current. And then if you have a power supply, um this can take alternating current and convert it into direct current. For example, when we have our GPUs, we have the power supply unit which takes alternating current from the grid or wherever it comes from. It could come from a grid, it could come from a gas turbine, it could come from a generator and then converts that to direct current. Simply put, electronics and low-level semiconductors are they consume direct current. Okay? And I already mentioned this in fact, but not only do electronics take in a voltage range, but transformers do as well. So here we have a example of a Schneider Fasio. I'm not going to say the entire name. This is a transformer, I suppose. And what this does is it has a nominal 400 volt um input, but it can also accept voltage readings between 360 and 440 volts. And these are the published limits for this specific transformer. And um in this case, it's accepting a plus or minus 10% voltage differential. So here's one example of a voltage difference that a transformer can accept. We'll also be discussing solid straight solid state transformers in this course as well which are really cool because they can essentially be tuned to accept different ranges and also rectify the output range automatically and uh those are really cool new types of transformers that are much more sophisticated than uh standard transformers but we'll we'll leave that there for now in terms of the depth of the transformers. And here we're going to quickly talk about a UPS which is another fundamental concept in this course. So, it's not the United Postal Service. It's in fact an uninterruptible power supply, which is a very self-explanatory name. All it means is that it's a power supply which in principle should always supply power to its source. So, how does it work? It's really useful that we just talked about rectifiers and inverters because that's what a uninterruptible power supply is composed of. So, let's start from the very left here. On the left, we have the utility or the generator, whatever is providing the electricity. And this is almost always an alternating current. And then you have the UPS which does something really weird. So it first converts AC to DC with a rectifier and then it converts DC to AC with an inverter such that if you consider the UPS a black box, it does nothing. And so you might be like very offended that you would have something that does nothing. Especially since these two steps are not free. You can think of them as each requiring or rather causing a few percentage heat loss or just regular inefficiencies. So like as an example, an uninterruptible power supply if you put in 100 KOW may only return 95 kW. So why are we doing this? It's because of the thing that's on the bottom here. So you have this battery which is the entire point that the UPS exists. So one thing that's really important to know is that batteries supply current in direct current and this is just a property of the electrochemical reaction that happens inside of a battery that supplies electrons in one direction. And the entire point of the UPS is that when the generator or the utility shuts down that we can take the battery and instantly um protect this protected load or essentially instantly take over the generator's capacity on the protected load. So in order to explain why we have this redundant conversion, consider the counterfactual where we have a generator that is directly supplying this AC load. That would be very fine. But now if the generator went down, you would first have to route the battery through an inverter that is DC to AC and then route it to the load. And then this would take some time, meaning that this load would actually not be protected for some period of time. there would be no power being passed to the load because of the fact that um this path would be separate. But since the utility generator and the battery are are are both pointing to the are both pointing through the same stream, essentially what happens is that as soon as the UPS detects that the generator is no longer supplying electricity, the battery will instantly through this DC toDC link pass energy into the UPS and then invert it to AC as if nothing happened. as if from the from the point of view of the protected load, it is still receiving AC AC electricity. It's just that instead of being passed through the utility/g generator, the battery is now supplying this alternating current. And once again, this is such that there is no interruption in the supply of power. If we routed the battery directly to the pro protective load or the pro protected load through an inverter, then there would be some gap of time or some lapse of time where the load does not receive power. And for many use cases that's just simply not an option. Okay. And the example that I just proposed to you and um explained is actually a online uninterruptible power supply. So it's called online because it's on the link. It's online. It's where the power actually get routed to. That's where it's connected. And what this means is that the in inverter will keep supplying the load instantly or near instantly once the utility goes down. And this is used for example in data centers or sensitive medical systems. And then an offline power supply is the other example that I proposed. So essentially what happens is that you have a direct path from utility to load and then the utility will feed the load directly whereas when the supply is interrupted the battery will go through an inverter and then there's a switch essentially a transfer switch which will switch from the utility to the battery inverter setup. And here is once again where the delay comes from. This switch is not instant. Okay. And then if we look at the bottom here, if we just go from normal to supply interrupted, the battery feeds directly onto the DC link and now the inverter keeps supplying the load. Whereas there's this brief transfer then battery power on the offline UPS. And so you'd have an offline UPS for example on desktop PCs. I suppose this is the case because a PC probably has some capacitance in its power supply already such that if the power goes down um it can still keep the PC running for like a few seconds or milliseconds until the uh the battery starts to feed the the PC. So there's a difference between online and offline UPS's on interruptible power supplies. But for the sake of this course, we will assume that any UPS is an online UPS because in the in the context of data centers, we're only ever talking about uh uninterruptible power supplies that are online. Okay. And now let's talk a bit about redundancy. So let's say that you have a 100 kow load. If that's the case, then it would need two 50 kW modules. So essentially two modules that are supplying that power to the load. And this would be called like n redundancy because you have as many power modules or rather the number of the amount of power that you have is equivalent to the amount of power that you must uh supply. And let's say now that you add a second or rather a third 50 cal 50 kowatt um power supply then you would have n plus1 redundancy. Okay. And this is just uh the notation. So n equals 2 normally. If you have a third one then you would have n plus1. And if you had four then you would have 2 n or n plus2. These are equivalent terms. A quick editing correction. N plus2 and 2n in this case are the same but that's not always the case. Stay tuned for the UPS section where we discuss this in more detail. We'll talk about all the different configurations later in the course, but this is just the first taste of the differences in redundancy. And if we just quickly talk about the hierarchy of what a rack actually contains. At a high level, you have the rack itself, which is just a vertical rack of metal. You can think of it as like a really tall bookshelf. Um, and within this rack, you have multiple trays. Literally, they're trays that you can take in and out. almost like the tray that you put your dirty dishes in a cafeteria. Um, and each tray holds a compute server. On each compute server, if we take a canonical example of like a GPU accelerator, you have the CPU that runs the system, some C some system RAM, some NVMe probably to um handle different networking and communication, and then of course the main star of the show here is the GPU, which has GPU cores as well as memory. So this is kind of a mini hierarchy of what a rack looks like. We'll discuss this in much more detail later on in the course. And with respect to memory in particular, it's really important to talk about this for a second because this is how the GPU actually has access to its model. So in an example here, let's say that you're getting your model from HuggingFace, which you might have heard of. It's a very common open- source library for getting models that um are open source. So you would get this from some server, a model file. You pass it through the network. It would first get loaded onto the system RAM of the CPU likely and then be copied directly to the GPU memory. And then you would pass those into the GPU cores if you're using a Nvidia GPU into the tensor cores where you actually multiply these matrices with whatever prompt you have in order to generate output tokens. And just a quick little tangent on networking and network speed. It's the speed of the network that um determines how fast you can load the model from storage server to compute server. So let's say that you have an 8 megaby 8 megabyte chunk which is the same thing as 64 megabits since we have one uh one bite equal to 8 bits. Well, if we consider a 10 GB per second transfer speed, then you would take 6.4 four mess to send all the bits and this also uh assumes a 10 microcond first bit latency that is not dependent on the transfer rate. But then if you have 100 Gbit per second uh uh transfer speed, then you would essentially reduce that by an order of magnitude to 0.64 milliseconds to transfer the entire uh 8 megabyte chunk. And so this is just a trivial example, but you can already tell that transfer speed and latency for passing data between the model and the server is one of the most important metrics that determines like how fast can you serve your users and will they actually be satisfied with the service they receive because nobody likes a really laggy and slow model endpoint. Another thing that we really want to emphasize in this course is the fact that these GPUs don't simply run for free or they don't need to be it's not like they need to be cared for. They do they produce a lot of heat and they are producing more and more heat in the sense that with each successive GPU generation the number of watts that each GPU uh component consumes is increasing. This isn't to say that they're becoming less efficient. It's just more so to say that like the actual GPU is becoming bigger. So even if the GPU is becoming more efficient, if it's still getting bigger over time, it's getting more it's getting bigger than it is getting efficient. So this means that the the net power consumption will increase and this has been the trend um in the past few years. So let's say for example you input 500 watts. If the temperature of the GPU stays constant over time, then you also need to essentially get rid of this 500 watts. If there is like a deficit of input to output watts, which is to say if you input more watts than you take out, then over time your GPU will overheat. So you need to have this equilibrium. And this equilibrium is achieved through a cold plate, which is literally just a plate that is really close to the top to the top of the GPU die and where you run coolant, right? That in this case, in this example, is 30° C. And this coolant will go through the cold plate. It will absorb heat from the GPU. Let's let's say that it gets to 45 degrees CC and um then the cold plate is temperatures to 45 degrees CCelsius and then the coolant coming out is now increased in temperature by 5° and then you would get rid of this heat by one of various methods which we talk about and this would be your steady operation of the GPU. So you can't just assume that the GPU will run on its own and be happy. You need to make sure that it stays nice and cool. And if we look at this process one level of abstraction higher, you have the cold plate which was essentially zooming up into this cycle. But in fact, you usually have this two loop um protocol. So you have the equipment coolant loop on the left here which cycles coolant between the GPU cold plate and with a pump to the CDU which stands for the coolant distribution unit. And this coolant distribution unit has a heat exchanger that will exchange the heat from the coolant from the uh the cold plate from the IT uh coolant loop with the facility coolant loop. And this is the loop of uh coolant that will in some way exchange heat with the outside. So this could be like through an air conditioning similar a similar mechanism as air conditioner. It also could be evaporative. We'll talk about these in more detail as I mentioned. And in this example, we just have like literally a fan rejecting heat through a passive cooling system. And so the heat crosses the heat extender on this coolant device unit, but it actually the fluid does not uh cross boundaries. And one of the reasons for this is like the coolant in the IT loop is much more treated and needs to be uh essentially taken care of to a much greater extent because it's coming like in millimeters to the chip which is worth like $70,000 or it's really expensive. So this type this coolant loop is very tuned and like watched for. They have like a lot of sensors on these racks to make sure that if there's ever a leak it's detected instantly. Whereas the the coolant that is in the outer loop in the facility coolant loop, um it's still probably like some pretty clean and sophisticated cooling system, but um it doesn't need to be as closely monitored as uh as the facility, sorry, the equipment loop because if there's a leak here, it likely won't cause like a whole rack to go down. You'd probably just have to fix it up, even though it's still a bad thing. Um, I'm just trying to say that there are two different levels of priority when it comes to these two coolant loops. And the last thing worth noting is that I'm only talking about loops and like liquid cooling. It's because in any data center that is built today or onwards, even in the past, like past 5 years, like all of these are liquid cooled. And this is because liquids can absorb much more heat than air. Um, really like the days of air cooling data centers are long gone. And I'll show you guys a very specific metric in the cooling section that demonstrates why this point is so salient. But just know for now that anything that has to do with cooling in this course is liquid cooling. And right when we talk about cooling, it's interesting because this is another source of power consumption. So when you talk about how much how many watts a data center requires, you can't just look at like okay there's 10 GPUs, each GPU is 1 megawatt. Like this is a really bad example. Let's say that each GPU is 1 kilowatt. So in this case, you would have 10 kilowatts of it power. But of course, you need other things as well to supply the entire system. So this could be pumps, fans, support, literally just like leaving the lights on um and other trivial uses for electricity. the IT system which is includes the computers, storage and network takes up the vast majority of power most of the time but you still have this um this fringe on the on the right which does require powering and there's actually a really important ratio here called the PUE the power usage effect effectiveness which is equal to the facility total um power consumption or in this case we have it as energy so in this case it's 1 hour of use So really like 1 hour of energy use is quite similar to just um the power the power metric itself. So you can either view this as 120 kwatt hours of energy or just 120 kilowatts. It doesn't really matter. In any case um we we we would divide the entire power usage of the facility by the IT power usage and get the power usage effectiveness. In this case it's 1.2. And if you haven't already guessed, the number which you want to approach is one. Because if you approach one, that means somehow your data center is running only by powering the GPUs. That would be impossible because you have to cool them. But um you can definitely approach one, which means that essentially you're using less and less power for things that are not the GPUs and um more for just powering the GPUs themselves. So this is just an example of a really important metric that you can see for a data center and already get an idea of like how efficient is this data center and what are the different uh uses of power that it is consuming. Okay, [snorts] so that's everything for our primer. Now I'm excited because we're actually going to get into the first I guess real chapter here. So we're going to talk about just an overview of data centers. So it's similarly going to be like a highle floor plan and like lay of the land but uh we're going to get a bit more into the the details here. So if we talk about a a working rack like let's say a GB300 which is a Blackwell rack that has 70 GPU. So it's called a NVL72 GB300 which stands for um Grace Blackwell. 300 is just the model name and then NVL is NV link which is the interconnect technology and then there's 72 GPUs. So that's the whole name. And let's say that we have three of these racks here. Well, the first thing that has to happen is that we need to bring in power from the grid. It will first probably go into like some electrical room where you have a power backup. So some sort of some some sort of battery configuration which in the primer we introduced through the uninterruptible power supply, the UPS. And then you also have a distribution system because you don't just distribute all of the power through one wire. Um it's more sophisticated than that for many reasons. One of them being if you distribute the power all through one wire and that wire goes down then all of the racks will turn off. Whereas if you have a more redundant system where you have some sort of hierarchy, well if one of the wires goes down then hopefully it will only affect one rack. That's uh that's the whole point of having redundancy. And then now if we jump on to heat you'll have the compute racks which do computation that's useful but also generates heat loss. And then this will pass through some cooling interface which we defined as the coolant device unit the CDU in some mechanical gallery. This is usually like not inside of the IT hall which you can think of as like the main computation area of the data center. And this heat is rejected outside. And then finally you have the information which you'll pass through some fiber network because at the end of the day a data center serves to allow users to make some sort of changes to their data or in the case of AI to make calls to cloud code or codecs. And you've heard the word IT hall. We also can call this a data hall. So if you want to see what that actually looks like in practice in this case we have a Google data center in New Albany, Ohio. And these are TPUs in fact in this photo. So the Google data centers really are just a beautiful thing in my opinion. Like look at that wire management and all of the sophisticated equipment here. Um these pipes are probably passing coolant. I'm not 100% sure, but that's just my initial guess. So you can already see kind of where the different parts of the data center are routing in. And then also these black wires are likely supplying the power to each of the TPU uh racks. And then on the top here we have white space houses the IT which is the data hall and the gray space supports operation. So let's go back to to the picture that we saw in the the previous slide. And the reason why I had this initial part in white and the the two left sides in gray is because this is actually how data centers are labeled or uh organized. Essentially you call the IT/ data hall. It also has a few other names but in in any case where the GPUs are you call it the white space and um it might be called this because this is a place that you keep clean and you need to be like very attentive to whereas the other spaces like the gray space where you have the electricity and the the gray space where you have the coolant um it's less important but um in any case both are important you should just know that these are the different names that you use to refer to these parts of the data center and so we talked about grid and we're just assuming that the power is coming from somewhere Let's actually talk where the power is coming from. You guys probably know main mainly where power comes from and let's describe it. So on the left you have thermal. You guys might be confused like where's nuclear, where is gas, where's coal. Well, you can think of nuclear, gas, coal, and all forms of energy where you're burning some fuel or creating heat as forms of thermal energy because essentially you make steam in most of these cases and then use steam to power some turbine which then spins a generator and creates electricity. It's the same principle for actually wind energy except instead of doing it through thermal um thermal energy, it's through mechanical energy. It's through the wind moving the rotor blades and then um creating energy that way. And then also solar energy which is becoming more and more important throughout the world. An interesting fact is there's literally a solar farm in the Tibetan plains of China which is like 18 gawatt or something insane. Like this is one of the largest power generating um things ever built by humanity. There's of course like the three gorgeous dam in China as well which is even higher in terms of peak gawatt production. But um yeah solar farming and solar in general is becoming more and more important. And interestingly this is the only form of energy in this entire um assortment which is producing energy in direct current. The only other main form of energy which which performs and creates direct current energy is uh fuel cells. So there's one company that's really wellknown it's called bloom energy which uses a fuel cell to burn natural gas but it's not through oxidation. It's not through a regular oxidation process where you add oxygen and then create like oxygen. Sorry, you add oxygen to some carbo hydrocarbon and then you burn it to create carbo carbon dioxide and then also energy. Instead, um it's through some other electrochemical process. In any case, solar and fuel cells is the only two types of energy that are mainly used for direct current and then also you have hydro which is a similar principle to other forms. You spin some turbine in this case with water and then you create electricity in the grid and then the grid itself is an alternating current in every single system throughout the world to my understanding. So these are some forms of energy that we need to use in order to power our data centers. And once the energy has arrived at the data center, we use well first of all high voltage transmission to carry the power between the regions and the the destinations. And the reason why we do this is once again in our primer we introduce the formula P= IV. So the amount of power that we uh transmit through some transmission is equal to the current multiplied by the voltage. And the problem is if you increase current a lot then you'll have a lot massive heat losses which is very bad. It's inefficient. In order to make transmission efficient you need to step up right once you generate the energy at like a wind turbine you need to step up the voltage to a very high voltage so that the current can be sufficiently low in order to keep the heat losses down because heat losses as a reminder square I mean scale quadratically with increase in current. Okay. So that's why we use high voltage transmission and then once we get to the receiving end we will step down to a lower voltage and this is for multiple reasons like you don't just you don't just like port like 345 kilovolts energy to your house because first of all it's like dangerous you need to have like specific clearance um in order to uh to prevent for example arcing from happening where you have like literally beams of electricity that ionize gas and turn into plasma and many other reasons which I won't even go into. Um, so we don't always do this everywhere. We only do this for high voltage transmission where you have these power lines which are at a specific height and are engineered to support this type of electricity efficiently. And when I did some research on this in terms of transmission and distribution of energy, you have like around 95% uh efficiency from generation to reception in most systems. like this could be more or less, but this is like a ballpark estimate of how efficient this whole system is to take energy from where it's produced and then give it to the destination. Of course, if you produce energy at the destination itself, then you'll have a much higher efficiency for transmission at least because um you don't need to do like many as many steps as you would if you're like producing energy at a dam and then you have to move it 1,000 km or 1,000 miles to the data center. So distance is another factor that affects the efficiency of transmission. When we actually receive the energy at the data center, it's at a substation. So substations are just what you call the equipment and the facility that takes this high voltage utility connection and then converts it eventually uh to medium voltage which is then used after we process the energy in multiple further steps by the power shelves of the rack to uh actually feed the GPUs. So you can think of the campus substation as connecting the site to its buildings power systems. And when we have the campus substation, we'll first add a on-site generator optionally, but most data centers do have some type of generation scheme because if the utility grid ever goes down, then you don't want to be stranded. And in fact, there are some data centers specifically like that are being made by XAI, SpaceX, and Crusoe which are using behind the meter electricity, which is to say that they're not even connected to the utility grid. This isn't ideal, but the best advantage of having BTM, which is behind the meter, essentially meaning we're not on the grid, is that you don't have to wait to get permitting and submit interconnect submit into inter interconnect queue to like wait in line to get permitted and connected to the grid. Like that's the one benefit. In any case, if we are using the utility connection through the grid, then we'll have our campus substation which will feed to some building distribution with an generator that is most always there. And then this building distribution will feed to the rack power shelves that contain the power supply units. And those power supply units will convert actually the alternating current to the direct current that the GPUs will use in order to perform their computations. So let's suppose that you are on the utility grid and there's some power interruption. Well, in that case, the store a stored energy will bridge a supply interruption while, for example, generators are spinning up because you can think of generators as taking at least like one or two minutes or some interval of time between turning on and providing a stable power source. So, generators are not instant. And we're talking usually like diesel generators or some type of gas turbine that is going to provide energy to the data center when the utility fails. So in this intermediary time let's say it's 1 minute you still need power and as we introduced in the primer the util the uninterruptible power supply is what actually provides this buffer power to the IT load while we wait for the backup generator to spin up and at a very high level what this is doing once again is first of all taking this alternating current rectifying it to direct current and then inverting it back to alternating current and this whole redundant process This is once again done because we have a battery which produces direct current and has a DC toDC link to this bus which is essentially where the power is flowing and we we do this entire redundant process in order to ensure that we have a instant uninterruptible power supply to the IT load because to repeat myself if the battery was connected to an inverter that was off of the main link then there would be some delay because there would need to be that switch which essentially decides are we taking power from the battery or are we taking power from the utility/generator and this switch is not instant. In order to have instant power delivery to the IT load in the event of a grid failure, then you need to have this UPS which includes both a rectifier and an inverter. Interestingly enough, even the battery is not instant. A battery might take 10 milliseconds to spin up and that 10 millisecond buffer could be too slow in terms of like the GPUs requiring constant sources of energy. So you also likely have capacitors in this setup as well somewhere within the UPS such that the capacitor can provide instant voltage to supply the uh the power to the IT load while the battery in that 10 millisecond interval is actually supplying um energy to this DC link. And now if we look at the power rack in particular, we have the power entering the GB300 rack which I presented earlier, the Grace Blackwell 300 through its power shelf. So I'm going to zoom into this for a second here and we're going to talk about the vertical hierarchy of this rack. So one thing you should know, we'll talk about this later that these racks are pretty big and they're on the order of 1.5 tons. So think of something pretty pretty heavy and pretty expensive. So at the top you have four power shelves here and also four power cell shelves at the bottom which which is eight in total and around 260 kW of power that you can supply to the 8 + 10 compute trays plus the 9v link switch trays. So at a high level these compute trays is what's actually doing the matrix multiplications for the transformer or other uh accelerated workload that you're running. And then the NVL link switches is what's allowing for these different GPUs to communicate with each other at like terabit per second terabyte per second speed just insane speeds that you have within this within this rack. And then um at the very top you have further rack switches which are used for other networking capabilities. And I mentioned that we have 260 kW I think it's 264 kW of power through these power shelves that we can supply to the to the IT load whereas the full rack requires up to 142 kW at peak load. So why do we have like 120 kW more power delivery than required? Uh this is just for redundancy. So, for example, if a PowerShell fails, then in that case, we can still run all of the GPUs normally. Um, and furthermore, these power shelves are actually hot swappable most of the time. And what hot swappable means is that while the rack is still on, you can take out an entire power shelf, remove a defective unit, and then put it back. And um, the last thing I'll say is that each of these power shelves contain six power supplies. So you actually have four + 4 power shelves which is eight and then 8* 6 48 power supplies in this rack. Um and then you can take them out and then re reset them if one of them is defective. The really key thing here is that they're hot swappable and this allows you to do replacements while you can still have the the rack online which is very critical. So one thing that I'll mention here and we'll which we'll repeat of the course is that the alternating current supply that comes to this rack is then received by these power shelves which have the power supply units six of them per shelf and then this will convert the alternating current to direct current. In the case of the GB300 it converts it to approximately 50 to 51 volts direct current into this rack bus bar. So we'll be talking about bus bars and buses a lot. You can think of a bus bar as essentially like this highway for electrons and these electrons will move across the bus bar to supply load to supply the various loads. In this case, the various um compute trays of this uh power rack. So inside the rack, right, we have the compute and the switch trace. This is what's actually consuming the energy. And I actually have a picture of what this looks like from the back. Um in fact, the power bus bar is highlighted here. So, it's kind of hard to see, but it's literally a vertical bar, which is some type of conductor, probably probably copper, but I'm not sure. And this runs vertically because we want to supply every single one of the power shelves. And um then the power shelves will supply each of the uh compute trays. Feel free to pause here as well if you want to see what the other components of the back of the rack are, which are really cool, honestly. Like for example, you have seismic bracing for like earthquakes and then also a lot of the liquid cooling components are also here and labeled in quite detail. Right? So coming back to the overall hierarchy of the data center or at least the rack, you have the chip which you can think of as the GPU if we're using an AI accelerator. Then the AI accelerator/GPU is in some type of tray and then you have many of these trays which form a rack and then many racks which form a cluster and then these clusters areworked um in the case of Nvidia they'reworked with um NV switches um some type of in interconnect in order to allow them to communicate across racks and um this is how we perform for example large training runs because when you're training trillion parameter models then you need a lot of me memory and a lot of racks of GPUs in order to uh train the model in a timeefficient manner. Right? So if we look at the interconnect on a cluster level and even a campus level, these serve different communication roles. So you might have heard of a scaleup domain which is within a single rack. So within a rack, the domain that you can essentially freely pass information or at least pass information at an extremely high bandwidth. So in this case we would be talking about a single GB300 NDL72 rack. It's called the scaleup domain. Then the scale out domain is across multiple racks. And in fact um you can scale out to a carrier/wide wider network which could include other sites and users outside of the campus. Um and then within the scaleout domain, you'll usually have access to some storage network as well where you can host model weights or other networking information that is useful. And um at this campus edge, you'll have your interface between the data center and um the other receiving points. So that could be another data center, it could be just your end users. And this is usually through some fiber optics. In fact, there's a really cool special case which is the TPUs. So, Tensor Processing Units by Google uses optical switches that connect 4,96 TPUs. Um, this number is now insanely larger because we're actually at TPU V8. So, this is four generations too old, but um this this uh this specific generation had the best photos, so this is why I chose it. So, essentially, we have these chips that are in reconfigurable pods. There's 4,96 per pod. And in this case, you have only 1/8 of a TPUv4 pod in this in this image. So each pod has 64 of these um racks. So in this case there's eight. So it's um 1/8 of 64 is uh is eight. And then um essentially 64 of these racks or blocks is how they're called. And each one has 64 chips. So there's in total 64 square chips. This is 4,96. And um you might think this is a nightmare to connect which it probably was. But um you should always trust the engineering ingenuity of Google engineers. And how they do this is essentially each block is connected with what you would call optical circuit switches, which we don't need to know exactly what they are, but they're essentially mirrors that pass light that has information, which is the data that you're passing between the different racks. And interestingly, these mirrors can reconfigure links to bypass faults. And that's something that I find really cool. So essentially if there's some fault in a in a optical circuit switch, you can reconfigure the mirrors to essentially pass through the the error and um allow the data to pass and be communicated. So in this hypothetical example, we're passing data from block A to block B through this optical circuit switch. And the entire system that is allowing the data to be transferred between different TPU pods in particular, if you're interested, is called ICI, which is called interchip interconnect. So pretty also common sense name here and uh in this case we're just connecting two blocks uh with this link and Gemini 1.0 ultra which was the largest Google model in 2023 trained across multiple data centers. So in this case, we actually are only communicating between a single pod. But um whatever the Gemini Ultra Run was doing, it had these OCS switches between data centers as well. And since Google is such a big company, they can actually make these data centers connected with their own fiber and essentially control the network that is um connecting them in order to have the best possible bandwidth. So that's a quick little taste of the extent to which these racks are optimized for latency and communication. Now moving the focus to heating. As we discussed in the primer, in every single data center that's being made today that has liquid cooling, you usually have two coolant loops that carry cold plate heat to the outdoor plant. So when I'm talking about cold plate heat, you're talking about these metal plates that sit on top of the GPU and absorb the heat that is created while it's running. And in this case, the coolant is called like the it or the technology coolant. So this is one loop and then this is then fed to the coolant distribution unit which has a heat exchanger between the facility coolant and these are completely separate fluid circuits to be precise and that you can see precisely in which part of the cycle if we're going clockwise the coolant is hot on on the top and the right and then cold on the bottom and the left in both instances. And then in this case, we're just using a passive cooling system where literally just fans are fanning the heat outside to the atmosphere and then returning the cool heat to exchange with the heat from the GPUs that were that were interfaced with the cool plate. So we'll get more in more detail as we go on for the course. And then now just to talk a bit about it versus facility support. So let's assume that we have a 2 megawatt supply and that it must power 1.5 megawatt worth of racks. So in this case we have 10 racks that are 142 kW which gives us 1.42 megawatt and then also let's assume that we have 80 kW of networking and storage and then that gives us 1.5 kW of it and then we have a name plate rating. What is the name plate rating? That is essentially the maximum amount of power that a data center can provide. So let's say that like the utility companies were like okay we can give you at max 2 megawatt of power that's the maximum amount that we will provide to you. So in that case that would be where the name plate rating comes for or if you're using behind the meter power let's say that you literally have 2 megawatt worth of gas turbines. Well you can't produce more than 2 megawatts if that's the rating of your gas turbines. So that's the name plate capacity. And then usually the amount of power that you consume is not worth 2,000 kilowatts because you don't want to be right at the edge just because for example your gas turbines might not always be powered or rather running at their maximum throughput. So let's assume that we have 1.5 megawatts of IT capacity and then 300 kW of support which could be cooling also just heating up the facility not heating up the facility but um essentially the the HVAC system for the normal offices that are in the data center as well as lighting. um then you'd have 1.8 megawatts of total energy. So that would be it plus facility support and this would fit within your name plate rating which is 2 megawatt. So these are some numbers that we talk about when we're talking about the overall power consumption of a data center. We have the IT equipment and then IT plus facilities port which in this case would be 1.8 kilowatt versus two um one 1,800 kW sorry versus 2,000 kilowatts that it has it has rated. So in this case we the data center should should be able to provide enough power to supply both the IT and the facility. Okay. So one interesting thing that I want to mention here is that like most machine learning and AI workloads are not like steady and constant. So for example, let's say that you're running some large evaluation that would cause a large peak in demand. And assume this evaluation is ready at midnight and is due at midnight the next day. So you have 24 hours to complete this evaluation. And that um over a 12-hour period, it requires 4 megawws of power to complete. But if you could stagger them, then you could actually double the amount of time it takes to 24 hours and then it would only require 2 megawatt of energy. And assuming that our our data center can only supply up to 6.5 megawatt, then this would be a way for example to ensure that um the batch evaluations could actually perform. Assuming once again that we have a overhead of four four megawatts as constant from like live inference. just assuming just just to serve our users and other overhead from for example like this networking and storage that we talked about. So in both cases we would have a total energy consumption of 144 megatt hours per day. But the problem is that here we can't actually run that because the peak demand exceeds the 6.5 megawatt supply limit. But if we stagger them as I mentioned here, then we can complete both of these jobs and um have a better energy use over the entire day as opposed to only being able to run essentially half of the batch in this example here. So one other thing just coming back to the example that was two slides ago is if we have a 300 kilowatt hour support system with a 100 1,500 kwatth IT uh facility consumption then we can calculate the power usage effectiveness which was introduced in the primer as 1,800 divided by 1500 which is 1.2. But let's say that we actually make our facility more efficient. we half the energy required by our supporting system, then we would change this ratio to 1.1. And this demonstrates that the lower the power usage effectiveness, the better our facility is at supporting its IT equipment, its GPUs with less energy. And so let's just jump into here a quick example. So let's say that a hypothetical data center campus records 12 megawatt hours at the facility meter and 10 megatt hours at its IT meters. So this would be like the GPUs during the same hour. An analyst adds them and reports 22 megawatt of useful compute as the amount of compute used by this campus. And the question here is correct the total and explain what these readings leave unknown. So I'll let you pause if you want to actually attempt this question and then we'll work through it together. So essentially what's being done here is that this 12 megatt hours already includes the 10 megatt hours. So it's being counted twice. So really what we can say is that the entire facility is consuming 12 megatt hours of energy over 1 hour and 10 of the 10 of that is for the it. So what we can do here is calculate the power usage effectiveness um which would be 12 divid 10 that will give us 1.2 um but we can't really calculate much else other than that I think if we look at the answer here we essentially have the uh the p is 1.2 two but um neither the ratio nor the electrical demand tells us how much accepted work the camp is computed completed. So from these numbers that's essentially the extent of what we can compute and if somebody says that 22 megawatt of useful compute was done then they would be wrong. We can't really also assume that 10 megatt hours is equal to the compute itself because the it is not just purely compute there's also networking involved. So we would know that the amount of useful compute that was done for doing matrix multiplications is something less than 10 megatt hours of energy. All right. So that was the uh the the little knowledge check from the chapter 2 that we just finished and now let's head to chapter three. So in this chapter we're going to be discussing the model and its users which determine what the data center must deliver. So, we're talking about workloads in this chapter. And why do I have a picture of the Nvidia CEO Jensen Hong here beside this really funny graph? Well, this was from Computex um which is a conference that happened in 2026. I think it's like Nvidia chip conference. And in this conference they were talking about AI factory revenue in particular tokens per watt because tokens per watt is becoming one of the most important metrics for how much you can profit from a data center because in the current regime there is definitely a constraint on how much power you can procure. And what this means is that if you have a given amount of power, let's say 1 gawatt, then the amount of tokens you can perform and produce for that gigawatt of power determine how much you money you can make. And that's why you have Jensen Hong talking about tokens per watt in this graph. And then also there's just TTFI, which stands for tokens to or sorry, time to first inference. That's a strange um term here. That's usually not the term that's used in the industry. Um you would say time to first token. So, TTFT, but in any case, um there's many different acronyms for the same thing here. The the main reason I put this graph here is just to highlight the fact that well, your workflow, how you're serving your users determines how much money you can make and also the amount of power you have and your token swap ratio determines how much you can make at the end of the day. Okay. So the three criteria we'll talk about in this chapter are like what is the actual model and what is the state. So we'll talk about weights, we'll talk about the overhead of context and also like if you're training what is the overhead of actually having to train a model because it's in general much more expensive in terms of memory as opposed to just inference where you're serving users on a model that was already trained. Then once it comes to serving users, well, there's a bunch of things that you can do in terms of batching and response time in terms of latency as well. So, we'll dabble a lot a bit into that field to talk about the trade-offs that are made in terms of balancing cost versus serving your users at a specific speed. And then also, we can't ignore the big elephant, which is like the electrical demand, right? There's no infinite energy or electricity. So you need to balance your users needs with the actual amount of power that you have. And furthermore, as I've mentioned already, ML workflows are not in particular steady. So there's lots of peaks and transitions where at one moment you could have a large load of inference that you're serving and then at another moment it could draw down. So this means that the electricity infrastructure needs to be resilient to these transitions. And the two different workloads that are the main types of ML workflows are um training and inference. So if we look at a really high level what are these two things doing? So training you have a forward pass where you calculate the loss and then a backward pass which gives you gradients and then after you get the gradients you use an optimizer to update the weights in order to learn parameters. One important metric in terms of training is flops which stands for floating operations per second. So in training you have these massive batches of uh text that you're processing through your transformer model and the amount of flops on your hardware usually determines like what is your batch size how many model how many how many how much text can you process in one single batch of course there's a lot of other things that are in this calculation as well in particular these models are so large that they're actually not on a single GPU they're sharted across many um different devices in different forms of parallelism is what you call these different schemes. So that's also a really important metric to to consider. But um one important thing in training is just how much how many operations can you do per second across your rack or your data center scaleout domain. And then moving on to inference. What we want to do here is produce produce tokens for end user. Um important metrics here are the prompt which we must prefill. So essentially if the prompt of the user is 1,00 tokens then you need to prefill that into the model and calculate a KV cache such that in every consecutive inference step when you produce the next output token which is called decode. So you're decoding with this uh auto reggressive model which is the transformer. Then um this KV cache allows you to not have to produce the key and the value states of every previous token at every inference step. Um and if you don't know what a key and a value token is, you can think of it. It's just some internal representation which tells you the semantic meaning of all the preceding tokens that you use to inform the next token generation. And if you don't have the KV cache, then you have to do a much more computation. So it's essentially just avoiding redundant computations. So you need to store this in memory and then use that in every decode step and then in terms of batching right you have a scheduler which will have a bunch of active requests that it has to handle and um essentially batch those in an efficient way to balance once again the trade-offs between serving models serving users quickly and not having a really inefficient um batching scheme. So the two uh the two metrics here we'll talk about is throughput which is just across all users what is the tokens per second. So let's say that we are serving 100 users at 10 tokens per second. Then the throughput there would be a,000 tokens per second since this is essentially um aggregated across all users. And then per user the two important metrics here are first token. So how long does it take to get to the first token? Um this is TTFT time to first token and then inter token latency. In between every single token generation after the first one what is the subsequent um gap? So if you're saying like if you have a,000 tokens per second as your your speed then essentially the inter token latency would be the reciprocal 1 divided by a th00and seconds which I don't know is that like one microcond something like that. Uh so these are the two metrics that we care about and then the last thing which combines these two is called interactivity. I think we talked about this in a previous in a in a in a in a succeeding slide rather um interactivity is just tokens per user per second. So this is just another metric that we use to determine to what extent is our inference bandwidth um optimized or what is our inference bandwidth essentially. So oh I I literally just jumped ahead of myself. So I don't know if I said this in the right order but in any case interactivity is tokens per second per user. I think I said tokens per user per second. So forgive me for that mistake. In this example we have one user having an interactivity of 40 tokens um per second. And this means that we have 25 milliseconds between tokens. I think this is justly 1 divided by 40. Uh 1 second divided by 40. Uh and then the throughput here depending on how many users we have would just be 40 times the number of users. And in fact um let's look at the interactivity right. So if you have a interactivity of 20 then this gives you of a this gives you a inter token latency of 50 milliseconds which is larger. And then if you double or rather quadruple from 20 to 80 80 tokens per second then you will have an inter token latency of 12.5 milliseconds. So here we're talking about just on a on a single user basis. In this next graph let's talk about how we can serve um multiple users. So on on on the y-axis here you have throughput which is just tokens per second per GPU. And as Nvidia and Nvidia has um laid it out here in the graph, higher AI factory throughput as you go up. And then in particular here we have the Nvidia GB300 NVL72 which we've already talked about throughout this course on a Quen 3.8 model. So if you look at the um the specs here, it's a three sorry it's a 2.4 trillion parameter model, but it's a mixture of expert models. So at any given inference step only 95 billion of the 2.4 trillion parameters are active. So that means that only 95 billion parameters are being used for every single inference step. Uh and this is called mixture of experts if you haven't heard of it. And then otherwise we have FP8 which is just to say that the model parameters are in 8 bit precision or one bite floating point precision. And then we also use multi-token prediction which is a type of speculative decoding which allows us to predict multiple tokens at once instead of predicting them one by one. Uh we're just going to go through this one by one. So Tensor RTLM is the LM inference engine. So maybe you've heard of VLLM or SG lang. These are all different frameworks for serving models at a high efficiency on on the hardware that you have. And then um in terms of the task, it's essentially just a task where you get 8,000 input tokens and you output 1,00 tokens. So that that is what this benchmark is based off of. And um essentially we're we're plotting interactivity here. So NVIDIA has said for example, if you have a minimum interactivity requirement, so let's say you have an SLA, which stands for a service level agreement. So let's say that you're selling compute to some company and they say that we want at least 100 tokens per second per user. Well, that would give you a total throughput of around a,000, which means that you could serve maybe like around 10 users at 100 uh tokens per second per user. And let's say now the company says I want at least 200 tokens per second. And I guess I didn't actually do the vertical, sorry, the horizontal line test to see where this intercepts, but um essentially taking this here and bringing it to the left will tell you however many tokens per second you can serve across the entire uh rack of 72 GPUs. And then finally, if you say that you want 300 tokens per second per user, then um you'll only be able to serve like probably one user. And what you can tell is that it's there's diminishing returns. So this is not a linear plot. Like if this was a linear plot, then essentially if you could serve 10 users at 100 tokens per second, that means you could serve one user at a thousand tokens per second. But that's simply not how this optimization works. It's um it's nonlinear. So this is a important thing to know in terms of the more and more you go into the latency um sensitive regime or you want to be faster and faster, the more the returns are diminishing. The last thing though that I'll mention is that this is out of the box quen 3.8 2.4 fort. So probably with a lot of interesting optimization schemes, you could make this graph look much more appealing, which would essentially mean that like the the line would go higher for a given interactivity, you could probably have a higher throughput. But um with the base out of the box quant 3.8 2.4 T 2.4T 4T model. This is the interactivity graph and this is a extremely important metric to to keep in mind because this determines essentially the profitability and the feasibility of how many users at what throughput you can serve for a given hardware configuration. So I mentioned earlier how training is generally more expensive in memory as opposed to inference. And to make that more specific let's let's look at an example. So the same 70 billion parameter model needs much more state when its parameters are being trained as opposed to being served. So let's say that we're serving a llama 70B model at two byte precision. So this means 16 bits per parameter. Then um to serve just the weights, we just do 70 * 2 which gives us 140 GB of BF16 um BF16 weights. And we do have to add the KV cache plus runtime workspace as overhead. So it's not just 140 GB, but if we compare this to the training, then we can see that the margin of KV cache and runtime workspace doesn't really make up for the fact that this is like one order of magnitude larger. And why is it one order of magnitude larger? Well, it's because we still have the same 70 bytes times sorry 70 billion parameters times 16 bytes uh per parameter. But we also have the atom state which is actually in um four four bytes precision. So 32 bits floating point 32. Um you can think of atom optimizer as like an optimizer state. So this is essentially tracking for example momentum which is a metric that is extremely useful when you're training models to allow the train to be more stable. We don't need to get into the details but just to just to be um giving a summary here. We have the same two bytes for the weights here as as in the inference. But then we also have two bytes for the gradients. We also have a set of master weights which are uh four bytes. We have the once again the gradient and the second moment sorry not the gradient but rather the momentum and the second moment estimate which comes from the optimizer state optimizer state. And then also you have activations which you store in order to calculate the gradient. So all of that is once again not really important to know at a extremely low level. It's simply important to realize that all of these different states which must be tracked mean that um in this like naive example we have to store an order of the magnitude more memory to train a model versus serve it. And once again there are probably a lot of techniques to reduce this by a lot in in making the memory of the training more efficient. The same thing also applies for the serving part. But um once again we're just trying to get a high level overview of the different memory requirements of training a model on the right versus serving one. And then if we talk about context length, it's also interesting. So this is independent of training and serving. This is just the case of um what you have to do when um when you want to store a KB cache for any given model. And in this case, the model we're considering is llama 3.1 78b. And the general lesson here is that longer contexts retain more state because the key and the values grow for every request. So how do we calculate how much a single token? So what it's a token for LM inference? It's simply a term that the LM can recognize. So for example, the word 'the' might be split up into th and the and the letter E. In reality, the word 'the' is so common that it it's probably it's probably its own token. So let's say that the word 'the' is cached in our model such that we don't need to recmp compute it at every inference step. Well, you have a cache for your keys and your values which are two two matrices. The actual model itself if you search up the model card is 80 billion parameters and then per layer um per layer there are 80 there sorry there 8 KV heads. So, I don't know if I said layers or not, but anyways, there are 80 layers. Per layer, we have 80 KV heads. And each head has a width, which means that the the vector is 128 um 128 values in length. So, essentially each vector is 128 uh dimensional. And then for each value in this 128 length vector, we are storing a number which is in BF-16 format, which is two bytes or 16 bits. And so if you do this multiplication you get this value. So 327,680 bytes per token or 220 kilobytes per token. And this is the KV memory. So this is actually the KV memory for one token. So the number of cache tokens times 3220 kilobytes gives us the overhead for uh the amount of memory that we need to store for a single token. And I'd like to take this moment to just discuss a interesting thing that happened in the market probably at the end of 2025 to beginning of 2026. You probably know what I'm talking about already. I'm talking about all of these memory stocks like Micron, like SanDisk, etc. Western Digital that have been increased immensely in value. And this calculation should demonstrate why these companies have increased their market cap to such a great extent. um for a single token you literally need this many bytes to store it in your model and also I didn't mention this but this excludes block overhead what is block overhead it's simply the fact that um when you want to assign memory in your HBM your high bandwidth memory on your on your GPU you need to do this in blocks which are some defined width and um likely the block will not be a perfect multiple of the size of your cache for your KV cache. So there'll be some like min minimal buffer that you also need to add to this cache token bite requirement but um it's probably relatively minimal and we can ignore that. But in general, you have this massive amount of token that you require. And as reasoning models became more and more popular in uh 2025, then what happened is that um the amount of KV cache became longer and longer as your reasoning traces became more and more protracted and um this led to increase requirement in memory and a lot of these companies that were producing their memory became very valuable. All right. uh and then context length and model design changed the KV cache budget. So what do I mean here? I'm saying that in the naive sense when we had llama 3.170B um we like had a really big memory requirement for our KB cache. So let's assume that we have 64 GB allocated for our KB cache. Well, so if we have 8,000 tokens and if we multiply by the number that we computed in this slide, 327,680 bytes, then for these 8,000 requests, sorry, 8,000 tokens, then we can have at most 25 requests concurrently with this 64 GB of allocated KV cache because if we do more than uh 25 requests, then we will just simply go over our 64 GB uh weight a lot. sorry a memory a lotment and then in fact if you quadruple the amount of tokens per request then you will divide by four the amount of requests that you can serve concurrently. So 25 divided by 4 rounded down uh gives us six. So in this case we have 10 gigabytes per request and just as a legit check if you do 10 gigabytes per per request multiply by six then you get back your 60 or 64 if we account for rounding. And um this is probably in the regime here in this graph where we have a pretty inefficient um way of routing and storing our KV cache. And although I'm comparing Llama to DeepSeek, the the lesson here is still the same. Essentially what has happened over time is that you have new techniques such as like multi head latent attention uh which was one of the techniques developed by DeepSeek in order to make the KV cache require less memory. So just in this example here you are comparing the accumulated KV cache on the y- axis in gigabytes to the sequence length in in thousands of um in thousands. So essentially this the sequence length here is not 1,000 it's rather 1 million and in deepse 3.2 two for a million u for 1 million context window you would have a 50 GB requirement and then in deepseek v4 pro that same 1 million token context window was I don't know somewhere around 5 GB and then in deepseek v4 flash it became 13.7 times smaller um somewhere below 5 GB and now we're already at deepseek v4.1 flash as their latest model if I'm not mistaken so this is why you should naively assume that like memory will just keep on going up in terms of the stocks. Um the me the methods are also adapting to this memory crunch to use less and less memory while maintaining performance and um it's essentially doing this by compressing attention in um in DeepSeek V4. So this is another lesson that we can take is that even though the memory a lotment was initially pretty crazy, it is becoming more and more efficient. But because of uh what what what you would call Givvon's paradox even though we're becoming more efficient this is actually this is resulting in more people using the models because they're more efficient and still in net we require more memory than we did before. Okay. Um we we did we briefly discussed the difference between prefill and decode which are the two different regimes that occur in inference when you're serving a model. So at a high level, prefill needs compute and decode needs memory bandwidth. So what do I mean here? Let's remind oursel let's remind ourselves what the difference is between prefill and decode. So in prefill you're processing the prompt. Um you're doing many prompt tokens in parallel usually in a batch and this is just a really large matrix operation. So let's say that you're open AAI and you have 10 users which just submitted their codeex requests. Each request is maybe like a million tokens. Um that's that's exaggerating but let's say there's literally a million token codebase. So you would have 10 million tokens that you're operating in batch and usually this is computebound. Um and the most important metric here is time to first token. What I mean by computebound is that as opposed to the speed of loading the uh the tokens into memory being the bottleneck here. It's rather the speed of waiting for the matrix multiplications to finish as the bottleneck of what what is what is stopping you from processing these tokens faster. And then if I move on to decode, what's happening here is that you've already processed the the model or the the the prompts once. So at every subsequent decode or auto reggressive token step, you just have to read the weights of the model as well as the cache context and then generate the next token. And this is often memory bandwidth bound because you've already done the brunt work of computing the KV cache in the prefill phase. And in this in this phase, you're just um worried about the time between output tokens and you're worried about moving the weights in and out of memory and [snorts] moving the new KV cache in and out of memory to generate subsequent tokens. So that's why it's memory bound. And this fundamental difference between prefill and decode has led to what's called prefill decode disagregation, which essentially just means that you're using different hardware to perform each job because each job is tailored to a different type of hardware. So if you have a really compute fast um machine, you'd want to do that on prefill. And then a type of a type of chip, if you've heard of Cerebrris, would be better for decode because it has extremely fast memory bandwidth speeds. Okay. And another thing that I highlighted here is that we have large matrix multiplications that were many that were usually processing in parallel if we're smart about it. Because if you read the weight into memory and you only compute it with one prompt. So you essentially have your weight matrix here that you load into memory from HBM onto the GPU's chip. And if you only multiply by one by one prompt, then you're not really amortizing this weight transfer at to a good extent. It's essentially costing you a really a really large amount in terms of time and energy because you're not really doing this in a batch manner. Whereas let's say that you're doing this on eight requests, then you're having more arithmetic for the same weight read whereas we just use one vector here. And this is allowing you to amortize. It's the term that's used this memory um transfer of the weight onto memory to a larger extent given that you're using this in a more parallel and batched manner and in particular when we're talking about preill and um decode and this disagregation I wasn't just talking about this in theory literally you have hardware that's being introduced in this case in Nvidia's case you have the Nvidia Gro 3 LPX which is their product that is made specifically for inference and what it does is it has a Vera Rubin NVL 72. So Vera Rubin is the generation after uh Grace Blackwell and we have the same Envy link 72 rack which processes the prompt and does the prefill and then it transfers the KV cache to these Gro 3 LPXs which was a company that Nvidia acquired and they made these special chips that stream the answer really fast because they have what's called SRAMM that can have a extremely high bandwidth in order to stream and process the decode phase. in a in a quick manner. Um, and then this has a really quick time not time to not time to first token but inter token latency. And this is what allows you to have extremely fast token generation both for the prefill phase and the decode phase. Last time I'll repeat myself. This is called decode or rather prefilled decode uh disagregation. Okay. So now we're talk quickly about batching and why do I have a picture of a bus here? So um let me explain myself. There's two different types of batching or there are many types but I'll only introduce two in this case. There's a fixed batch which is the naive implementation. So in in this case essentially like let's say every 5 seconds you will process some batches of prompts that users come up with and you only process new batches every 5 seconds. So even though at slot three you could process another batch um because you have the space in memory, you still wait until the next one or rather you would wait until the last batch is done. So you're kind of like waiting for the slowest batch to finish and this just wastes compute. And if we have a bus here, the example here would be like the bus can only pick up new passengers once it's emptied all of the passengers, which would make no sense, right? You would essentially be passing people even though the bus still has space. Of course, if the bus is full, then you can't let any more anybody else on. But until that happens, you can still welcome new passengers. And then how a bus really works is what you would call continuous batching. So as soon as a is released, the C batch would uh fill its place. And uh this is essentially how most inference engines, so we talked about tensor RT, we talked about VLM, we talked about SG lang. This is how they work in practice. They use continuous batching. And in a bus this would just be like every single stop if there are passengers you will let them board. And then every single stop if somebody wants to leave you will let them come off. And then the last edge case is like if the bus is actually full if all the slots are full then you do not let anybody on the bus until somebody leaves. So that's the example here about batching. And um with respect to speed and like processing tokens, we really emphasize interactivity as one of the important metrics. But once again power is something that cannot be ignored. So let's let's consider two runs run A and run B which both have if we assume the same completed tokens and quality on whatever workload they're running. And let's assume that run A uses 100 kilowatts um on average and that run B uses 80 kow. So naively you would think, okay, if they both do the same job, then run A is worse because it uses more power at any given moment. But let's assume that run A takes 10 minutes and run B takes 15 minutes. So if you just multiply this to get kilowatt hours, it turns out that run A is actually more efficient in terms of power consumption or energy use 16.7 kwatt hours as opposed to run B that uses 20 kilowatt hours. So this is because like run B took five more minutes and this resulted in a 20% energy increase. And all of this is to say that even if you have a system which uses more power, if it can complete the job faster, then it might actually have a better energy consumption. On that same note, we can also talk about energy consumption in the sense of the synchronization of GPU jobs in the and to be more specific um when you're training a model, the GPU falls or the power consumption falls while you're waiting for the exchange of the weights. So essentially what happens right is when you do a large model training run, you have a forward pass where you pass the the activate. So essentially you you pass the prompt through the model to get your activations and then use those activations in a backward pass to calculate your gradients and then once you calculate the gradients you will update your weights with the optimizer and then you'll do what's called an all reduce which will sync the gradients across all of the models. Sorry not the gradients but will sync the weights across all of the models in order to calculate the new model weights for the next step. And what happens is that during this all to all communication which is the all reduce you have less computation. And what this means is that the low the GPU power is much lower. And don't just take my word for it. Let's look at this graph which is really cool. So this graph comes from a 2025 paper by Microsoft OpenAI and NVIDIA which shows the DGX H100 in a production training run. And um the power on the on the y- axis here is normalized just to be between zero and one but it is actually measured in watts. And um the GPU draw in this time plot which is in seconds. So we go from 0 to 200 seconds. So we're on the order of 4ish minutes. You can see how much this goes up and down. So they don't actually label all right this is the forward pass. This is the backward pass. This is the optimizer step. But I would assume that like this would be the point in time when the GPUs are communicating. And this is just an extremely telling graph. Why is that the case? It's because it already gives us the intuition that when we're powering these systems and we just naively give them the same amount of power over time, then there'll be a lot of problems where at a at a given moment, if you're serving like the maximum power, then you'll essentially have a lot of excess power that must go somewhere. So this means that the the power supply that we're feeding to these models needs to be much more resilient. Of course, if we're mixing up training with inference, then that will also help because the inference will kind of will kind of serve to dampen these massive ups and downs that occur during training time. And we'll talk about these specific techniques that Microsoft use for example which are both on a software level and a hardware level to make sure that uh this synchronization that leads to really low power uh consumption at specific intervals does not affect the downstream grid or the downstream infrastructure and that will be in a subsequent chapter. But for now just understand that this is a problem which must be addressed when we're training models at a large scale. Okay. And we already saw this graph in the previous example, but let's actually determine uh let's actually attribute numbers to it. So the computing exchange phases creates this time varying electrical load. Let's assume in the simplified case that if we have watts on or sorry kilowatts on the y-axis and seconds on the x-axis that the compute phase consumes 120 kow uh the exchange is 40 kow. And then when we are saving the model weights to the model for the next compute phase, this requires 60 uh kilowatts of energy. Sorry, not energy but power. And that the mean power is 85 kW. Well, once again, if you now put shard this across four GPUs, then the differences become four times larger. And the peak now is 480 kW instead of 120 kW with a 340 kW mean. And per 60 cycle, we are consuming 5.6 repeat kilowatt hours of energy. And the one thing that I wanted to say and the reason why I brought up this entire example is that this might not always be the case and maybe it's actually difficult to make it such but if we assume or if we can have a instantiation where the jobs are independent then in fact staggering them by 15 seconds or starting them 15 seconds apart to spread the power demand would mean that the entire power band is 340 watts sorry 340 kW and the energy consumption still says the same because we're doing the same amount of work over this one minute of time, but we're just staggering it such that the the the the power spike doesn't occur like it does here. So, this is kind of like an idealistic uh framing of the problem. But at a high level, this is one method that we can use in order to prevent our power requirements from peaking and going to troughs over the cycle of our workloads. All right. So what did we discuss in this chapter? Essentially what we said is you need to size the supply from the workload's measured power trace. So the supply is like the actual energy. The power trace is the power as a function of time. And then the workload is what are you actually like running? Are you doing training? Are you doing inference? And for each specific category there's some key terms. So for the workload it's like the model. So what is the size of the model that you're training? the context like how large is the KV cache, how much memory do you need for it. When we talk about token service is like what are the requirements that you need to serve to your users also are you doing training are doing inference with respect to power trace we need to know the peak the energies the transition speed so like how much is the energy varying over as a function of time essentially like what is the acceleration of the of the power use um and then the supply is just simply right what is the grid what are what are we dealing with in terms of power that we can access how does the generation work how fast can it adapt And also is there like local storage essentially is there like batteries which can supply a large increase in energy surge and then also turn off when the energy dampens. So we'll we'll dive deeper into these uh specific energy requirements and accommodations in uh in subsequent chapters but this is kind of a taste of what we need to expect in terms of how data centers need to adapt to the workloads that um that AI comes with. And these are very diverse. So now let's talk about a bit more physical infrastructure. So in this chapter we're we'll really talk about like site preference and how you like choose sites. So if we literally look at this on a three question basis. We'll talk about when. So this is to say like at what rate can the power actually get online? How are we going to connect to the grid? Are we going to connect to a local supply? Are we going to use gas? Are we going to use renewable energy etc? And what so um what is like the logistics of the power that we're getting? How does it peak? What are the backup supplies? And the bottom line is we need to choose a site that can supply each phase on its required deadline. And in fact, if I just jump to the second slide here in this chapter, if we have multiple deadlines, what we can do is stagger the construction such that we incrementally put compute online. So this isn't just theoretical. Literally Cororeweave, which is one of the largest hyperscalers, had a set of data centers that they were building in October of last year. And they received the first first 50 megawws in October. So October 27th is when the first phase was ready for service. And then the second phase was less than a month later on November 24th. And at this point, they had 100 megawatts of compute online. And you can think of this as one way to cut your oyster or whatever the idiom is. In the second instantiation, you would just build them all at the same time. And maybe it would still take somewhere around November to get the 100 megawatts of comput online. But um you'll often see that if you have like a massive 1 gawatt project, it's probably faster and better to develop them incrementally based on the supply chain um constraints and then at that point put the power put the compute online as fast as possible because right now there's an insane premium for having compute that is ready to go instead of just like building it all at the same time and then um having to wait longer for the entire thing to come online. And then we can see this same trend here on Abalene which is the campus that is being built in Texas by Crusoe currently. So the entire target for this target campus is 10 gawatt but the Abene campus that's currently being built is planned for 1.2 GW. And the reports from Oracle as of um this month September 2026 are that 75% of the capacity has been delivered and is online. And they didn't actually tell us the precise amount of megawws that are actually online. But if you just do 3/4 of 1.2, then you get 900 megawatt as currently online. And um this is just once again a second case study of what happens when you incrementally put compute online versus wait until everything is done. It just gives you the ability to make profit much earlier than you would otherwise. And um another cool thing about Abalene is the fact that it uses gas for on-site generation. So behind the meter with these gas turbines, which you can actually see right here, um these these the power plants in Abalene. And in order to service this, they they actually made their own gas lateral. And what's a gas lateral? You can think of it as an offshoot of a main of a main gas line. So we're in Texas where there's abundance of gas. And um in order to get this gas, they needed to build a 14-mi offshoot, which they just built themselves in order to supply uh Abene with a source of natural gas to to uh to supply their gas turbines. And um yeah, this is just an example of if you don't have the the resources, then there's there's ways to get it. And in this case, they literally built their own gas pipeline to uh to supply these gas turbines with fuel. And when one talks about the feasibility and kind of inspecting whether or not a data center is ready and can actually access enough power to be put online, you need to have some joint studies to occur. Because let's consider you're building two data center campuses, campus A and campus B right beside each other. If they both depend on the same substation, then you should ensure that this substation is capable of supplying enough power to both campuses and not naively assume that okay um it meets the capacity for campus A and like forget oh crap, we need to double that because campus A and campus B are both requiring the same amount of power. Uh so this is just one thing that we should keep in mind that you need to do a lot of feasibility studies before these data centers are built. Um and this comes down to like does the substation have enough distribution capability and also does the substation even receive enough power from the grid or do we need to do our own on-site generation in order to make up for the deficit. And then um there's four main types of power um consumption or power generation techniques. So let's distinguish between imports, local supply, and just being completely island off in a behind the meter um in the in a behind the meter regime. So let's go through each one one by one. Starting off with grid supply. This is the case where utility supply is the normal demand and backup is a separate design even though most data centers will have some type of backup scheme. But in these grid supplied um scenarios, the the expectation is that the grid is what's supplying the power at normal times. And before this whole like data center crazy GPU regime where everything is like out of stock and there's these lead times of multiple years, this is what the main regime was because getting energy from the grid is just much cheaper and much more reliable than making generator making energy yourself. And then if we talk about grid parallel, this is similar to just grid supplied except you have local output which is to say like you have your own on-site generators and then you're also allowed to permit imports. So you can think of like maybe you know your you know your data center is like 1 gawatt and there's always at least like 500 megawws or 0.5 gawatts of base load. So let's say that you bring in a half a gigawatt or a 500 megawatt turbine in order to supplement this base load which is guaranteed and then you will import from the grid in order to essentially satisfy the spikes that occur like maybe at noon there's a lot of requests that happen. So you need to import a lot of electricity to make up for that um that spike that surge but otherwise you're depending on this local generator and then you will yeah just reserve import capacity for whenever you need it. Uh and this is essentially a agreement that would be determined between the utility provider and the data center operator. And then you have a export only setup where essentially you supply all of the energy that the data center needs to data center uh yourself through your own means of generation and then you export or you have some agreement with the grid to export energy that is created in surplus. So in this case you would have your IT capacity. Let's say that your IT capacity is 1 me 1 gawatt and that your um nonIT so your facility energy consumption is 100 kilowatt so you have 1.1 um yeah you have 1.1 gawatt of energy use in that case um sorry one let's say that you have 1 gawatt of um energy consumption by your IT capacity and one megawatt of um energy use for the other facility equipment. So that would be 1,0001 megawatt of uh 1,0001 megawatts of total consumption. So your your generator would probably be larger than that since you need to guarantee that you can always support at least that base load. So let's say it's like a 1.5 gawatt generator. Then you'd be supporting the data center through this generator and then exporting access uh to to the grid. And then the one thing here is that there would be no imports at all. So there would be no way to get energy from the grid which means that um if your generator goes down then you should have like some redundancy in the system and then completely off the grid kind of behind the meter is saying that you're just completely off the grid. So you generate all of the energy uh locally and you need some like type of balancing some fast balancing to to make up for peaks and troughs in your energy demand. So this might be in the form of a battery system or other capacitors to absorb these shocks. But in any case, this is the fastest way to put a data center online normally, but also likely the most expensive. And another thing that's interesting is like Crusoe, which once again is this data center AI factory serer or contractor, have have had this hybrid scheme. So what what have they done here? Essentially they used gas turbines as their initial power source and then once the gas turbines or sorry because why why did they do this? Let me let me set this up for you guys. So essentially there's these interconnect cues which mean that you cannot instantly get access to the grid and so that they had this bridge where while they were waiting to get grid access energy they were using these gas turbines to supply the data centers. So you had this bridge supply, but then once they finally got connected to the grid, this gas turbine just became the backup generators and then they instead were importing energy from the grid. So this is one one technique. I think also SpaceX or XAI, whatever you want to call them, have also had this same strategy in one of their data centers. Um, and it's kind of a way to get your data center faster online so you can start to generate tokens and make a lot of money. And then once you finally get connected to that grid, have a way to import electricity from the grid and use this latent capacity as your backup capacity. All right. So when we talk about generating behind the meter, the most common form of generation is through gas turbines. And you have two types. So you have a simple cycle and a combined cycle. The only difference between them is a simple cycle has a gas turbine and so does a combined cycle. But a combined cycle has a steam cycle as well. Um another thing is that you'll call these you'll often hear these called CCGTs which stands for combined cycle gas turbine. And this would just be a simple cycle gas turbine. What you really need to know too is that CCGTs are in immense scarcity. So like you'll have to wait many years to uh to get these if you want to order one. Um the two biggest manufacturers or among the two biggest manufacturers are GE Vernova which is General Electric's Oh there you go which is General Electric's um generator um department. So they make the the generators and the steam turbines these these massive uh gas turbines for for the General Electric. And then you have Seammen's Energy which is the German company that also makes these gas turbines. Um, the reason why I said that they're in immense demand is just because these are one of the most efficient ways to turn gas into electricity. In particular, CCGTs can have up to 64% efficiency, which for fossil fuels is almost unheard of. That's like really efficient. And also, they can just uh produce immense amounts of electricity. So, you can have a CCGT turbine in the order of gigawatts. And um simple cycle is less efficient and also less um less energy because it only uses one of the cycles. And I'll explain why that is the case. But overall, these are really good ways to turn gas into energy. And if you're building a data center in Texas, which is where a lot of data centers are being built, or in Pennsylvania, which is the second largest gas producing state in the US, then you have a lot of access to natural gas. And so this is the best way to turn or to just get just get energy. Um and the last thing I want to say is an interesting dynamic which has occurred is that there have been like speculators who foresaw the demand in data centers before others and essentially had the capital to place orders for these combined cycle gas turbines or for these simple cycle gas turbines with no intention to actually buy them. and then now they've essentially sold their spot to others and made a pretty handsome profit because of the fact that these are in ma im immense demand. So that's just an interesting anecdote that I wanted to explain. But now I want to actually explain how these work. So how does a simple gas turbine drive its generator. So at a at a high level these simple cycle gas turbines kind of work how like a a turbine works on a um on an airplane. So you have a compressor which compresses air into very high pressure and then this high pressure air is then combusted. So you inject the fuel and then you burn it and then this extremely high velocity um burned fuel with high pressure just moving really fast turns this turbine and then this turning turbine turns the generator. Um it's that simple. You can get into much more detail if you want to but this is at a high level how a simple cycle gas turbine works. And I think you're talking about like 30 to 40% efficiency in terms of the amount of jewels in the gas versus the amount of uh energy that you produce from the generator. And these are much simpler than a simple than the combined cycle gas turbines. So when I do the comparison, I'll first describe how a combined cycle gas turbine works and then compare the two. So the gas turbine here in the in the combined cycle is the exact same mechanism as the simple cycle. So this is the same. The only thing is now you add a steam turbine also to the mix. So what's happening here? Well, it turns out right this combined cycle gas turbine creates a lot of heat and in fact like I think you have these offshoots here which are offshooting the excess heat and that's wasted in a simple cycle gas turbine. But in instead in a CCGT, you're recovering it and then using a steam turbine in order to just um turn a turn a turbine through steam and generating excess power. Uh this is also like how like a a nuclear power plant works. It creates steam and then turns a turbine. So essentially you have this double cycle turbine which is not wasting the heat but instead using it to power a second generator. So I hope this gives some intuition on how a combined cycle gas turbine is more efficient than a simple cycle gas turbine. This is a diagram provided by Seammens. So then the natural question is why the heck wouldn't you just only use a CCGT? There's multiple reasons. So first of all they're more expensive and they're more complicated. there's two parts like there's two principal parts like maintenance and just overall cost is higher but nevertheless it's still like on a very long basis um more cost effective for the amount of power you can produce there's also just the fact that it's more complex so it takes longer to build these and then lastly it serves different roles so what do I mean um you use CC CCGTs often for base load so let's say that you know your data center requires 500 megawatts all the time then you would get a 500 megawatt combined cycle gas turbine to serve that load and always be on. And then let's say that it spikes to 800 megawatts in the daytime. So then what you might want to do is buy a 800 sorry buy a um buy a single cycle gas turbine that is 300 megawws that will serve this peak. And why would you do that? It's because simple cycle gas turbines can actually spin up faster since it's there's less parts. It can reach its peak power output faster. And then also there's a specific trade-off point where because the combined cycle gas turbines are more expensive, you want them to run all the time to amortize their cost. But in fact, if you're only using a generator for some peak power since it's like probably going to be off half of the time, the fact that the simple cycle gas turbine is cheaper means that in the long run, it actually might be a better investment just because it's only being used to serve peaks. So you can see that these are kind of complimentary turbines, but both of these types are just in really scarce quantity right now and have multiple years of leadout time because they're such a good way to turn um energy into sorry to turn natural gas into energy and you can into it the extent to which these are in scarce supply because literally Cummins for example which makes truck engines is turning its truck engines into generators and then also you have like airplane manufacturers airplane engine manufacturers who are now pivoting into data centers. You also have Nebus who made a data center with Microsoft in New Jersey using ship engines. Diesel ship engines are being used to power data center guys. So this is just describing the extent to which they don't really care how you make the the energy as long as you can make it. Um it's it's fine. And the reason why they're going to such im immense um extents to procure energy is because if you compare the bomb the bill of materials of a data center the energy is quite trivial compared to the cost of the GPUs. So if you're like 2% cost becomes 3% which would represent like a 1.5x in the cost in the grand scheme of things it doesn't really matter that much because you're not even paying that much in relation to the GPUs. All this is to say that there's many different ways to get make gener make generate energy and um the the CCGTs are the best but um there are different ways and um since the bill of materials is relatively small for these uh generation schemes it's um it's not that big of a deal if you have to pay a bigger premium on making a diesel engine use your gen create your energy as opposed to some more efficient means. I just want to quickly give you guys an example of like a real CCGT in use. So GE Vernova, once again, General Electric has this complex in Danny Beach, Florida, which um is a CCGT. So in fact, there are two of them. These are the General Electric 7HA.03. What this means is, it doesn't really make sense, but 7 stands for the 60 Hz family. H just means high efficiency, A is aircooled, and then 0.3 is the model version. And so this can produce up to 1.26 26 gawatt across these two CCGTs, meaning that they're probably on average 600 600 megawatts per unit. Um, and this is just an example of what they look like. You can see here the turbine is probably somewhere in there. And then I assume these are radiators, but uh do not quote me on that. And then uh why would you want to use a single cycle gas turbine? Well, I already like motivated this. On the left here you have a fossil fuel based energy system where your base load is served in black and you can assume that this would be a combined cycle gas turbine and then let's assume that you have your peak load um that is essentially peaking on um I guess like probably the evenings on the weekdays and this is increasing such that um you would want to serve this with the the the simple cycle gas turbines as we explained previously. Um on the right, this is kind of unrelated, but it's it's explaining energy system with high per uh penetration of intermittent renewable energy. So for example, you'd have solar, which you can see that these blocks here are all the daytime. Um they're producing they're producing this power during the day and then the wind in in contrast is is producing power kind of constantly but is varying based on the the strength of the wind. And what this means is that if you have a renewable system then the the necessary base load is much smaller uh than it is in a fossil fuel based system. But um it's more interesting anecdote and it's just saying that renewable energy is cool. So when we talk about like speed of actually building these data centers there are three meanings of fast. So first of all there's like the delivery which is like just like the EPC the engineering procurement and construction. how fast can you like get this get the the parts and like equipment on the site. And then there's this there there's a startup. So this means that like if there is a power outage, how fast can you go from stopped to generating? And then there's also ramping. So once you have like actually turned the data center on, how fast can you go to peak output uh and produce your tokens at the peak throughput that the data center advertises? So we'll talk about these in the later sections as well as throughout this chapter. One thing though is I talked about like this break even point between using simple cycle gas turbines as well as combined cycle gas turbines. So if we assume that a simple cycle gas turbine is 40% efficient and a combined cycle is 60% efficient. Then if we look at the uh the fuel cost divided by time then the slope of the combined cycle is is uh is lower because it uses less fuel. And then furthermore we'll assume that the fixed cost of a simple cycle is 8 million per year and the fixed cost of a combined cycle is 60 million per year and that fuel is $20 per megawatt hour. Let's assume also that we're running 100 megawatt generators on both scales. Therefore, the break even point of using a combined cycle gas turbine is 4,800 hours in a year. And in fact, there are around 8,000 hours in a year. So, if we do 24 * 365, we get 8,760. So, essentially, if you're running a generator for more than half of the year, then it's more cost efficient to use a combined cycle. All right. Now, let's talk about Colossus 2. So, if you haven't heard of Colossus 2, this is the co complex that Space XAI is building in the Memphis, Tennessee area, which is actually called South Haven. And the interesting thing here is that Colossus 2 and its power plant sit on opposite sides of the state line. So, Clauses 2 is in Tennessee, which you probably know, but what you might not have known is that they actually built a power plant in Mississippi, which is only like a few a few uh miles south, and it's actually a massive plant. So it's 41 turbines which are 1.2 gawatt and I think now it's actually been put online. So these numbers are from January 2026 but 8 9 months later it's actually in operation. And if I do 1.2 divided by 41 you have I guess 30 megawws per turbine. So these are probably like less less complex probably like diesel or small gas turbines that are being used here. And why why did they have it built in Mississippi? So, first of all, it's a really interesting and smart planning choice by SpaceX AAI to have built this on the state border with the future thought of, okay, if Tennessee ever determines or plans out to be turns out to be kind of less flexible in permitting, then we can always go to Mississippi. And that's what they did because the problem with behind the meter power, which is what they did here, they built their own turbines, is you have to go through EPA, regulation, the environment protective the environmental protective agency in the US. And why do you have to do this? It's because you're actually producing a lot of CO2 emissions when you when you're burning gas, right? So, you can't just like say, "Oh, yeah. I'm going to build like 1.2 gawatt and put like 3,000 tons of CO2 into the air per year." you have to get a permission from or like a permit from the EPA or you can get a 12month temporary permit from Mississippi which is what they actually got um when they built this plant. So that's that's why they went to Mississippi is cuz I guess the county in Mississippi gave them a 12-month temporary permit which I think they've now actually um converted into a permanent permit to operate the the gas plant. And so it's quite an interesting uh setup here with how they managed to get the site on one side of the border and the power plant on another. Just a really interesting um example here. So I already said that twice. Let's now move on to the let's move on to the next slide. And so South Haven, right, which is the which is the plant that they they built in the Tennessee Mississippi area has also planned um compute and battery charging along with their local generation. So if you look at these um July 2025 permits, they have the 41 turbines which we already talked about that get natural gas from some um tap which is somewhere in the in the region. And then they also charge battery packs in order to provide a sort of um buffer whenever there is a lack or surplus of energy to the data center. And this is because they were not connected to the grid at the time. They may or may not be connected to the grid now. So you'd have to search it up. But u in any case, when you're on this behind the meter setup, it is very important and essential to have battery packs to serve as a sort of buffer instead of having the grid which usually serves that role. Another thing that is really interesting and underrated is how XAI overcame supply chain constraints in the in the in the clauses build out. So what do I mean? As we mentioned in the primer or the electricity section, I forget exactly which one. Usually you will produce energy at a gas plant or whatever plant and then step up to high voltage do your high voltage AC transmission and then step down first to medium voltage and then to the local low voltage supply at the campus to distribute the energy. It turned out that there was a shortage of high voltage AC transmission equipment and switch gear which XAI needed in order to build Colossus. And this is still the case today. You have some insane like four-year leadouts for some of these transformer equipments uh that are being used for transforming and distributing electricity. So what they did instead is quite uh it's quite impressive and creative. The XAI and SpaceX engineers just said, "Okay, we're going to skip high voltage and instead we are going to only use medium voltage for the transmission between the gas plant and the local low voltage supply to the campus." And this is from a verified semi-analysis account uh uh from last month in August 2026 of the the way that they overcame this supply chain obstacle. And what this means is that they accepted a lack of efficiency for a faster deployment time. And I believe they actually got this medium voltage feeder and switch gear. So a feeder just to be clear is essentially the infrastructure the conductors that feed electricity from the source to the destination. They they procured these from China and u yeah just like really went above and beyond. This is what Elon Musk is known for saying okay the laws of physics are such and therefore if it does not defy the laws of physics then we will find a way and that's what they did but they did accept the trade-off which is to say the efficiency of transmission would definitely have dropped and if we just talk about an example right let's assume that instead of transmitting energy at 161 kilovolts which would be considered high voltage they instead had to do it at 345 sorry 334.5 kts and if we assume that the plant or actually we don't need to assume like these are real numbers um the the plant colossus has a power requirement of 200 megawatt so that means that they need to transfer 200 megawatts from the plant to campus well this means that the campus AC route trades fewer transformer stages for more current so if we assume that we have a power factor of one which means that we don't need to supply more power than is necessary throughout the lines to reach the destination. Then we need 3,347 amps per line as opposed to 717 amps per line to supply the same amount of power. So this is 4.67 times the current at the lower voltage. But more importantly, it's the current squared to get the increase in resistive heat loss. So this would be somewhere around 20 times more loss to heat. And this is of course assuming that you use the same amount of lines. Like one thing you could do is just use like four four times the amount of lines of conductors. And then in that case you'll just have more metal to pass the the the current through. So there will be less resistive heat loss in that regard. But in any case there is a trade-off that must be made here. And this this formula here is not that important. Um if you guys remember P equals ID is the formula for calculating the current as a sorry for calculating power as a function of current and voltage but that's only for direct current. If you're using alternating current then you need to use this formula which is a bit more sophisticated and in particular uh this is for three-phase AC. So we talked about the different phases of AC based on the phase of alternating current that you're working with the the formula for calculating the current given a specific power will change. Okay. So, I think we have a good idea of like you're trading more current and more heat loss for faster lead times and actually getting the compute online faster. And it turns out that that doesn't really matter in terms of SpaceX making a a boatload of money. So, let's just talk about their disclosed compute fees because they show that the stakes of delivering capacity sooner were very profitable. So, we actually know the exact amount of money that SpaceX is making from their current deals with Anthropic and Google. Uh so you might have heard me names on X that people are talking that people are saying that SpaceX now that they've merged with XAI is actually making more money from their compute as opposed to their space company. So it's more of like a comput company that has like a space side project. Um and this is because they literally are generating $1.25 billion per month from Anthropic. And this is across Colossus one and Colossus 2. These are full fees after their May to June ramp up. So they I think started with a specific compute budget and then Anthropic even raised it to a higher margin since they are desperate for compute. And then for Google they're currently making $920 million per month off of them. And these are from um I guess this this is at least until October 2026 that they've committed to this compute capacity. And what we really need to know here um is that first of all the the the contracts are quite interesting. So both side can can quit and say in the next 90 days after that period of time I'm no longer going to follow this contract but up to now both sides have committed to the contract. And these numbers are like real numbers because in the SpaceX IPO filings they literally reported these numbers because they needed to report their financials since they became public. And if we sum these up we get $2.17 billion per month. And according to semi analysis which uh this is like very reliable source at least on this statement um not for all statements but anyways they did the calculation and it actually making this much money per month pays back the capex for the entire data center in less than a year. So by essentially going through these hula hoops and getting this inefficient medium voltage transmission, they were able to put this compute online faster. And right when there was the compute crunch, they could sell compute to Anthropic and sell compute to Google at a massive premium, which allowed them to uh profit and pay back their capex much faster than um than they normally would if they had to wait to get the high voltage AC installed. And we can actually calculate this much more uh precisely. So one month of earlier service can outweigh a year of extra extra fuel. Let's just put the numbers here. Let's say that um you want 100 megawws delivered 24/7 with 20 megawatt $20 per megawatt hour of fuel. And you're considering simple cycle versus combined cycle where simple cycle costs much more or rather costs $14.6 6 million more per year in fuel because of its efficiency that is less. But here's the thing, you can literally open one month earlier and use simple cycle instead of uh combined cycle as long as the earlier service contribution. So as to say like fees less all other surface costs from going online one month earlier is greater than $14.6 million plus the faster build costs. So, in the case of these contracts which are in the billions of dollars, if you're only talking about like a $14.6 million difference in like fuel consumption, and then also don't forget to add the fact that your electricity transmission is less efficient, you're still not going to be reaching a billion dollars, which is just proving the point that you can make a lot of money by being inefficient in data centers right now. So here we're going to do a quick interlude to talk about what a place in a interconnect Q actually buys. So I've mentioned this already perhaps in the course, but the interconnect Q is essentially the line you need to wait in in order to get access to utility power. And the two systems I'm going to talk about are URKT, the Energy Reliability Council of Texas, and PJM, which is the largest regional transmission organization in the US and I think in North America. PGM just stands for Pennsylvania, Jersey, Maryland, if I'm not mistaken, since those are three of the states which originally constituted the interconnect, but now it's actually 13 US states plus Washington DC, whereas Urkott, as the name suggests, is Texas primarily, but also bleeds into a few other state borders if I'm not mistaken. So, these are the two main energy utility consortiums that we want to be interested in when we're talking about the US. mainly because in Texas you just have a lot of oil and data centers being premium and then PGM it's just the biggest one overall. So first of all buying GPUs does not get them powered. I think we can both agree on this. If you have a bunch of racks that are not plugged in then you're not going to get anything done. In fact in a podcast last year Satya Nandella is quoted as saying that he had a bunch of chips sitting in inventory that cannot be plugged in. So we need to realize that power is definitely a bottleneck in many circumstances and therefore you need to plan for power to get online when the chips arrive. Let's look specifically at a sec at Uricott's data center que. So so if we look at the queue, it's split up into three pieces, but overall there are still 474.7 gawatt that have no approved study. And what this graph is actually is the large load requests since 2022 by status as of June 2026. Okay. And overall we can see first of all that 5.2 g 5.9 gawatt are actually operating and this is the very small black margin here. But worth noting here is that it's actually the peak that they added. So since 2022 there have been 5. 5.9 GW of data center. or not rather data center but just large load requests put online and a large load request means typically 75 megawatts or more of capacity. So of all of the 474.7 5.9 have been online but this is only counting the peak output. It's not actually the average operating energy draw. And then there's 284.3 GW which have no study submitted to or essentially how it works is that a study needs to be submitted on behalf of the utility in order to determine like whether or not this demand is legitimate and what new infrastructure needs to be built to serve it. Okay, so that's the that's the yellow. Then the blue is there are 135.5 gawatt with the study steady under review. And then five 55 gawatt which is the green is the amount that have a steady approved or further. So you can see it's like almost a power law where the the smaller and smaller pieces is actually the further in the process you are. And most people are just in this gray zone or rather yellow zone where there's no study submitted to OT yet. And why is that the case? Let's explain it with this simple example. So let's assume that you want to build a 1 gawatt data center and you have three sites that you're considering for your campus. Well, it turns out that you need to have a separate study for each site because of course if you want to build a data center on one side of Texas versus the other, that will determine to a great extent whether you need more or less infrastructure built to support that gigawatt. And so what they do is you submit these three requests for the site since as we'll mention the cost to join the queue is not immense and then once that's done you can simply choose your site and just forget about the other two uh campus proposals just um essentially remove those requests from the queue. So the problem here though is that the utility companies are not perhaps aware of what's actually going on with these requests. A new Texas law, if I'm not mistaken, now makes it such that they need to be transparent about any redundant requests they have such that the entire system knows like, okay, this company is actually only going to build 1 gawatt even though they have 3 gawatt of requests. So, this is something that is happening as we speak in terms of a regulation change, but up to now it was definitely a big problem. And let's look at this semi analysis graph to understand this better. This is also from June of this year where they say tracked data center projects back only 13% of Urkott's 357 gawatt data center cute. And so here what they're saying is that there are 45.4 GW of real compute. So this is essentially projects that semi analysis can track because there's a physical site. There's actually boots on the ground. Whereas the other 311 gawatt is just phantom data centers. This green part here is uh less interesting. It's crypto H2 I guess hydrogen I'm not sure what H2 actually stands for and industrial. So we can see that we almost have a 1:10 ratio of real to phantom uh data center demand and this can be uh very concerning when you think about people who are claiming this is a indicator of a bubble situation. So how can we resolve this? So there's some new reforms that will be implemented soon but not yet. So from October 8th, 2026, these new laws will take form. And what are we talking about? So a large load request in UROT now has a security for every megawatt. So before this came in, there was no Urkotwide amount in terms of putting its sort of deposit on booking compute or uh booking energy and each utility sets its own study charges and security. But now there is going to be these amounts that OT requires where first of all there's a $100,000 deposit for a study fee and then there's $50,000 required for every single megawatt that you request if it's a 75 megawatt or more request. So that would be a large load. And so if you imagine a 1 gawatt request now requires a $50 million security amount. The one thing that is worth noting though is that there is still relatively lenient rules where as long as the project isn't too far advanced. If you pay this security deposit, you can still get it refunded or at least get most of it refunded. So don't think of this as like a silver bullet that's going to solve this phantom queue. It definitely will help. I hope. But it's actually not even implemented yet. So maybe what's going to happen is that right before October 8th, so right now it's September and leading into October, you'll just have a bunch of people making these massive Q requests because they know there's going to be no more uh because they know that there's no deposit required. And then after this date, maybe the amount of requests in the queue will massively shrink. I'm not sure, but hopefully this can resolve what we see in this chart. And let's just shift our focus now quickly to PGM interconnect. And the thing is since it's such a wide zone, this is the zone that is um encompassed by PGM. Let's talk about Dominion, which is one of the 21 utilities inside of PGM. So their full name is Dominion Energy Virginia and it's the main utility in this zone, the purple one. And data centers signed their utility energy procurement with Dominion, not PJM. And since there's no PGMwide data center aggregator, we'll look specifically at Dominion's contracts which far exceed what their current data centers draw. So setting up the stage right now at the 2025 peak, there was 4 GW, sorry, drawn by Dominion's data centers. And now looking at the Q, first of all, if we just look at July 2026, there are 32.4 GW of engineering studies, which means that it's paid for by the customer to actually do the study. But we're talking in the orders of like $100,000, right? If you guys remember this slide, probably it's in the range of uh six figures, which for these hyperscalers is not that much money. And then there's no obligation to build as well. So you don't actually have to build a data center. You're just doing a study. Then we have the construction authorized where there's 9.4 GB of that gigawatt of that. And in this case, the customer repays spent costs if it leaves but doesn't have to pay for the cost it hasn't spent. And then there's 12 gawatt of a service agreement. In this case, it's a binding contract where the customer pays whether or not it takes the service. So we have these numbers here compared to just 4 GW of data center consumption. And you can see from July 2023 over 3 years how this has jumped from 16.5 gawatt to 53. So that's a greater than 3x increase in this queue of engineering studies, contract, construction, authorization, and service agreements. So the real thing that we're really wondering here is how many of these 53.8 GW will actually convert to four because currently the ratio once again is almost at a 1 to4 basis of deployed compute versus cute compute. And just to look at an OOTT forecast what does this title say? It says the 2025 OT adjusted load forecast breakdown by type. And the only thing we're actually interested in this in this graph is the category which is gray the data centers. And so here you can see that after adjustments, data center load remains the largest growth by type where you can see gray becoming a much more large piece of the pie. And here we're going from 2025 to 2031. This is the OOT forecast though and they're not really AGI pill. So I would imagine that this amount here is for 2031 pretty conservative compared to what others would be forecasting. So just keep that in mind. Moving on. Now these interconnect cues are of course very long and because of that we have BTM coming in instead to supply power behind the meter and this means that a campus can grow while its grid import stays limited. So let's assume that you have a pre-existing site that has 100 megawatts of power that you can import and use without any generators. This means that you can only supply 100 megawatts worth of compute. Well, instead of just going out and trying to get more power from the grid, which might be under extreme load and these massive cues, you can instead just bring in your own generators. And let's let's say that you found two generators each worth 500 megawatt of power production. In this case, you can still scale up to your gigawatt scale and have actually whatever your grid limit is as a sort of backup. Um and this is what a lot of hyperscalers are doing currently. In fact, from 2028, semi analysis expects most new data center capacity to need its own power to be essentially powered by behind the meter. So here you can see blue is behind the meter, orange is available grid capacity and green is new grid supply. And so in this chart we have the present state where most everything is just available grid capacity since that's the present status quo. And just look at this grow immensely according to their uh projections from 14.8 in gigawatts. I think here the title is mislabeled. It should probably be gigawatt since even here they mentioned that it will grow beyond 50 gawatt by 2028. So we go from 14.8 in 2027 to what is what they're projecting to 65.7 which is a more than quadrupling in the amount of behind the meter infrastructure. And just once again, if anybody has an investing thesis regarding behind the meter and its progression in the future, then you can see that if you were to believe this chart, there'll be a massive increase in investment in behind the meter supply. Okay, so that closes off our chapter. Now, we're going to talk about carrying the supply arrangement into the physical site design. And um this will be specifically focusing on like the different phases of construction connection routes and operating states. All right, let's jump right into chapter 5. At a high level, we're going to be talking about how to turn a parcel of land into a place you can build, operate, and repair a data center. So with the parcel, we're talking about the land itself, connections, so fiber, power, gas potentially. We already talked about that a bit. uh the building itself and then the equipment. So the first concept that I want to introduce here is green field versus brown field. What am I talking about? If you haven't heard this term before, it just means green field being a development which is on a green field. So like you're building everything from scratch. And then brown field means like it's some existing infrastructure. So it could be like the building is there or maybe like the ground already has a foundation. It's a pretty flexible term, but in the in regards to this example here, so you'll see if I move back up here, we have Abalene, the Stargate campus in Texas, which was a purpose-built layout and was a green field ostensibly before they started building. And then Colossus 1, which was a former Electrolux factory, and it already had an existing shell as well as utility mains and some power, only 8 megawatts, though. So they had to build a lot of power. What is Electrolux you might ask? It's actually a it's actually a appliance manufacturer from Sweden. So in this inside of this data center they used to make like washing machines which is kind of funny. And um what the advantage here is that Colossus 1, they already had the envelope. They didn't need to build a building and also the utilities were there apart from needing to add more electricity. So it just allows you to be much faster but then also less flexible because probably a washing machine factory is not built tailor made for for hosting H100s. But um there there's pros and cons. So at a high level Abene is a green field development and then Colossus is a brown field and I I I enumerated a few pros and cons but you can also find many more. I encourage you to comment any that are quite compelling to you if you have any that you've came up with. Okay. So when we jump our attention right to Colossus one, it right like I said had the utility mains but needed more grid capacity. So they needed 150 megawatts. So the substation actually only could serve for 8 megawatts initially. They had to add 842 megaww. And what this meant is that um whereas the existing water man and gas man were kept, they had to add a new gas tap was which was 8 in in diameter. I suppose since the 16-in gas man was insufficient for their electricity generating needs and if you guys remember they expanded their generation to 41 turbines and 1.2 gawatt if I'm not mistaken, something like that. Uh so yeah, they needed to just bring in more gas, but there was already some latent infrastructure there. And an even more crazy example here about actually a green field development, a green field development, which is just absolutely mind-blowing is Meta who have this Prometheus plant in New Albony, Ohio. And a year ago, uh they published this image where essentially they were building a data center under a waterproof tent. I'm not even joking. It's like a lightweight frame and fabric. So, the frame is aluminum and then it's some puncturep proof fabric that they're using. And it's worth noting this is all temporary. So, this is all being built while they have the the main structure somewhere else. Uh so, essentially what they would do is have this as a temporary setup and then whenever the the permanent structure is built, probably just like destroy these and then move the GPUs to the other one. And like this is much more expensive than just building it once and then putting it in the original envelope, but it's much faster to put up tents cuz these tents can be put up on the order of weeks or months if I'm not mistaken. And if we remember, as soon as you can put compute online, you're making billions of dollars and this is probably costing you millions of dollars to like wreck these tents and stuff. So for them, it makes sense uh because you get the fast enclosure. Regarding the Prometheus tents, these are publicly stated as temporary. However, that may just mean they'll be used temporarily, but in the future when they make the new data centers, they'll still keep those tents. So, I may have misinterpreted the meta news here. In any case, they haven't reached the stage where they would have to tear them down. And then in terms of foundations, power and cooling, it's probably much less important and connecting and commissioning it is much faster. So this is an interesting and very like just out of the box way of putting compute on as fast as possible. And I'm emphasizing this so many times, but it's really important to realize like these alternative methods are only occurring and possible because of the premium cost that occurs by adding incremental compute to the supply since the demand is so great. Okay, let's just talk about utility corridors quickly. So, when you have a site that you're evaluating for construction, you first need to see, okay, is the building pad like suitable for the building we want. You don't want to build your data center over a swamp in Louisiana. And that's actually relevant because quite a few data centers are being built in Louisiana. So, you want to make sure that's not the case. Then there's also utility ement. So utility easement is just like a part of private land which utilities have some right to in order to pass their utilities. So in the context of a data center you would want a utility easement nearby so that you can procure power or water irrigation etc. And then drainage. So why why am I talking about drainage? is most of these power plants are actually closed loop liquid cooled which means that there's no like net water that needs to be added to the system once it's initially filled. The reason for this is just like if it rains a lot well you need to make sure that the building envelope can be secured that there's no like water erosion or flooding occurring because as we'll discuss when Hurricane Harvey occurred in Houston there were quite a few data centers which which had to deal with a lot of water. So uh I'll save the spoiler for a few slides. I won't spoil it because we're going to be talking in a few slides. But these are like at a high level three concerns in terms of the land parcel itself when a data center is being built. And then when we talk about Texas, which is where most data centers in the US are being built, there's an interesting law um and what is it? So essentially buying Texas land may leave mineral lights with another owner. What I mean is that in Texas, there's a split estate, which is to say that there's a surface owner and there's a mineral owner. And in fact, the mineral owner retains rights to use the surface. This is an insane property use law that I had not known about until I like researched it. But essentially, given the background of Texas's resourcerich history, they have specifically established like leases to land only for the mineral rights. And this makes it such that you could very well own the land on a property, but if somebody else owns a mineral lease, then they can just come to your land without your permission at any time of the day, any time of the year, and start drilling for oil. Uh there are a few exceptions here where like they can't like destroy your building if it's already there. But um it's still a very important consideration to be made and even more so because as I mentioned most data centers in the US are being built in Texas. So this great graph from semi analysis says that Texas holds about 17 gigabytes of booked on-site generation. Also worth noting that another 29 gigabytes of gaw of orders have not been chosen yet in terms of site. So there's like 29 gawatts that are unattributed. It's probably the case that a lot of these um sites will be attributed to Texas, but who knows? And then second place is Pennsylvania, as I mentioned, because there's a lot of gas there as well. But in any case, because there's so many data centers being attributed there, you need to make sure that you have the mineral lease as well in addition to the surface uh use rights to the land that you're building your data center on. And in fact, um, there's this Odessa New Era data center which is going to be on the order of like a gigawatt that is on 493 acres of land that's been secured, but as of October 14, 2026 is still pending because there's this waiver on the mineral rights or some surface rights. So this demonstrates that this is not just like some trivial fringe law. Like if you're building a data center center, if you're building a data center in Texas, you better be sure that you have the mineral rights as well as the uh surface rights or that the contract specifies that there can be no gas or oil excavation activities where the data center is being built. In contrast, there's also just parts of Texas where there is no oil. So there's this main like uh plane in Texas where most of the natural resources are. So I would imagine I haven't done research into this. I would imagine that a lot of the data centers in Texas are being built outside of this oil region because it's easier to secure the rights of the mineral and property use. Okay, let's talk about another brownfield uh development which is happening in London in the UK as another case study. So it's called the ADA or ADA is the company that's building a new data center in the Royal docks of East London. And so this new campus has three planned buildings and it's on old industrial ground. So essentially what they're doing is they need to support it because this former industrial ground is on soft river deposits and require up to 6 m of like these fill piles to to reinforce the foundation. So these deep piles are cast in the ground to make sure that the data center won't sink I guess. And just with respect to the external areas and utilities, there have been around 6,000 ground improvement columns installed. And um it's just another example of based on the land where you're building the data center, there need to be case specific accommodations made to ensure the integrity of the site. And another case where we had integrity in question was the Houston case. So once again, Hurricane Harvey was 2017 in particular in August from the 25th to the 30th. Uh there was massive flash flooding in Houston and throughout the entire East Coast, I believe. And what happened is that Equinox, Equinex, which is a massive data center provider, these aren't particularly like GPU data centers, just like normal data centers, um they had their HO1 plant in Houston, which stayed online despite actually the flooding blocking access to the data center itself. So what happened is that the data center was staffed and operated during the flood and there was no interruptions even though the roads were closed to the surrounding streets. And how they did this is because these data centers, funnily enough, are like made or at least the ones with a sufficiently high need to be always online are made with like CS, so like dorms where you can sleep with enough food and supplies to last for some amount of time. And the team literally stayed there for days, like sleeping there, living there. And according to the personal accounts, they were literally pumping out water from the data center to keep the the power on. And I assume that they they used on-site generation to power the data center because most likely the power infrastructure during hurricane Harvey was also compromised, but I'm not entirely sure. And then another interesting example is QTS Swani, which I believe is in like Georgia. It's somewhere in the US. And what happened here is that the campus plan here is on the left. And they had to bring in the fiber optic in order to like connect their data center to the rest of the internet. And what's done in this case is that they had three uh interconnects that or rather three fiber connections to the data center. And just in order to have a design which is redundant, they made the three entrances from approach from different directions as opposed to having a shared entry which could have like one point of failure. And this is just another example of ways that data centers provide redundancy in the case of like I don't know maybe somebody drills a hole here and didn't realize there's fiber. If that happens then there's still two ways to communicate with the rest of the internet. Let's now talk about the cooling considerations that you need when you're talking about local climate and water supply. So in Texas and in many places in the US there are drought conditions. So you cannot use what you call cooling towers. So what are cooling towers? It's a tower which essentially circulates water around uh circularly in some circumstances and essentially causes the water some of the water to evaporate. And what happens when water evaporates is there's this phase change from liquid to gas which leads to a massive amount of energy being released and essentially the the remaining cooling the remaining water will be cooled as opposed to the because essentially you have energy exiting when you're evaporating into uh liquid vapor. And so this is a really efficient way to cool water. But the problem is it's very water intensive. It it leads to water evaporation. So you need a constant flow. You need a constant flow of water in order to uh allow for this type of cooling tower. So this is being done with cloth one because I suppose in the Tennessee Mississippi area there is a relative abundance of water. But um you should also realize that they also have air cooled chillers. So what are air cooled chillers? It's air cooled but this doesn't mean that there's water going to the air. It just means that you have water going around passively uh and essentially just convecting or conducting. I forget which of the terms is the correct one, but essentially it's releasing heat into the atmosphere. Um, but it's a closed loop. There's no actually evaporation going on. So whereas heat is just rejected to outdoor air in Abalene, Texas where there definitely is a shortage of water and they cannot afford to use air cooled chillers in um the Colossus one, you need to have some sort of makeup water. And that's why in the previous slide we saw they had like a 16in water man. So they can probably have access to quite a lot of water in order to replenish their supply. And this is also why you hear a lot of rhetoric of people saying, "Yeah, man. The data centers, they're using all the water. They're they're they're using all the water." That's what you hear people saying. And if you actually use air cooled chillers, that's like patently false. The only thing that is required is to fill up the initial water supply, which is like still a lot of water. We're talking like I think millions of gallons. But if you amortize if you amortize that across the entire lifespan, then it's like extremely negligent for the data center's water use. And another interesting fact is that 80% of American water use is agriculture. So the data centers are not using all the water even though there are other valid arguments against data centers like water is like relatively weak. The one caveat to that if I may add is that power generation can use a lot of water because if you're using like a steam turbine you have it you're essentially evaporating water into the air. Um but so if you're using a lot of like evaporative water generation then you can have like a down or sorry an upstream water use effect but still if we compare it to agriculture use it's very minimal. Okay. Another interesting uh case study here that I want to make is Rogers which is a Canadian telecommunication company which have a data center um I think it it's at their offices and that it uses these chillers to cool the the units and these are actually opposite residencies. So I think these are residency like these are residential buildings and or rather I I think like the residential buildings are facing us cuz the walls are here. So to to to put the short to get to the point, they have 16 sections which are essentially walls that um se separate the chillers from the residential area and this interrupts the direct sound path while the open top still allows air to flow upwards and cool the cool the data center. So this is another consideration like if you're building a data center nearby residential areas then the nimbies which is like completely valid like you don't want these massive fans like disturbing you all the time they will tell you that yeah you need to you need to block and enclose your coolers and your chillers so that um they don't always like propagate this massive noise just like how you have highways blocked off with these sound insulation panels right if we now go inside the data center I also mentioned at the very into the course that a GB300 NDL72 rack is on the order of 1.5 tons, metric tons to be more precise. And this is a Lenovo rack. So, one thing about um these Blackwell uh racks, these NVL72 racks, is that there's multiple different OEMs or rather manu manufacturers which make them. So, Dell makes a lot of these racks. Lenovo does too. I suppose Nvidia has their own like proprietary version. But um in any case, since these are actually quite heavy, like moving the rack and replacing a tray requires separate handling plans and you need to like plan for this. You can't just like consider this an afterthought. And the computer trays themselves even are 29 kg. And what this means is that you need to serve the service them with a material lift. So if I just quickly select quick quickly skip one side, that's a teaser of what these look like. Um but also just want to mention so these racks are quite interesting. You can see that on the outside you have the water input and output and then um the bus bar clip which is where the energy comes through and then I suppose that these four um these four pins here or input clicks or whatever you want to call them that's where you actually have the data flowing in and up. Uh now if we just clip skip ahead you need to reserve space for the tray lift and the technician. So let's say that one of the GPUs in a rack goes offline. Well you need to service it. you need to take out the rack and put in a new one while you fix or do an RMA. So, what is RMA? It stands for return merchandise authorization. This is just to say that like Nvidia has these contracts with the people who buy their GPUs where if a specific quantity are like fail or something happens to them like with within some period of time, they will replace them for you. So, if you're doing an RMA on a GPU, you need to make sure that you have the lift and the the methods to uh to actually get it out because you don't want to like hand manually uh insert and and take out a 29 kg rack, which probably costs like a lot of money. Uh I I don't know what the the rack cost is, but I know that the the racks themselves are on the order of hundreds of thousands of dollars. So, I mean, I don't know what the tray cost is, but the as I said, the rack cost is in the hundreds of thousands. Okay. So that was talking about the the trays with the compute but there's also the power trays. So as I talked about previously uh we have these PSUs. So in one tray you have six 5.5 kW hot swap PSU models. So let's just uh decompose this. So 5.5 kW is the power rating of each power supply unit which converts AC to to DC. And then hot swap just means that you can take one out and put one back in without powering down or deenergizing or isolating that specific uh that specific rack. And this is really useful because time is money and tokens per watt is how you make money. So if you have to turn off the freaking rack every time you want to replace a PSU, which probably go down every now and then, then uh that will be costly. But that's not the case. So essentially what's done is you replace one while the remaining qualified supplies carry the load. But then if you're replacing a compute tray the if you're and you're dealing with the Lenovo rack then Lenovo requires the tray to be powered off before removal which makes quite some sense right if you're lying taking off the rack physically then you probably want to power it off or else uh bad things could probably happen. Another like kind of trivial consideration but so important is like you need to make sure the replacement route can fit the equipment through every turn. like some of this equipment is heavy and can be wide. So when you're building a data center, just make sure that it can fit. And then also if you're dealing with 1.5 ton data centers or rather racks, sorry, you need to make sure that the floor supports the load wherever it travels. So have supports where it's actually installed. And then the moving equipment, make sure that it uh doesn't cause cracks in the ground when it's moving. Right now, let's do like one final knowledge check or just like make sure that we're on the same page before we end this chapter. Let's say that you have one data hall A which is live and hall B is being constructed but uh the engineers didn't really think think it through and the fiber actually goes through both the road and sorry the fiber goes through where they want to build the hall be and the road does too. So this is kind of a simple question, but what must move before digging starts? And I think you know the answer. So the road needs to move and so does the fiber. So what you would do in this case is build the new road and the fiber, test and switch them and then start the excavation as opposed to excavating and then realizing, oh crap, we just cut off the fiber from hall A and now we're losing like a million dollars a day from uh opportunity cost of loss revenue. So um just once again another consideration to be made. This may seem trivial, but like if you consider the previous example of the meta Prometheus tents that are being built, you have a lot of like build something temporarily and then destroy it and then put it in the permanent one and a lot of like this reconfiguration. In fact, another crazy example is Meta was building these data centers somewhere in the US with a specific design and then during that design process, they had switched to like a more advanced design and once again I forget the details of this but the short of the short of the story is that while the data center was being built, they switched their main design and because of that they demolished like a half-built data center and started it again from scratch to uh to build it with like the new spec. effects because for them it was worth it. The article on this is on semi- analysis. So if you just ask CHBT roughly what I said, you'll definitely find more information if you're interested. But once again, like these considerations, even though they sound trivial, they definitely come up in uh in real in real life. All right, guys. So in editing, I found the article and here's what it says. For example, Meta demolished an entire building under construction because it was their old data center design with low power density which they have used for many years. Instead, they replace it with their brand new AI ready design. Most data center designs are not ready for GB200 and Meta in particular has by far the lowest power density in their data centers compared to the other hyperscalers. And here are the images which are the evidence themselves. So in November they were building it into January, demolished it in May and said, "Yeah, we're restarting." And that's the new data center. So really incredible the the econom uh the economies of scale here that we're talking about, right? So this is one of my favorite chapters of the course where we're going to test we're we're going to discuss power and specifically follow power from the campus connection to a working rack. Uh so essentially you have the high voltage DC that comes in the substation goes to the transformer goes to these busways which is once again like electron highway and they're just called the row bus way cuz it's in rows and then uh you have the rack here which actually accepts the energy in order to power the GPUs. So that's a very uh primitive and like crude explanation. So we'll go into much more detail throughout the course or throughout this chapter rather. But let's still like look at a high level image just a bit more with a bit more granularity here. So let's trace a load from high voltage AC to the actual rack. So in Abalene at the Stargate campus their second phase of expansion is actually importing high voltage AC at 345 kovts or 340,000 volts in alternating current. And then um first of all at the substation you're going to have a step down transformer which goes from 345 kV to 34.5 KV. So a 10:1 voltage step down. And then you'll have medium voltage switch gear which does essentially switching. What does switching mean? First of all, you're going to protect the electricity. So you'll have like a bunch of circuits and breakers to handle like any surge events or any current/voltage irregularities. And then also you're going to divert the current to multiple feeders such that each hall gets its own independent electricity feeder. So once you've reached the data hall, you'll transform once again from medium voltage to low voltage. In this example, we're going from 345 kovts to 480 volt AC. And then once it reaches the building bus, we will feed each of these uh 480 volt AC lines to the rows which will then go to the racks or the trays. And this will in turn make the GPUs go burr. Uh so there you go. And then don't forget the cooling pumps. The cooling pumps also run on the same 400 volt AC uh network. So those also need to be powered in order to make sure that the GPUs don't go burr and burn. Uh and then also if you're having an expansion which happens right because as we mentioned a lot of these data centers are being built in phase. So you'll have the first phase 50 megawatts go online and then you have the second phase to get 100 megawatts in total. If that's the case then you'll have like these future feeders which just remain open which is to say the current does not flow. Um but it will eventually be connected once the future hall is complete. Right? So now let's zoom into one specific part. Let's zoom into the medium voltage switch gear. Let's do it. So, let's look at a Seaman's NX Airs switch gear, which is a medium voltage switch gear. In fact, if you look here, it's up to 12 kilovolts. And if you guys have seen a pattern here, Semens actually builds a lot of the infra for these data centers, which is interesting to note. And just at a high level, we have a low voltage control compartment, which is just for like controlling the switch gear. This is what like the electricians and the technicians will use. Then we have the bus bars which is for the medium voltage AC to actually pass electricity. And then we have a vacuum circuit breaker. So this is for breaking the current if there is some current event which some surge event which requires the current to stop. Then you also have a connection to earth. And then you have the feeder connections to actually split off to the different streams. So this is what it looks like instead of the cross-section of one type of switch gear. And this is for example the type of stuff which is really in high demand and in scarcity because you need this in order to build the data centers. For example, Cruso they're actually building a factory or this factory in Tesla Tulsa Oklahoma just went online this month like a few days ago where they're building switch gear themselves. And this is probably because they can't find it from other sources or rather the other sources are having really large lead times. So they're trying to build it themselves in order to build data centers faster because that's probably one of the biggest bottlenecks for them. Right now let's follow the three-phase connection. So let's quickly zoom in on that one. So just jumping back really quickly. Right. In this engineering diagram, you just have a single line which kind of hides what's going on at a at a low level. So the single line diagram is demonstrating this three-phase 480 volt AC current as just one circuit and it's sending it to the power power distribution unit which is one of the ways that we split electricity into and send it to the different racks. Whereas like if we look at this on the physical conductor level, sorry, you have three lines which have the three different phases of AC which if we recall from the primer are each 120° uh apart. And actually if you forget the primer, don't worry, we're going to talk about that once again in the next slide. And then you have neutral which is also used to complete the circuit. And then you have protective earth which is just used to ground. And just as a reminder, right, when you have a when you have a circuit, you need to pass it through two conductors to have the electricity flow. So if you pass it through two of the energized phases, you'll get a 480 volt potential difference across those two phases. So between any of these three lines and then if you have the current connected between any of these energized AC lines and the neutral, then the phase to neutral voltage is 277 volts. And so this is just one of the properties of three-phase AC. Then let's talk about once again the fact that three balanced phases fill the power dips of a single phase. So let's say that we have a 100 kilowatt average at the load with three-phase AC we can serve 100 kilowatt total 100 kilowatts total at every instant. And let's like let's go through this and see what happens. So first of all, let's assume that we just have 60 Hz AC and that um we're feeding this power over time where on this plot you have current in each phase. And then on this plot you have the three phases power. So this would be the P uh equals IV. But I just realized it's not technically P equals IV because that would be for direct direct current. you see it's using the more sophisticated formula which um includes this the the square root the square not the yeah the square root three term as well as the RMS uh which stands for the root mean squared which is used in order to calculate the power for AC once again we don't really need to understand the fundamental equation here we just need to know that with 350C you have this constant power band um which is supplying varying levels of current per conductor um but altogether is supplying at any given point 100 kW. Interestingly enough though, if you add the currents because um they're alternating like the instantaneous current across all three phases is is zero. But because of the fact that we have these three phases that are shifted by 120°, we're able to get this 100 kowatt um constant power band. And this is assuming the power factor is equal to one just once again and that each load is is essentially providing the same amount of energy. So we have a balanced load here on 480 volt 3phase and this allows us to have a good amount of energy output in particular 100 kow total at every instant from the AC source to the load. Okay. And here let's quickly just discuss a misconception that some may have including me. So that's why I included it that's why I include this slide. So 480 volts is the voltage between two live phase conductors. Um one thing that I was thinking is like okay you have 480 volts here and 480 volts here. So when you connect them shouldn't you get 960 volts? Well first of all that's kind of mal formulated because voltage at a single point is not even defined. Voltage is essentially this potential difference between two different conductors. And let's just go into this section where I say why not 960 volts? Well 48 volt is an RMS magnitude. It's not actually a fixed 400 vol 48 480 volt um amount. And this is because once again, if you like actually sum up the voltages of three-phase AC at any given time, you get zero volts because they're purposely like shifted by 120 120° each to have like this net 0 volt uh average. But then if you take the RMS magnitude then you will get a positive uh average voltage and this should give you 480. And just once again if you're interested in the specifics of this then you should probably do a course on electrical engineering because that's not my field of expertise and also there's just a lot of depth and richness into how AC current works in the different phases. But we just need to know that off if you're on a lineto- line uh voltage reading on 480 volt AC which is three-phase then you'll get a reading of 480 volts but if you're on the phase to neutral you get 277 volts. Okay. Now let's talk a bit about like how we manage the electricity infrastructure. So we have a protection relay which detects any faults and then tells the breaker to interrupt the current if that happens. So this blue line is our is our conductor our supply which is giving electricity from the supply to the load and we usually have a current transformer in series on the supply. What does it do? It scales the current and then um essentially like samples it. So you can think of it as like a sample of the current reading to see if there's ever a surge in current. And then the protection relay if it sees that will go ahead and trip the circuit breaker. And then once the circuit breaker receives the trip it will fault that feeder and then open the circuit such that uh there's no like energy being fed to that downstream appliance which would be outside of its current uh input range. because you're usually dealing with really expensive equipment and you don't want to have anything bad happening in terms of like shorting or just like burning the internals of your equipment due like a a current surge. And then conversely for voltage what you have is usually called a current transformer or a capac sorry a voltage transformer or a capacitor voltage trans sorry a capacitor voltage transformer. Both of these just sample the voltage and scale it in order to get a proper reading. And these are usually in parallel or they're yeah they're always in parallel the the voltage transformers or the capacitor voltage transformers which read once again the voltage and then the protection relay will detect if there is need to to trip. For example, if a lightning uh strike hits the the the current, the conductor, sorry. That would be a case where the voltage would spike and you would perhaps want to open the circuit in order to prevent any bad things from happening with your downstream equipment. And then we talked about the circuit breaker which can open and close automatically, but then there's also a disconnect which literally causes an air gap. So the difference between a circuit circuit breaker and and a and a disconnect is that a disconnect is literally like usually like motor powered and just like separates the current with air so that there is like no way for the current to pass unless there's an arc but you usually control for that and then circuit breaker is usually some like m like some mechanism where perhaps the I actually don't know how most circuit breakers work but you can just imagine as like a disconnect is a more robust way to isolate a section of the u the circuit from its supply. So in this case we're isolating the transformer from its supply as well as the downstream data hall. And another thing that's interesting is a surge artor. So what is a serger artor? Well, it protects transformer insulation from over voltage. What does what does this mean? It's literally a path to earth which normally conducts extremely little. So you can think of it as in in normal operating conditions this serger artor is conducting on the order of like 100 watts of electricity to the ground. And in the grand scheme of things that's like really nothing. And however if there is a massive voltage increase on the line all of a sudden this sergetor becomes an amazing conductor. These are usually like zinc oxide um zinc oxide serger arresttors if I'm not mistaken. and it will cause a massive current to go down into the earth in order to protect the transformer. But importantly, it will not like send all of the current down. It will only send enough current down into the earth such that the amount that's on the conductor remains in standard uh operating conditions. And this means that even if a voltage h sorry a lightning bolt hits the line, thanks to the serger arresttor, you should still be able to run the the the distribution system without problems. And so once again, you have this really strange step-wise function where normally there's like no conductance um high resistance and then as soon as voltage spikes a lot, the serger arresttor will route current to the ground. And the last thing that I want to mention here is that usually put them right before the transformer and not like right before the supply or right before the circuit breaker because you want this to be as close to the transformer as possible. Like let's say that the serger artor was here before the circuit breaker. Well, in the off chance that like a lightning bolt strike right here, then it would reach the transformer before the serger artor and could still like just ruin the transformer due to the high voltage spike. Right now let's jump jump jump to a different topic here and talk about a bit of code design. So we'll talk about Compass which is a data center uh manufacturer or like they procured and construct data centers and Seammens which we've already talked about who designed the equipment and they made a switch gear and transformer into one package. So what am I talking about? On one factory-built skid, they incorporated medium voltage switch gear which does switching and protection of the conductor and the current with a transformer which which steps down or up the voltage. In this case, probably steps down from medium voltage to low voltage. And here's a picture of it. So, Seammens built the switch gear and transformer skids for compass data centers. This type of code design was used in order to modularize their construction. And what you have at the end of the day is a custom factory built skid with MB switch gear plus transformer and it was co-developed. So there's an interesting case study of how you can combine two parts into one in order to modularize and make your factories more uh modular essentially. Sure. So we've already discussed kind of the the pros and cons of having high current in terms of heat loss. And in general, the lesson that we've take away from this is that you want to put the high current route close to the hall. So let's consider these two options where you step down at the campus entrance and you go immediately from medium voltage to low voltage and then you have to transfer 2 megawatt at 2,46 amps, which is insane for heat loss. That's why the lines are blue. And instead if you step down beside the hull then there's much more there's much less sorry loss to heat and much more efficiency. In this case we're assuming 2 megawatts with a power factor of one and threephase uh three-phase AC. So just the high level overview is like you don't want to have too much transmission happening at low voltage if you can help it. Of course this bottom picture is kind of what SpaceX did, right? They did quite a bit of medium voltage transmission, but that was worth it for them since they were able to put their compute online much sooner. First of all, I misspoke earlier calling the top line blue instead of red. And second of all, the SpaceX example is somewhat contrived in this sense because we're talking about different distribution schemes. The lesson here is that medium voltage inside of the campus is better than lower voltage. So high voltage is the best for power efficiency and then once you're in the the campus then you switch down to medium voltage and you want to keep the low voltage in order sorry within the data hall as much as possible. Right now let's just uh quickly talk about something that is important for transformers. So transformers work essentially by having these coils which tune the ratio of how much you will step down or up in voltage. So let's say that you have a transformer with 80 turns of coil on the input and 20 turns on the output. Then you have this like 4:1 ratio such that 480 volts coming in would would step down to 120 volts. And then this means that even if you supply 504 volts, it will step still step down by a quarter. It won't it won't go to 120 because the transformer doesn't really care what the input voltage is. As long as it's in the range and uh that's it. It will just divide by four or whatever the the amount of taps the taps are. But what you can do instead is you can modify where on the coil you connect the condu the conductor on a transformer. And this means that you can just modify them such that instead of having 80 turns, you change the input to 84 turns and the output to 20 turns on the on the AC output. Keep that the same. And this more primary turns restores the output voltage to 120 volts. So this is an interesting observation or reality of how transformers can be tuned to their specific output voltage. And if you have a dry core transformer, the taps are physical winding connections. So this is a dry type transformer and you literally change where these conductors step up and down on the uh on the the course of the transformer here. And there's different labels here. Usually these are two 2.5 to 5 point to 5% difference in terms of the ratio of the the voltage when you switch from one to the next. And yeah, we'll leave this for the electricians cuz I assume if you mess this up then there are some pretty bad consequences. But this is actually how this diagram works if you at least have a dry type transformer. Worth noting though that a lot of transformers are not of the dry type. Instead, they're actually immersed in this mineral oil in order to cool the the the windings. But um this is a specific case where it's a it's a dry type. Okay. And you already have intuited this or understood this I imagine by now. But the building bus feeds much more than just it. So let's assume that you have this transformer that's stepping down to 480 volts of alternating current. Um there's a switchboard which takes the incoming supply and then splits it onto these feeders which um supply current to the separate parts of the data center. And for example, let's say you have the IT feeder which just which just feeds energy to the busway that is then routed to the rack PSUs the power supply units that will take this AC energy and convert it to DC energy. Then you have the cooling feeder and then the house feeder and just term and this is just doing like lights and controls and other building services. So this is a general example of what we're doing in terms of switching and feeding to the different uh end sources. And so like at at each of these junctions, you'd probably have a a PDU, which is the power distribution unit. And we'll see an example of that in the next slide. Another thing I want to mention is that data centers are actually transitioning to having more direct current in the data hall. And this is for a variety of reasons which we'll discuss for efficiency. But what you can already guess is that if they're converting some of the energy supply and distribution to DC, I'll actually spoil it for you right now. What's happening is that the rows and rather the GPUs in a few years time and already it's happening now. They're developing the standards will be fed with 800 volt DC current. Well, this means that you still need to actually have a source of 400vt AC because the cooling and the regular uh equipment within the data center still require alternating current to be powered. So, this is like one one thing worth mentioning and considering with the overall transition to direct current for GPU power. Uh then we'll discuss this in much more detail. So, I just wanted to give a quick teaser and then I discussed PDUs. So we have power distribution units and there's two types. So we have a floor PDU and a rack PDU. So the floor the floor PDU distributes the feeders and this is somewhere on the data hall. And then the rack PDU is for the specific racks of the GPUs. It distributes AC to the outlets. So this distributes AC to the to the different PSUs. And then the server PSUs are the individual um power supply units which deliver AC to DC for the specific for specific compute units since compute and the motherboard they take current and direct current. So what we can consider is like PDU is in the AC uh AC regime or domain and then the PSU is what converts AC to DC finally. All right. And then I've I've talked about the busways where we have like essentially copper conductors passing electricity through the data hall and these are usually done now like above the rack and you have these tap offs which then feed to the individual uh compute units and that's where you'll supply the PSUs with power. And just to repeat myself here the tap off connects one rack to the overhead busway as we saw in this diagram. So you have the end feed which powers the entire busway. The tap off box which takes a protected branch from the busway and then the cable to the rack PDU which then supplies power to the separate PSU. So I said that we go from tap off directly to the uh PSU in the previous slide. That's not correct. So the tap off first connects to the rack power distribution unit. uh and then those power shelves will then convert in the PSUs the alternating current to the direct current. As you saw in the diagram, we're usually using overhead busways. This wasn't always the case. And in fact, what this means is that the metering could be done at each tap off. New branches could be added as the rack loads changed over time. And then also uh this freed up the underfloor for the for cooling. Um so assembly essentially simplify the design here. And I think nowadays you'll see the overhead bus way as the most common way of supplementing your racks with power. If you guys remember all the way back to the TPU slide, we also saw that the power was being supplied to the racks from above. Right? And when we talk about the tap offs, we need to make sure that we are staying within the voltage uh requirements or respecting how much the busway can support. So to to put it concisely, a new top off still uses the same upstream conductors. So let's assume that this feed has a 250 amp budget and we currently are using 56 amps per rack in series. So that at this point there's 111 amps remaining or rather there's 111 amps at this point of the conductor and then once it spits down to rack 2 then we have 56 amps and we arrive at this number because we're using 415 volt lineto line. If you use the ACP power uh power formula as a function of current and voltage you'll get these amp numbers. And then let's just go to a fourth uh go to a fourth rack. So since we have 56 amps per rack, 56* 4 is still much below 250. But then as soon as we graduate to a five rack system on one uh busway, then you'll be 28 amps over your usable budget and um that's probably going to cause issues down downstream with your electricity equipment since you've essentially exceeded the n the end feed a lotment. So, we need to be conscious of the the amperage and the other values on the feed in order to ensure that we're not exceeding them since we're still using the same upstream conductors as as we add racks onto the feed and the busway. All right, so this is the first meme of the uh of the course. So, let's see what it says. How is apparent power like a pint of beer? And then it shows this this this funny this funny image which says apparent power is equal to active power as well as reactive power. It's in fact the um the Pythag so it's essentially the hypotenuse. So just to to say it concisely you calculate apparent power as active power squar plus reactive power squar square root. And what does this mean? Essentially, active power is the power that actually goes to your equipment. And then reactive power is the power that's stored and returned inside of your alternating current. So essentially, since you have like this alternating current, which is constantly uh energizing and deenergizing, there's some energy that's just stored inside of the conductor and is then subsequently released, but is not actually used as active power. And that's called reactive power. If you add reactive power with the the power that actually does go down to the end load, you get apparent power. So this is this is just a quick introduction. Now let's actually talk talk about this in in an example. So let's assume that you have a transformer with the real power in your system equal to 900 kts and the apparent power s equal to 900 kovt amps. So this is the this is the unit of um apparent power and the line current here is 1,083 amps. You can calculate this once again and this is only for AC using the same formula that we saw in a previous section. And what this means is that if your transformer if your transformer can carry 1,00 kovt amps then you've only loaded at 90% since your power factor is one. But in real life your power factor won't be one. So if we assume that the power factor is 0.8 eight. That means that the apparent power or rather 80% of the air apparent power is real power, but then 20% is this foam at the top of the beer that doesn't do anything called reactive power. And this means that you essentially need to make up for it by supplying more current to get to this same 900 kW reading. And therefore, you would actually be surpassing the transformer load by 12.5%. So in summary we can say that real power is consumed but reactive power represents just energy stored and returned inside the conductor. And then apparent power measures the loading the transformer must carry since it's the the combination of this real plus reactive power. And another like paragraph here that really gives that really drives the idea home is that in some current in sorry in AC so once again this is not DC this is AC some current can flow to temporally store energy in magnetic or electrical fields then return it rather than delivering that energy to the load. This is called reactive power. The current still passes through and heats the conductors. So the transformer must handle more current than the real power alone would suggest. A power factor of 80% does not mean that 20% of the energy is wasted. It simply means that more current carrying capacity is needed for the same real power. That additional current just incre in increases resistive losses. So the in the additional current from this reactive power increases reactive losses but itself is just like once again temporarily stored in magnetic or electrical fields within the alternating current. This is another reason why direct current is advantageous. you don't have this uh concept of power factor because the polarity of direct current does not change over time and therefore the magnetic and electrical fields also stay constant. So um we're just talking about the example previously if we consider different levels of power factor for a transformer with a 1,00 kilovolt amp rating then we'll be fine with a power factor of one. We'd actually still be fine with a power factor of 0.9. We'd actually be right at the limit. So I don't know if that's fine or not. And then we would have a transformer loading of 1,125 k amps if we only had an 80% power factor. So we've been talking a lot about three-phase alternating current in this course. And so let's consider in this slide a three-phase rack power distribution unit that feeds singlephase power supply units. So essentially this power distribution unit takes in the three-phase AC and then each power supply unit takes in one active phase. So let's say line one connects to one active phase in group A. So this is a PSU and then also it connects to the common neutral in order to get this 277 volt potential difference. Um, and then this gives 20 amps per power supply group. Meaning that across A and B, we add up the voltages. Sorry, not the voltages, but rather the currents to get 40 amps. And we do the same for every single group. Uh, and then let's assume that each busway has a 60 amp limit. Well, if we split them equally across each line, across each phase, then we have no problems. But then let's for some reason put four of the power supply units onto the first line. What happens here is that essentially we have now 80 amps on the first phase of the three-phase AC and only 20 amps on the other ones and we've simply um over we've we've gone over the the voltage sorry the amperage that we can supply on a single phase and this is why you want to balance the loads across the phases in three-phase AC. Now if we talk about like breaking and the downstream effects of something that happens in terms of a a feeder failing or some like fault happening on a feeder an upstream backup opens when the feeder breaks sorry when the feeder breaker fails to open. So what I mean here is that like all right let's say that there's a fault in hall A and for some reason hall the hall A feeder breaker fails to open even though the trip is issued the breaker remained closed. Maybe it's like some mechanical issue. This mean that now the shared bus between hall A and hall B is compromised and even though hall B has no fault because it is connected to whatever happened in hall A, the upstream backup now gets tripped and that and it opens. So essentially you what I'm saying here is that you have this cascading reaction where as soon as there's a fault, it will propagate to every single breaker until one opens. And this is just a illustration of the fact that whenever there's a fault, the breaker that opens will the first breaker that opens will isolate it. But until that happens, you will have to remove supply from every single hall. So in most operating conditions, this breaker should open and then you'd only have to isolate hall A. But assuming this one fails to open for whatever reason, then you would also have to break hall B and isolate that as well, which isn't good for the bottom line, of course. Okay, so that's a close to this chapter. Next, we're discussing how to keep racks and cooling running through an interruption such that if this happens, we can still supply backup power. All right. So, in order to talk about how we can keep racks online in interruptions, we need to discuss continuity, storage, and protection. So, let's not waste any more time. As we talked about uninterruptible power supplies already, let's let's look at a specific example of a product here. So here you have a Schneider Electric Easy UPS3 phase modular. So these are the same unit. One is just black and one is white. And Schneider is another company which makes a lot of different components and electrical infrastructure for data centers. Specifically, these racks can support up to 50 or rather up to 250 kW and as little as 50 kW. And in terms of the dimensions, it's uh almost 2 m tall by half a meter wide and 1 0.85 m in depth. So, what's inside the actual uninterruptible power supply? You have the rectifier and then the DC link which connects the rectifier to the inverter to the inverters. Sorry. Then you have a battery interface. So not the actual battery itself. The battery is somewhere else. But the interface to connect to the battery is in the UPS. You also have a static bypass which is a conductor that skips this entire rectifier DC link inverter path. And we'll explain why that's that's a good idea. Essentially, it allows the UPS to work even if the rectifier DC link or inverter are down. And uh we'll show we'll show that in a diagram so that it makes more sense. And then you have the electrical controls and cooling as well. So once again the batteries the batteries are external cabinets and connect to the battery interface of the UPS. And these are you usually rack battery backup units. So BBUS that uh yeah bring direct current back up at the rack. And this type of facility uninterruptible power supply is usually in an electrical support room. So in the gray space not the white space. And in particular, these specific UPS's are made so that they can be put into a configuration of four, which gives you 1 megawatt. And then either that can be run as like four, which supplies 1 megawatt, or 750 kW across the four with one level of redundancy. So that' be a N plus1 system. And then in addition to the batteries that are in external cabinets, you also have the rack battery backup units which are direct current backups at the actual rack itself for the uh for the racks. All right. Oh, I just skipped a slide there. So if we look at once again here at uh a flow state of what happens with an uninterruptible power supply, you can see how normally you have the utility AC going to the rectifier DC link inverter and then the projected load which in this case is 100 kilowatts. And whenever the utility AC goes down or if something happens in this side of the battery supply chain then the UPS so the unintentional power supply battery will discharge through the DC link and supply power to load and um as soon as it's restored we will remove the uh power supply sorry we'll remove the battery from the from the DC link and actually if the utility is providing sufficient power we' also So not only supply power to the inverter but also put current through this birectional battery interface to charge back the battery to its normal voltage. Okay. So now that we're talking about batteries and we'll also jump into a bit of capacitors. We need to discuss the concept of capacitance. So what is capacitance? It relates stored charge to voltage. So first of all we know voltage is this electrical potential in the in the units of jewels per kum and then also we have charge which is in units of kum. So in fact um this unit uh of charge is just like saying how many electrons do you have. So if you have a charge of 160 kum across some dialectric. So I didn't explain what a dialectric is, but a dialectric is just like an insulator. So an example of a dialectric is literally air. So air is not a good conductor. So it separates electrons from passing and like forming a current. So let's say that you have some type of conductor on this side of the plate. So you have like two conducting conductive plates that make an electric field and you have a a dialectric such that there is no way for the electrons to pass through and there you therefore you have this electrical potential of 800 volts and in particular you have a difference of charge between the two sides of 160 kum. So in this case you would say that the charge is 160 kum and then what happens is that when you have a charge across a dialectric that's by definition a capacitor. So a capacitor is literally like the definition of a capacitor is some charge across two conductors um that creates this electrical field and each capacitor has a capacitance. Okay. So what is capacitance? You can think of it as this fundamental property of every capacitor that says for every so capacitance first of all is in is this C here. So the formula is charge equals capacitance time voltage or capacitance equals charge time voltage. So what capacitance is telling us is for a physical conductor this is a fixed value. It's telling us how much charge can we store for every unit voltage. So that's how you should think of capacitance. It's like okay let's say that you have a specific like a a ceramic capacitor. So for that specific capacitor it'll have a number of its capacitance which is in units of farrod. So that's the unit it's it's just f um and it stands for 0.2 kums per volt or you could have a capacitance of one which would say for every one kulum uh it's essentially one volt is across the across this dialectric. Okay. So that's just the unit of capacitance. And once again, since capacitance is equal to charge per unit volt, if you divide out uh the V on both sides, we can also flip the formula to get charge is equal to capacitance time voltage. So in this case, um the whole exercise is okay, we have a capacitor with a known capacitance of 0.2 and the voltage across the two conductors in the capacitor is 800 volts. Therefore we can calculate the number of kulum is 160 and then if one kum is like 10^ the 30 electrons which is just a random number I forget what actually a kum is equal to then you would say that um the charge difference so the difference in number of electrons between the two sides of the plates would be 160 * 10 ^ 30 or 160 * however many electrons is in a koolum and it may seem contrived to really understand what this means at this low of a level but it's important important to know because capacitors are really important in the context of like these uninterable power supplies and these battery systems. So let's jump to this next slide where we talk about how a capacitor actually is is charged. So what are we what are we plotting on this on this graph? So let's assume that a capacitor is being charged. So what that means is that you would be moving electrons onto this side of the plate and you'd be increasing this uh this charge difference and then you'd also be increasing the voltage because capacitance is a fixed value. So if [snorts] you want to increase Q equals charge then V must also increase in order to maintain the ratio. Okay. So as you increase the charge so does the voltage increase. And in this graph we increase the charge from zero. So that that would be a case where like uh there is actually no voltage or charge between the two conductors to 160 kum. And then this also gives us a voltage across the the gap across the dialectric of 800 volts. And so we have this formula which says that the charge multiplied by the average voltage applied across the across the gap gives us the amount of energy that's stored in the capacitor. But I just like skipped ahead. So let's first describe like how did we actually get get there. So first of all we have energy which is in units of jewels. And so by the formula of uh by the units right of capacitance which is just sorry of charge which is just in kulum and volt which is in jewels per kum. What we can do is multiply these two terms and then just get jewels. But we need to divide by two because essentially the voltage is making this triangle. So in order to get the area of this triangle, we need to do um base * height / 2. So in this case, it's literally 160 * 400 / 2. So this gives us the amount of energy required to charge a capacitor uh up to a up to a specific voltage essentially. And we can also alternatively express the energy of charging a capacitor with respect to only voltage and capacitance because if you guys remember Q is equal to CV. So uh we can substitute Q here and get energy equals CV ^ 2 / 2 as the amount of energy required uh to charge a capacitor or equivalently the amount of energy that a capacitor can discharge. So this formula can be used both to express how much energy is required to charge a capacitor and how much energy a capacitor can release. And once again this is going to be really important because the capacitor is essentially what provides the buffer while the battery and the generator are slowly winding up to their operating voltage whenever there is a power shortage. Okay. So let's assume that we have a 1 megawatt load which has been cut off due to some issue with the with the supply chain or there's just a power outage and we want to know how long can our capacitor support this 1 megawatt load. So we already know that the capacitance which is once again like the kums per unit volt is 0.2 2 far odds and the load is 1 megawatt and the capacitor is currently sitting at an electrical potential of 800 volts which if we come back here means that there's 160 kum of charge across this uh dialectric and so it's pretty straightforward. We have this energy formula which we can just change to be delta energy = 12 C of V ^2 at the beginning minus V at the end squared. So literally uh that's just this formula here except we take the difference in voltages to get the difference in energy. And essentially what happens is we're assuming that on this bus voltage at 700 volts the load will cut off. So this this assumption just comes to the fact that we assume that whatever this bus which has electricity is supplying has a permitted output or rather it can input voltage up to 7 down to 700 volts but as soon as the voltage decreases below 700 volts then it's no longer uh the the bus can no longer actually power the load. So that's why we calculate our V start as a 800 cuz that's the start. But more importantly that's why our V min or our V end is 700 volts because after that there's no point. In fact we already see here that once the capacitor has discharged to 700 volts it still has 49 kJ of energy but it just does not expend it because it's pointless to bring the bus below 700 volts. Uh we would just like shut off the power to the downstream components at that point. Okay, so enough with the talk. If you actually calculate this formula, you would get uh 15,000 jewels as the amount of energy that the capacitance the sorry the capacitor can discharge between 800^2 minus 700 volts. And then if it has to supply 1 megawatt, then if we just do time equals energy divided by power. So that's the way that you can get the amount of energy that is required or sorry that's how you get the time required to expend a specific amount of energy then it would only be able to support the 1 megawatt load for 15 milliseconds. So it's not that much time but also the capacitor doesn't have that much energy and you require 1 megawatt to support the load. So now we know that up to down to 700 volts the capacitor can support the the load or rather the bus for 15 milliseconds at which point it would cut off power to the downstream components and they would no longer have a power supply. But that's actually not what happens in reality. So in reality what happens is that as the capacitor is uh ramping up it's supplying essentially the deficit sorry the capacitor is like actually instantly uh activated because the electrons will just start to move from the negative terminal to the positive terminal instantly once the voltage drops in order to dampen this uh voltage drop. Um and so the capacitor is supplying a deficit during the battery ramp up is what I meant to say. And so instead of having just like only one thing happening, we have the capacitor which is acting while the battery is ramping. So instead of calculating the capacitor supplying the the voltage um like on its own alone, instead we should um calculate this while the battery is ramping up. And we can assume that the battery essentially is providing power in an increasing manner linearly. And therefore the area that the capacitor needs to supply is this deficit which is this triangle. So if we just calculate it it's just um 1/2 because there's a triangle of 1 megawatt because that's the that's the load times 10 millconds because that's how long it takes for the battery power to equal the load power. Okay. And this means the capacitor needs to support 5 kg of energy in this time. And so if we have the same formula as last time except we solve for the V end then um and we know that jewels is 5,000 we can rearrange for V ^ 2 and then we would get that after 10 milliseconds the deficit is now 768.1 volt or more precisely the bus voltage drops down to 768.1 volt but then stabilizes because now the battery is supplying the 1 megawatt load and the capacitor now is no longer discharging because its voltage is equal to the bus voltage. Okay, so now let's uh let's quickly jump back because those are pretty scary formulas. So now we're at 768.1 volt and if we just supply the 1 megatt load on the battery, we'll never get back to 800 volts because we need to essentially charge the capacitor back, which means we need to supply a surplus over 1 megawatt in order to get back the energy. And so that's what the formulas on the on the next page are going to show us. So I promise you this this isn't as scary as it seems. So let's see what it says. First of all, we just using once again the time equals energy divided by power. And just to give some intuition again, we have time in seconds. And then we're dividing jewels divided by jewels divided by seconds. So the jewels cancel out and the second comes into into the numerator. And we already know that energy with respect to capacitance and voltage is equal to CV 12 CV^ squ. So we have the energy in the numerator which is 1/2 CV^ squ and then the denominator is saying essentially we have the time and we want to calculate the energy to replace it and then at the very bottom we want to know how much extra power do we need to provide uh which is just P extra equals the source minus the load. So in this case the load would be 1 megawatt and then we want to know how much more power above 1 megawatt do we need to supply and that's the question. So if we if we for example supplied 50 megawatts above the extra power sorry above the yeah the extra power of the load then we would do 5 kg divid by uh 50 megawatt and then we would get the recovery time. So this would be the constant positive surplus at the data at the DC bus that we um that we supply in order to recharge the capacitor. So we get this 5 kg just as a quick intuition by doing all right our target voltage is 800. So 800 squared and then initial voltage is 59 which is um just 768.1 squared. And so this means that we want to go uh we want to get to 5 kg essentially that's what the numerator is saying and therefore we need to add this 5 kg with some extra power right so let's look at what can happen here so the more surplus power restores the bus sooner and once again we're assuming that we have a 1 megawatt load that needs to be powered and we also need to supply some surplus to get to the 5 kg and restore that. So let's say that if we supply one megawatt to the bus, right? There's no surplus. So the the voltage stays at 768.1. This is this dotted line. Instead, let's suppose that we now supply 50,000 kW extra power to the bus. At that point the recovery will happen in 100 milliseconds because if we simply divide 5,000 divided by uh 50,000 we will get 100 milliseconds so a tenth of a second if I'm not mistaken. And then conversely if you supply more power 1.1 megawatt which is 100 kow then since you're supplying double the power the recovery time will be half. And this means um we're doing 50 sorry 5,000 divided by 100,000 and that will give us 50 milliseconds in recovery time. Okay. And also once we get to 800 volts we assume that we reduce the source power at the bus to 1 megawatt because if you increase above that then you'll just start to charge the capacitor above 800 volts but you also don't want to do that. So um that's what happens when we're using a battery. Also, um let's assume that we're not using a battery to recharge the capacitor. Let's assume that we're using a generator and a rectifi rectifier. So, once again, the rectifier is going from um is going from AC to DC. So, in this case, the uh the generator would also perform the exact same job of of recharging the capacitor in order to reach the the the operating bus voltage. All right, so that was pretty long. I hope you guys survived through those equations. It's pretty pretty complicated sometimes. But now let's uh get back to a bit more fun diagrams. So if we look at here, right, the UPS battery bridges the weight for accept the generator power. So let's assume just to re resume or give a resume of what happens in every step of this cycle when we go from um utility to failing power to generator. So first of all the utility is supplying power and then let's assume that the utility is unavailable and now the generator is starting but disconnected since it needs to take a few minutes to ramp up. At this point the capacitor has taken up the first 10 milliseconds and then after that the battery makes up for the um the the load which is 100 kow in this example and the battery is discharging. then we would say that the generator has now reached its uh operating output of power and therefore it goes through the same UPS as normal as the utility would. And then finally once the battery or once the util the generator is ready to supply power not only to the to the load but also to the battery then we will um essentially supply more than 100 kow to supply power and recharge our battery such that in in a future uh situation where the generator or the utility come down then the battery is at its charge state in order to supply the DC link. All right. And let's just quickly talk about battery output. So this is pretty simple math and physics here. So assuming a battery has a 1 mill sorry a 1 megatt hour uh energy storage. So this would mean that it can supply 1 megawatt of power for 1 hour. And also if we consider the fact that you probably will not discharge the battery past 20% so that only the 80% is actually useful. And then finally that actually the battery cannot perfectly convert its energy into electricity. There would be a 95% conversion ratio. Then you actually only get 76 megatt hours to load from an initial 1 megatth battery. And assuming you have a 8 megawatt output limit on that battery through the DC link here, then if you have a 6 megawatt demand, you could you could supply that demand for 7.6 minutes. And this is simply just getting our energy dividing this by the power and then multiplying by 60 to get minutes. And then assuming that we have a 4 megawatt output limit, then we actually could not even meet our 6 megawatt demand because the full load cannot be supplied. There is essentially 2 megawatts of demand that's unsupported. So your ensemble of batteries should at least be able to supply the load. So in this case, you'd want batteries that at least can supply 100 kilowatts after you consider both the conversion um and the usable window and also like what is the output of the battery. Right? So up to now we've actually been only talking about fossil fuel uh systems from my understanding of supplying systems when there is a power outage. But actually Cruso has this spark model which is like their modular data center which uses solar and battery storage in order to supply their data center. And what happens here is that in their pilot project which was from last year they had 12 megawatts of solar and 63 megatt hours of battery to supply a 1 megawatt data center which also had a grid backup. So should like there be like no sun for like many days and they couldn't u feed it. But in fact, if you just do the calculations here, right, since they have 63 megatt hours of batteries, of course, in this example, we we um don't really consider the fact that you can't just get pure efficiency out of your batteries. But if we ignore that, you get approximately 63 hours of run time without having any solar charge. So that's already a pretty robust system in terms of the gross energy to load ratio. So, this is an example of a completely renewable system. Completely renewable in the sense that hopefully you would never have to dip into the grid. Maybe from time to time you would. Um, but on net it would be running on renewable energy. So, I think that's a pretty cool concept as well in terms of autonomy from the grid and from fossil fuels. All right. I mentioned the static bypass before, but this is the first time we're talking about it in a diagram. So, the static bypass supplies the load when the inverter is unavailable. So essentially what's happening here is that since the source is an AC we can technically like skip the entire rectifier DC link inverter stage uh completely if anything on this line in the UPS ever is faulted or gets disconnected by this uh disconnector or breaker. So this just allows us to still power the load if the inverter is unavailable for example. But what the problem is is if you lose the access to your static bypass then you can no longer actually supply the battery because as we said the assumption here is that the inverter is uh faulty. So the problem is that when you use the static bypass you're kind of living on the edge because if ever the static bypass goes down then you cannot power your load. There's actually a another type of bypass which is called the maintenance bypass. So the maintenance bypass carries the load around the completely isolated UPS. You can see here we have these disconnects on the entire load which make it such that the UPS is not at all connected to any source of energy. And the purpose for this is that if you ever need to service the UPS then you don't want it to be connected to anything which is energized. So essentially this external maintenance bypass allows you to still power the load while the UPS is completely shut off. And what happens here is that once again if you lose the bypass source if for some reason you're doing maintenance on this UPS and the maintenance bypass decides to fail then this load also gets no supply. So one thing worth noting is that whenever you're using a bypass then you have a single point of failure as opposed to the UPS where if one of the input sources fails you have usually a second option ahead of you. I also have been talking about once again AC and DC in comparison. And one thing that's interesting is that even if you isolate the AC from the rest of the grid here, the DC can still be alive because of the battery and because of capacitors. So in this example here, it's really important to disconnect the battery as well and make sure that this DC link is completely deenergized before there is any maintenance attempted on the machine. And furthermore, because DC is at a constant current and voltage, even if you disconnect it, it could still remain energized. And this is opposed to AC where essentially AC passes through zero twice period, meaning that it's much easier to deenergize alternating current. Um so what this means is when you're using direct current you need some load side um method to disconnect and dis discharge the direct current before any maintenance is uh conducted on this component. So once again the the message here is that even if the AC is off the DC the DC can still be live. So that's more of a safety precaution. And in fact um what can happen as well with DC is occur let's let's let's talk about um the the base case before we go into into arcs. So when current is when the circuit is closed current flows because the touching contact completes the circuit but an open gap can carry current even if there is a gap uh if there is sufficient voltage. literally hot ionized gas which is the gap and current still flows. What happens to destroy this or to remove this arc is that well in alternating current since the uh polarity switches so often an arc can actually be self-extinguished because in the intervals when the current reverses and there's no voltage the air between the gap can actually become sufficiently cool that it just self-extinguishes the arc. The problem is though with direct current is there is no such uh change in polar polarity. So if you just keep a circuit closed or rather not closed but uh constant with an arc in direct current it will continue like indefinitely unless the source is deenergized. And so what this means is that either one must deenergize the source to stop a direct current from arcing if it's occurring or you can move the move the two uh nodes of this current that are open farther away because at a certain distance then there will be no longer enough voltage to actually cross the the gap. So or rather the distance will be too long too large for that given voltage to cross the gap. So this is just something also worth noting um where direct current has a downside or a disadvantage here as opposed to alternating current when it comes to these like fringe fringe cases of electric faults or arcing in specific uh in particular. So just retain that in an arc with direct current unless something is changed in the system the arc will persist. Whereas in alternating current since the polarity is changing there is the possibility that in the intervals the gap will become sufficiently cool in order to stop the ionized plasma essentially from passing this current across the air. All right so we have more memes. Um it's because we're talking about redundancy now. So this first one says or second one says I see you don't have enough redundancy in your data center I also like to live dangerously and then this first meme says take it easy buddy think of the data centers because it's a really hot day and turns out that data centers don't do too well in the heat. So let's use these two memes to segue into the redundancy section of the chapter. So let's talk about a 100 kowatt source or rather load which is fed by two 50 kow modules on a shared output bus. So in this case you have 100 kow available and 100 kow also required. So in this case we can supply the it and in our case of two 50 kow units we have n um n redundancy or essentially there's no redundancy cuz the same amount of power that's available is what's required. So what happens is that if you fail one module then you can no longer um supply this it happens when you don't have any redundancy. How about let's add a third module. So in this case we have N plus1 redundancy for 100 kilowatt load and let's let's do some maintenance. So if we do maintenance on this module would essentially disconnect it from the from the bus and isolate it and then uh we would still be able to serve our end load. But now let's say that we're isolating and we failed one. Well, in that case, we only have 50 kilowatt available and therefore we cannot supply enough power through the UPS to supply our um our end demand. And then if we fail one module and keep one um keep both of them alive, then also we can um keep them we can keep this IT demand um satiated because we have M1 and M3 these two modules supplying power to the to the load. Okay, now we're going to jump to N plus2 redundancy. I I think you guys can get the get the picture here. Let's say that we are isolating one module and one of them is failed. In this case, we can still feed the load at the end of the bus because we have this N plus2 redundancy and essentially two of the modules can fail and we can still run. Uh if we actually return both of them to be online, we have 200 kW available across the shared output bus even though 100 is required and we're also still in business with 100 kW to spare. Now let's go to a different example. Okay, so we have n plus1 redundancy but the output bus is shared. And so this means that the paths are not independent. And suppose there's a bus fault somewhere along the shared output bus. Well, that means that despite n plus1 redundancy, we cannot do anything and there's insufficient uninterruptible power supply capacity due to this bus fault. If we restore the shared bus, that will no longer be the case. We can now supply power to the IT demand. But know that even if we have N plus1 redundancy, there's still a single point of failure failure if your shared output bus is shared. And then now we'll use this as an example to go into a 2N redundancy configuration. So essentially you have a A and a B path. That's what you call them usually or you would call this a dual corded uh system. Essentially there's there's two chords. And so what happens is that if you isolate path A, let's say that you're doing some maintenance here, then you're still able to carry electricity because half of the paths can carry the whole load. Well, if we fail um one of the modules here on B, then unfortunately even two end redundancy is not enough. But then if we return uh the 50 kows on path A and even if B1 is failed then we can still supply the 100 kows because we have these two independent power supply units such that um yeah in in this case unless both of them fail to this extent we're able to supply power to our end load. All right. And we can even go further and talk about 2 n plus one redundancy which you can understand through this diagram. And in this case it's the same thing as 2n but now we add one to each of the each of the different lines. So let's say that we isolate this entire path. Now we have 150 kow available to this 100 kow uh end load. And even if we fail one module we can still supply the 100 kow. So this is a much more resilient and redundant manner to uh supply our end demand as we have in the title here. A spare on each path adds margin during maintenance. So this is essentially as as good as you can get. If you have more redundancy than this, then you're starting to get into dimishing returns cuz you need some pretty strange fringe events to occur for that type of redundancy to fail. And moving on, let's talk about N plus1 and a situation where we then increase the IT demand to 150 KOW. So essentially what's happened here is that we've gone from N plus1 to N redundancy. So the good thing about having more redundancy is if you do upgrade your equipment later on then you can serve more with the same power units, but of course the problem is you lose your redundancy. So, it's a it's a trade-off there for sure, but it's one thing to know is that having redundancy also allows further upgrades to happen without changing the power supply infrastructure. All right. And just to give a quick example here too with having faults on these different branches on feeders. So, let's say that we have a fault on group B and it's isolated. Well, as long as we have the disconnect open here before it reaches the shared bus, then the fault stops the load before um the breaker opens upstream. And we can keep group A and group B, sorry, group A and group C supplied. But now let's consider something else where you have a branch fault and the upstream trips because for some reason the group B uh breaker did not open. In that case, you have to fail all three of these buses or all three of these groups. Since they are dependent on this single point of failure from the upstream supply and then additionally even if there's no failure within any of the groups, let's see all the groups are fine but there's some problem on the bus and the bus voltage collapse. Well then this entire upstream supply will probably be closed somewhere because you have this propagation of the fault to the first breaker that opens and therefore these three groups also receive no power. So I think the lesson here is in these hierarchical grid systems you need to see where is the single point of failure. You know, in a really redundant system, you actually have completely independent grids or rather paths for energy to flow such that one entire line can fail and the power can still be supplied to the load. But that isn't always possible in terms of just like from a fiscal standpoint. So you need to balance um resiliency with cost. A different a different type of fault that we could talk about is um the racks themselves. So let's assume that you have some type of live conductor that has an insulation fault. So essentially let's assume that like the wire casing has shredded and like the wire is exposed to the metal cabinet of the rack literally like the metal cabinet and it would if if that conductor came into contact with the cabinet it would become energized and that could lead to problems like if somebody touches the energized rack then bad things could happen and therefore interestingly enough like to prevent this from happening you would connect a return path from the metal metal cabinet to the source such that it completes the fault loop. And why would you want to do this? So once again, a protective conductor connects the metal cabinet itself back to the source of the circuit such that in a fault scenario, the fault current makes the protection disconnect the circuit. So, what is meant here is that if ever there's an insulation fault and the metal cabinet becomes energized, you'd actually want to connect the metal cabinet back to the source to complete the circuit and allow the breaker to trip and close the circuit properly as opposed to having the metal cabinet remain energized and have nowhere to go if it wasn't connected back to the source. That's an interesting thing where like you're purposely connecting the metal cabinet back to the source source. If ever there's some insulation fault that occurs which causes that metal cabinet to be energized, you want that current to flow back to the source as opposed to elsewhere. All right. So when we talk about redundancy, there's actually a ranking and it's called the uptime institute tiers with one being the lowest and four being the highest. So if we if you start from the bottom, number one, it says your data center just provides basic power and cooling. So pretty standard. And then number two, obviously these are like slightly generalized. There's there's much more stringent uh requirements for these systems, but we're just giving a a high level overview. Number two says you add spare power and cooling equipment. The number three states that you maintain equipment with it running. So this means is that as in this example here, if you isolate path A to perform maintenance because you have path B, you can still uh keep your load running and that would qualify for the third tier. And then the fourth tier is saying that if there's an infrastructure fault, which is to say this is planned maintenance. If this is essentially you can think of it as unplanned maintenance, if that happens, then in tier four, the system is still able to survive. And tier four data centers are less common because they're much more expensive to build in all the redundancy. You you'll mainly see this with for example uh government data centers where well the government doesn't have that much sensitivity to the cost. So they'll give the they'll give the the money for the highest tier redundancy and also like government data usually is pretty pretty high um high worth. So they don't want to have the data center go down or have some vital government uh service lose power. Okay. And just just an example here, right? We have tier three and tier four are essentially saying in plan maintenance plan path A is disconnected and isolated and path B still supplies the it. And then tier four is saying okay if there's a sudden failure and path A goes down then path B can still be used to supply other it. Whereas in tier three, we're saying we can only guarantee that in a planned maintenance event, we can keep the it online. It's not saying that if path A goes down to some fault, then there could be some um issue where the path B also becomes compromised, for example. All right. One thing also worth noting is that on-site generation is actually a part of all four uptime tiers because it feeds into both it power and cooling. But when you go from tier one to four in um in redundancy, you add more spare equipment and that's the second tier. Then in the third tier, you add the ability to do maintenance without turning off the data center. And the fourth tier, you're saying that even in a fault tolerant situation. So you can think of like Hurricane Harvey with that Equinox uh Equinex data center, that would be a tier 4 data center. So there's tiers and then there's the nines which are separate concepts. So three, four and five nines of availability simply say how much of time in the year is your data center up. So if you have three nines of of availability, which is for example the Cruso Spark data center in Nevada, which is the one that uses solar panels, this means that for 8 hours and 46 minutes in the year, you will have that much downtime. And literally, this is just by doing um 0.01% of the year. And this gives you 8.46%. And then if you have 49s of availability, then this is an example of Microsoft Fairwater in Atlanta, Georgia, which we'll talk about in the next slide. This would be the equivalent of 52.6 minutes of downtime in a year, which is already like less than an hour. And there are like 8,000 hours in a year if you guys remember, 8,760, I think. And then 59s of availability is pretty insane. So there's this uh data center in Vienna which must have a lot of redundancy and the SLA which is the service level agreement I guess specifies that you can expect at maximum 5.26 26 minutes of downtime per year, which is quite impressive if you think about it. Right? And let's just talk about an example of a data center with 49 of reliability. This is the Microsoft Fairwater data center. And in fact, it's quite interesting. So this data center achieves 49s of availability at 39's cost. How is this possible? It's because they actually don't have on-site generators. They don't have UPS systems and they don't have dual corded distribution. So just as a reminder, we know what generators are. We know that the uninterruptible power supply is to supply power through a battery and then we know that dual corded systems is to have essentially an independent A and B path for every single power supply. So how do they achieve four 9s of availability without any of this infrastructure? Let's uh let's let Scott Gutry who made this quote tell us how he does it. So what they say is we have also worked with our industry partners to co-develop power management solutions to mitigate power oscillations created by large scale jobs a growing challenge in maintaining grid stability as AI demand scales. This includes a software-driven solution that introduces supplementary workloads during periods of reduced activity a hardware driven solution where the GPUs enforce their own power thresholds and on-site energy storage solution to further mask power fluctuations without utilizing excess power. So I think I just realized this quote actually talks more about how they dampen the effects of the power which is caused uh by AI to fluctuate. Um to talk about how they actually achieve this power redundancy without having any of the on-site generators themselves. It turns out that the grid that they're connected to already has a lot of built-in redundancy. So for whatever reason uh their grid connect in Fairwater Atlanta has a lot of latent uh redundancy already within the grid. So they don't need to build that secondary power on themselves cuz I suppose they already have this guarantee that the grid itself is going to be 56 uh is going to be up for most of the year and will be down for at most 52.6 minutes per year. So essentially what's happening is that instead of having to rely on their own generators to guarantee 99.9% 99.99% availability uh they got this agreement or they got this deal from the grid to do that. And then this paragraph my mistake is just talking about how they are able to use both software and hardware as I mentioned uh I guess in a previous chapter to dampen the load changes and fluctuations between these different jobs. Okay, so this is the last uh second last chapter, second last slide in our chapter. It's going to quiz us on what happens in a fault situation. So let's say the racks have power, but can the workload keep running? So what what's the situation here? We're saying that utility fails and the generator starts and supplies a cooling plant where the compute racks have a uninterruptible power supply and a generator, which is good. That means they have the rectifier and the inverter. And then the cooling controls though is only powered by the utility and the pump and heat rejection is powered by a generator. So the question is what still stops the workload. So I'll let you guys think about this for a second and I'm going to reveal the answer. Essentially the cooling control has no more power because it's only supplied by utility. If you put the cooling on a protected supply, then at that point you could have a redundancy which would still run the data center even if utility goes down. But until the utility is not the only source of energy for the cooling controls then um even in a utility outage you could not supply enough uh or you cannot keep the data center running because of the lack of cooling control simply. Okay. So the second question and our last slide in this entire chapter is saying the following. So it's saying that the UPS is on a bypass. So let's say that um the inverter has failed. Actually that's what it says here. The inverter has failed. Static bypass carries a load. Now utility power has failed. The question is will the load stay powered without interruption? So do you guys think yes or no? I don't know. I think the load will not stay powered. Okay. Correct. And what's the reasoning here? The failed inverter blocks the battery path and a generator can restore bypass power after startup and transfer but it does not bridge this interruption. So essentially what happens is that technically you can supply power. So this is kind of a nuance question I must admit. You can supply power with the utility after a few minutes but you can't supply power with the battery. So what I'm trying to say here is okay we initially had this inverter fail and then what happened is that the utility also failed. So therefore, the battery cannot supply power to the load because the inverter is down. But the one thing that still can happen is that if you have a generator here, it can now take the static bypass and supply the load. But the problem is that that would take like a few minutes to ramp up. So for some time, you would have no supply and then after that you could reboot the system and get your rack running again. So that was the second and last question to verify the knowledge that we learned in this chapter. Now let's move on to chapter eight. Okay. So here in chapter 8, we'll be discussing how we feed the rack while keeping chip voltage steady. And this is going to be quite a compelling chapter because you'll see how starting off at let's say 345 kilovolts at the high voltage AC transmission when electricity actually comes into the data center substation, we now will get like in the range of 1 volt. And if we remember the formula P= IV if you just naively did this entire conversion then you would have technically a 345,000 increase in current. Of course this is massively simplified and also assumes DC current even though a lot of this current is AC but the highle idea that I want to get across here is that we are now finally going to get to the current which is actually accepted at the chip level and this is like in the range of 1 volt usually. So to get to this final stage, we first need to go from the rack bus, which we've already discussed previously. So this vertical rack behind our NVL72 uh rack, for example, which supplies electricity to all of the constituent trays, which will then go to the board itself. So if we're looking at once again that same example, we have on every single tray two boards in the NVL72B300 Ultra. And then on the boards we have voltage regulator modules these VRMs which convert energy to the chip itself. And um in this example these these are some parts of the VRM. Um but this is once again just an illustration. So don't trust it as like the truth of how every single VRM looks like. And then we also have capacitors which are on the chip level. These capacitors essentially serve to buffer voltage or rather to buffer current. So the voltage remains constant so that the chip can always have a relatively uh acceptable input range of voltage. Okay. So as a motivation for this slide, I want to discuss a research piece that was published by Bank of America Global Research on the following statement. So by the end of the decade, we think Nvidia's road map could lead to greater than 1.5 megawatt racks for the Fineman era nearly 100x higher than a standard CV server P CPU rack at 10 to 15 kow. So the 10 to 15 kilowatt we're talking about here is the traditional server rack. And in fact, I spoke with somebody who is a Berkeley professor in high performance computing and has been like an industry veteran for many years. And he was telling me how at a certain time the conventional wisdom that was that 60 kW was the maximum rack power density that one could achieve. And already today we're at this phase currently where there are N as said there are Vera Rubin NVL 144s or NVL72s. Um, in fact, this naming scheme is slightly confusing. I'm going to jump ahead one slide to con to explain why this is a slightly confusing naming scheme. It's because on these GPUs, you have two dyes which compose one GPU. So, this GPU has one die here on the top and one die here on the bottom. And just to explain why this term is 72 and this term is 144. This naming convention says that we count these two dyes separately. And then the convention where you say NVL72 says that we count this GPU as one uh functional GPU and we don't count the individual dieseS. So all that is to say that the NVL72 and the NVL 144 actually have the same number of dyes which is what is com which is what composes the GPUs. Um the only thing that changes between these two different uh between these two generations is that the dies probably become bigger and that's why it has a higher power demand despite the fact that actually from generation to generation the actual dies themselves become more efficient. But just to recap, because the die is becoming larger and it's just doing more computations despite increases in efficiency from generation to generation, the overall power consumption is increasing. So the entire reason I went on this digression is to say that currently we are in 2026 with the Ver Ruben NVL 144/ NVL72. Both naming conventions work and it's around 130 to 140 kW. It hasn't actually changed that much since Grace Blackwell with notwithstanding in 2028. So this this graph or rather this piece of research whenever it's published is out of date because what happened is that the Vera Rubin Ultra Kyber NVL NVL 576 so it's really a mouthful is this new massive rack scale solution by Nvidia which will be 500 sorry not 576 kW but on the order of 600 kW and because of its extremely sophisticated spine back plane which is essentially the interconnect on the rack level, the scaleup domain that is behind the rack. Um, it's essentially like a 7v2 or it's like a 70s something layer PCB, a printed uh circuit board, which allows all of the GPUs to comm communicate with each other. um because of leaked and like this is industry confirmed difficulties with like actually getting this printed circuit board to work like all of these issues with respect to the different layers like warping and ruining the board in manufacturing and also the overall complexity of routing and interconnecting all the GPUs. This specific rack has been delayed to 2028. So that's the whole short of it which means that probably Rosa Fineman which is the generation after uh the Ver Rubin Ultra Kyber which is this one will probably come in 2029. Uh we never know maybe Nvidia will really get their game on for this version but in any case there are projections that the Rosa Fineman era will be in the 1.5 megawatt class. Um this is just like mindboggling in terms of increase in power density. One other thing though that you're seeing is that whereas previously or up to now you have these standard rack uh configurations that are like rectangular prisms and not Nvidia but AMD has actually already released a new type of rack which is called the Helios. So, as you can see here, the AMD Helios is almost like a fat rack because it's two racks wide. And this is in order to just have a larger amount of compute inside of one single system. And you may also see Nvidia doing this at some point. You may uh is actually probably a 2 week qualifying term. You will definitely see this happening on Nvidia's side as well at some point in the future and um likely in like the Rose of Fineman because in this vertical configuration like even after like 2 to 3 years of insane progress it's probably not possible to fit 1.5 megawatts of uh compute inside of this small of a enclosure. So that's just um essentially giving some uh foresight of how these racks will also be morphing in over over time. And currently as I said AMD Helios is the only rack which has this double wide um size of the hyperscaler. So AMD, Nvidia and other ASIC providers. So what is actually this slide saying? Um we're going once again from a rack to a board when we want to convert down and transfer power all the way from this vertical bus bar to the voltage regulator modules. I really like this diagram. It's a Lenovo GB300. So, interesting to know is that like there's a lot of different manufacturers which take the trays and the GPUs from Nvidia and then put their own envelope around it. So, Lenovo is one example. Also, Dell is a really big uh provider of these GB300 and other Nvidia racks. In this example, we can really see every single tray in in fine detail. So on the top if you guys remember we have four shelves which have six PSUs each six power supply units which means that there are 24 power supply units in these four shelves. And similarly at the bottom so that means 48 power shelves not power shelves but power supply units and eight power shelves. And so if you have 48 power shelves and each one is 5.5 kW, then we can actually just do the math here and get the total power output of a GB300 rack which is 264 kW. And this is nice because it allows a lot of redundancy since the peak demand of a such a rack would only be 142 KOW. So it's not perfectly n plus2 redundancy. Sorry, 2N redundancy because that would have to have I suppose 284 kW of power. but it is still quite redundant, which means you can hot swap the PSUs without having to power down the GPUs. And where are the GPUs? They're here. So, there should be 10 racks here. Uh, sorry, 10 trays here and eight trays here. Each tray has two boards, which means that there are 36 boards since we have uh 18 trays and two boards per tray. It's really hard to resolve these things sometime, but I think we got it right there. And then we also have the NVL link switch trays which have nine trays. And each tray has two NVLink switches which means that there are 18 NVL link switches in this rack. Okay. And so the compute tray which is what we're really interested in once again has the two boards. And this is what a single board looks like. And each board has two GPUs and one CPU. That's why it's called the NVL72. Because if we do two GPUs per board times two uh trays, sorry, two boards per tray, we get four GPUs per tray. And if there are 18 trays, we get 72 GPUs per rack. So there is the entire endto-end calculation of how you can get 72 GPUs from an NVL 72 rack. And then uh one once again there's only 36 grace CPUs in this configuration. I want to quickly zoom in and first of all say that if you watch my course called chips which describes how semiconductors are made from silicon to this final board uh you'll you'll learn that process. So that's what we're learning today. But I want to talk about a few things here uh before we switch to the next slide. So first of all I talked about these voltage regulator modules. And one component of these VRMs are chokes, which are like inductors. And all you need to know about an inductor is it's a type of component you add to a circuit to resist changes in current. And it makes it such that you can have a more constant current. So you don't need to know anything about a choke more than that. But what I do want to point out is that the chokes themselves are here around the around the GPU. And it makes sense because this is what's actually supplying uh the current to to the GPU. So you want them to be as colloccated as possible. Why? Because of resistive heat loss. Since you're at 1 volt, the current will be massive because of P= IV. And you want the the the VRM, which is actually supplying current to the chip to be as close as possible. Um, it's not the closest thing to the chip. In fact, these gold like uh squares is the high bandwidth memory, which you want to be closer because memory latency is king. So that's way more important than having your resistive heat losses minimized as much as possible. But you can see the hierarchy here. So like you have memory latency as the most important and then also after that the the voltage regulator metals voltage regulator modules which are composed of these chokes which are inductors are also close by. These circular things as well here might be might may or not be capacitors. I'm not sure because Nvidia doesn't actually release the detailed spec of their boards. But in any case, I wanted to highlight that you have a lot of chokes here which compose the VRM around the GPUs and similarly actually with the CPU here below the gray CPU, but there are less because the CPU is much less power intensive than the GPUs as we all know. And then the last thing here is that the GPU has high bandwidth memory whereas the CPU has a different type of memory. It's still it's still a DRAM but it's LP DDR5X. What does that mean? It stands for low power double data rate 5x. Um, and this is just a type of DRAM. So, low power means it's um low power as opposed to GDDR, which is the graphics version of uh double data rate power. Not double data double data rate memory. And then double data rate memory just means that in one clock cycle, you can transfer both on the up edge and the down edge of the clock cycle, which just means that you have better uh transfer and memory latency and throughput. And then like five is just a version. So that's low power double data rate 5x memory. You might have heard of LPDDR or GDDDR. Now you know what that term actually means. And then that's everything we need to know. The last thing that is also just uh quickly quickly worth noting is the connect x8 supernix which forms the scale out domain of these chips. So we've already discussed the scale up network. Um and then now we have the scale out network which is mediated through these super nicks which stands for network interface card. So that was that's what the NIC there means. Okay, so that's a really high level overview. Now, let's get into a bit more details from the PSU to the CPU cores. So, the power supply unit once again looks like this. So, there's six of them in a in a shelf. And this in our example takes the alternating current that comes in through the busway to 51 volts DC. So it both converts from AC to DC which is called rectification and then also will step down the voltage to the voltage range. You'll also see like these PSUs will supply 51 volts and then the motherboard or tray component that accepts this voltage will like for example have a input rating between 52 and 46 volts. So that's just an example of a meta specification. So this would be the specific Nvidia trade that was made for meta that had this input voltage range uh which we'll discuss in a bit uh in a few slides. But uh just realize once again that you do have this leniency in voltage ratings because you can't always have like an absolutely perfect voltage. Okay, so that's what the PSU does. And then the voltage regulator module makes and regulates the core voltage. So there could be an intermediate voltage step down from like 51 to 12 and then to one or you could just have a 50 to1 conversion. Once again depends on the implementation. All we need to know is that the voltage regulator module is what actually is what does one of the steps down in this pro one of the step downs from this process. And then we have the Vcore rail which is like a abbreviation for voltage core rail. It's just a copper path or rail that carries the onevolt current to the CPU or GPU cores. And then you want to have these local capacitors that connect to the rail beside the chip in order to buffer if there is increase in current absorb current. And then if there's a decrease or like there's low current on the bus to release some current uh in order to buffer the voltage. Okay. And so what's actually supplying the the VRM at the downstream level is the power supply unit. In this case, we're looking at advanced energy OV3 PSUs, which are 3 kW and go anywhere from 200 to 277 volt AC to 50 volt DC with six per shelf as we discussed in the uh the Nvidia diagram there. But these would not be used in the GB300 because the GB300 uses 5.5 kilowatt PSUs. In any case, every single rack would then give you 18 kilowatt installed capacity in this specific example. And what's interesting and what's worth noting is that we have the incoming three-phase alternating current. And in fact, in order to load balance, what you would have is like on a rack, sorry, on a shelf in the rack with six PSUs, you would likely have each of the three phases of AC going to two going to two power supply units in order to balance the load. Or in any case, you would want in of a of a group of uh six to have 1/3 going to uh sorry, 1/3 of the lines going to each of the power supply units. And so in this case, we would have like line one connecting to one here, line two to another one, and then so on. And then this would take this uh in this case 277 volt AC and then step it down to 50 volt DC. What you might be wondering is okay if it's 480 volt AC current why are we saying it's 277 volt alternating current here it's because once again 480 volt since voltage is defined as a difference between two electrical potentials this is the lineto line voltage whereas 277 volt is the line which would be any of these to neutral difference in electrical potential. So there's there's the reason why we're talking about 277 volts here. And then this would be fed as the arrow is pointing onto this vertical bus bar of the rack. And once again, this is showing a DGXB300, but these PSUs would actually not be there because we need the 5.5 kW PSUs because of how power hungry these GB300 chips are. Okay, I'm I'm now going to do a a calculation with you guys so that we can really walk through like what does it look like going from a input load. So like our load requires some piece of power. How do we determine the amount of power we actually need to feed the rack given like the GP the CPU or the GPU's um power requirement? So let's assume that we have a 72 requirement 72 kW processor power load input and let's say that the local voltage regulator modules are 92% efficient. So essentially what we're going to do here is work backwards from the lack of efficiency and the heat that we lose to get the required input voltage at the alternating current level. So let's just go through this in our calculator. So 72 / 0.92 gives us the amount of watts we need to input to this regulator to get 72 kW which turns out to be 72.26 just as we get here. The other thing too is that the power from this vertical bus right here isn't just going exclusively to the chips. It's also going to go to memory, networking, fans, and auxiliaries. So we'll also assume that we have 12 kow that need to be added to this process as well. So we'll just add 12 to get 90.26. As you see here, this is the shelf DC bus. And then once we actually want to get the power into the bus, let's assume that the rack power shelves, which is what the PSUs do, which is what the PSUs are rather, are 97% efficient. So what we're going to do now is put this around brackets and divide it by 0.97, giving us 93.05, just as stated in the diagram here. So this would be the watts entering the rack and the the calculation also is on the bottom here where we add in the heat in order to get our final amount. So you can imagine that at a crude level this is what data center engineers are doing when they're determining how much energy to feed to every single rack when they already know the efficiency of each of the uh the conversion steps. So that's actually a walkthrough example that once again a data center engineer would do in real life. Okay, let's now get back to the theme of the fact that a VRM is doing this massive voltage switch which causes potentially a really high current and therefore heat losses. So at 1 volt a small path resistance can consume a large share of the voltage and create a lot of resistive heat loss. So, let's assume that at the board level, we require 1,000 watts of energy to power our GPUs and the rest of the components on the board. What this means is that at 1 volt, we need 1,000 amps since P= IV. However, this does not account for resistance. So if we assume that in this regulator output to chip path there is 100 micro ohms of resistance then due to Ohm's law which states that the change in voltage is equal to the current times the resistance we'll have a voltage drop of 0.1 vol which means that actually we need to supply 1.1 volt at the regulator to get one volt at the chip and then the Other thing that I want to add in addition is that since we have both values of resistance and current, we can also calculate the heat loss in this path which is 100 W. And this is once again the reason why we want to make this as short as possible from the regular output to the chip. If we decrease the resistance by an order of magnitude, you can see how much that helps. So in this case, we only need to supply 1.01 volts as opposed to 1.1 volts at the regulator to get to one volt at the chip. And then also the heat in the path that is lost with resistive with resistive heating is only 10 watts. So really the essence of the slide is small resistance changes can make large downstream uh effects both in terms of voltage drop and heating which it makes it such a important space of efficiency in the cycle of converting high voltage AC to like one voltage DC to power the chip. This slide is really cool because it's titled all roads lead to Rome. And the the reason I titled it this is that there are many ways to get to one volt. And here are two methods. There could be others. The data center industry is very diverse. And once again, these are only two possibilities. Let's just quickly walk through them. So, one possibility of going from the rack to the compute die is to have the 51vt rack bus that we've already talked about the vertical bus and having a 51 to 1 approximately ratio DC toDC converter meaning that we go from 51 volts and approximately 20 amps to 1 volt and 1,000 amps with a 1 kow load. This would make us have to have the final version beside the die or else there'll be way too much resistive heat loss and that's why the high current stays local. Then you can have an intermediate rail though and this is actually what's done with the meta chip which we'll see in the next slide where you have 51 to 12 DC toDC converter. This gives you approximately 83 amps in this intermediate phase and then we convert back to or to the 1V desire voltage at the compute die and this gives a higher voltage board distribution. This also means that the regulator choice and layout flexibility may be better simply because you can split up this conversion into two phases. Okay. So, as I promised, we're we're going to discuss the Metag GB300 tray which actually has a complete specification. So, if any of you guys are interested, the open compute project talks about this tray and this was made uh last year in September in fact and you can see all of the people here are just meta engineers. So really good reading if you would like to have some extra uh homework after this course. And what they do on their board at a high level is what we just explained here in the intermediate rail phase. So they go from 51 to 12 to approximately 1. And this furthermore has a allowance for between 46 and 52 volts at the power distribution board. So the power distribution board is somewhere on the board level. So essentially this is what would happen when you get from the rack to the board and there you go. So that's a real life example of how local regulation occurs to get to one volt at the process level. Okay. So now let's talk about the VRM not just as a blackbox but like actually see what are they doing in practice. So where can I put myself to not block this slide? Okay, there you go. So sharing current inside a VRM as I mentioned these VRMs they have these chokes and they have many of them based on the power hunginess of the compute that you're serving and these chokes roughly correspond to phases of current and in the industry you have like multiple phases per per VRM or rather you have multiple parallel phases per voltage regulator module. So if we consider the extreme case which you would really never use where you only have one phase of of current in a in the VRM then what happens is that although let's say you have a 1,00 amp average since it's 1,000 kil sorry 1,000 watts the the amperage itself would be very volatile and this is not good for the chip which expects a constant voltage and if you if you modify the amperage then also your voltage will change because of P= IV and then instead what's done is that you have multiple paralle phases in a VRM. So in this case we have 250 amp phases which of of which there are four which add constructively to 1,00 amps. And if you interle these then what you can do is stabilize the current and then furthermore have a steady voltage on your downstream compute dot at at a at an even lower level. How this works is okay, you have a voltage regulator model which is actually just called a buck converter which if you'd like to search keep uh just just come to this link here and you'll get a really good rundown of how that works. In essence, you have two uh transistors here as well as inductors and these switch at really high rates in order to get this voltage differential. So in this case we would be going from 12 to 3 volts. That would be a 4:1 ratio. Um and if we look on the right here we have the switch node voltage which just says what is the voltage applied at every switch um as a function of time. And then furthermore we get the inductor current here. So the inductors are what resists current. So I misspoke. I said the inductor resists current but it's the opposite. The inductor resists changes in current. How does it do this? Well, a an inductor stores a magnetic field and when the current changes, the inductor flips its voltage polarity to force the current to keep moving by generating a back voltage. So all of that is to say that the inductor resists changes in current and this is what's used to aid in the voltage conversion even when the switch is open and this allows current to flow in the circuit. And what this means is that when we interle these two currents, we get the uh the the the normalized or rather the smoothed current where there's less spikes. And once again, this allows us to buffer the power that the load requires, which is the chip itself. And the more the phases you add, the more the current and the voltage are essentially stabilized. So if we look here uh we have a bunch of illustrations more phases share the load and interle them reduces ripple. Um it really depends on multiple factors how many phases you can have. But these are just examples. In general though like the more power hungry and sophisticated your workload you'll likely have more phases which is once again why the GPU had more of these chokes which are the inductors specifically uh than the CPU in the GB300 board. Okay. So we've been talking like pretty low level. Let's let's jump back up to a higher level overview of how we power the system and in particular let's talk about how backup power plays a role in these data centers. So at a facility level we have the grid which can be supplemented both by a generator and a bees which stands for a battery energy storage system. So if we think back to the Cruso Sparks center which had a 12 megawatt solar panel grid with 63 megatt hours of batteries that would be the battery energy battery energy uh storage system and these both feed onto the main AC bus which would probably be in a medium voltage uh setting so that you can balance essentially resistive heat loss with power density. And then you have your uninterruptible power supply which runs through the the AC bus in order to allow a battery on the UPS to take the load if ever there is a supply disruption. So that we have the rectifier inverter and then now we go from the broader campus to the building to the rack. So once at the rack level we have the rack level PSU which we've discussed in detail that goes now from AC to DC for good. And then what you might have are some BBUS. So these stands for battery backup units. And these would be like coll-located beside the rack. So you might have one rack here and then a second rack with some battery backup units. They also could be on the rack itself. Once again depends on the design choice, but these feed onto the rack DC bus. And then this is an even more local way to buffer power shortages or power uh overages. So you can think of it as like just a local version of what the UPS batteries are doing and a faster latency version because the farther you wait, the farther away you are from the compute, the longer the delay is for some type of system to kick in. Like the most extreme example would be a generator which takes multiple minutes to kick in after a supply of power disruption. And then if we zoom in all the way to the chip, which which is what we were just talking about, right? We have the capacitors which are at the same level of the VRM that through this Vcore rail, this voltage core rail supply power all the way to the chip and make the GPUs go burr. Okay, so let's talk about the BBUS for a sec and see where they come into play. In particular, let's say that we're doing a compute load and maybe somebody just like sent in a new request on a really heavy ML workload that makes the load rise by 40 kow. So the thing is the power supply units although fast are non instant. So let's assume that the power supply units take a linear amount of time to increase by 40 kW in 0.2 seconds. So what that means is that for this triangle of time there actually is a deficit in power which needs to be s uh which needs to be provided by. So this is what the battery backup unit does. We can assume that the battery backup unit is much faster than the PSU and can instantly supply this load. And if we just simply calculate the amount of energy this would require since it's a triangle we first multiply by half and then we multiply by 0.2 seconds and then the y- axis here would just be 40 kow. So if you multiply these out, you get 4 kg required of energy from the battery backup unit to make up for this load rise. And if we look at the top here, both the power supply unit and the battery backup unit are putting power onto the vertical rack DC bar. And if we consider another example where the PSU is actually twice as slow, then we have twice the energy need. So 0.4 instead of 0.2 2 seconds being multiplied here gives us 8 8 kg required from the battery backup unit. And then as you can imagine once we have the power supply unit giving the energy it requires for the load then the battery backup unit would taper off and stop powering the bus bar. Okay. So just as we can have a load deficit, we can also have a load surplus. So let's say for example you're doing like a heavy matrix multiplication and then now the GPUs stop to all reduce or essentially share their weights and update their parameters such that they are in sync. In that case you'll definitely get a decrease in load. So if we consider the exact same 40 kowatt drop this time um if you had the uh the PSUs taking 0.2 2 seconds to stop giving that 40 kW access. Then now instead of uh like discharging 4 kg, the battery accepts 4 kg to prevent the bus from increasing in voltage because essentially if you have excess power on this DC bus. What that means is that your voltage will go above the 50 50 volt rating or whatever the rating is of the of the uh uh the the bus just because of P equals IV our favorite formula. And if the PSU takes twice as long to slow down, then we get twice as much energy required to absorb. With that being said, if the battery is full or is for some reason charge limited, then the bus voltage will rise. There's no other choice. The energy has to go somewhere and it essentially just goes into increasing the the potential difference of the voltage on this vertical bus. And in practice, that could mean going into some capacitor. Okay, so we've discussed the battery backup units in the abstract. Let's now look at what they are. So, they look quite similar to the power supply units. And I would assume this is not by accident. You want to have these components standardized and fitting into the same trays so that you can not have to make a custom tray for every single part. And in this specific example, we have delta BBUS which are 3 kW and output 48 volt DC. Interestingly, this is like a onetoone correspondence with the power supply units that we discussed previously, which outputed 3 kW uh from AC to DC. These ones just directly output DC since that's how batteries work. The one thing worth noting here, though, is that this system is only rated for 15 kW, which likely means that you have N plus1 redundancy. So, at any given moment, maybe only five of the batteries are on, or maybe the six batteries are on, but they're not running at peak uh power. That might be the the the best example here. And what this means is that yeah, you just have one level of redundancy as opposed to outputting 18 kW where as soon as one of the battery units uh has a error then you are below your output uh rating. So the last thing here to note is that when our batteries are recharging between different cycles if we don't give it enough time then over time the battery could completely discharge. So if we first look at the right side here we have a discharge of 40 kW in 0.2 2 seconds leaving a 8 kg deficit. And let's assume that the battery only has five sorry half a second to charge back 10 kow. And in this assumption we assume that the discharge speed or rather power rate is four times the charge rate. In this case if this occurred repetitively then you might be in a situation where your battery is not charged which is not desirable when you actually need the the battery to support some excess load. And then on the left uh we have a situation where you do have enough time. So if you have a 4:1 uh ratio between discharge and charge, you need at least four times as much time in order to recharge the battery just because of energy equals power times time. Okay, so hopefully by now you have some intuitions on the trade-offs between having a higher voltage and less current which gives better power density and the contrary which in most cases is not practical but also helps in terms of having lower voltage which is safer overall. And with this trade-off in mind, in this chapter, we're going to discuss how 800 volt direct current can reduce copper and free compute rack space with increases in density of these racks. And what I really want you to have in your mind right now is that graph we saw from the previous chapter which demonstrated racks reaching the 1 megawatt level as soon as a few years from now. In particular, in this case, we're going to discuss throughout this uh chapter 100 kilowatts of energy or rather of power and how this differs in supplying it in alternating current versus direct current. So, let's jump right into it. First of all, we can already say that 1/3 less copper is required when converting or rather supplying power and current through direct current. Why is this? It's because if you're using 400 volt three-phase alternating current, you need three phases which requires three equal copper legs. And then if you're using direct current, direct current just has a positive and a negative conductor. And so there's just like one less conductor that you require in order to deliver the same 100 kW. You might be asking, okay, but maybe the current is different. So actually this is a poor representation or a poor comparison. But in fact the same 100 kilo the same 100 kilowatts needs nearly the same current in each conductor for 400 volt 3-phase AC versus 800 volt DC assuming for example the power phase is one for simplicity. So let's just reveal the currents for 480 volt 3-phase AC you need 120.3 amps and then in 800 volt DC you need 125 amps. Um we can also modulate this. So if you want to get exactly the same amount of amperage, you need to increase the the voltage slightly to like 829 or something. But uh without loss of generality, 800 volt DC for the same current uses a third less of the conductors. And then because it uses a third less of the conductors, it also has almost a third less heat loss in in this comparison. So let's assume 10 micro ohms or 10 milliohms sorry per conductor of resistance and the same power efficiency of one assumption. If we calculate this for the three-phase AC using the uh the resistive heat loss for alternating current formula we get 434 watts of heat in resistive heat loss. And then in contrary we get 312.5 watts of heat loss 800 volt DC. So already you can see that we need less copper and we lose less heat because there's less copper and it's just allowing us to supply more power in an efficient manner at a high level. There's also some cons and some pros. So that's what we're going to discuss in more and more detail. In fact, this road map of converting data centers to direct current is going to be done over the next few years in approximately three phases. So this is uh the three phases in one slide but we'll talk about each one in separation. So first of all what happens is that in this current setup and the regime we have alternating current entering the compute rack and then being converted to DC inside it. So this is what's happening today. You have the facility alternating current from upstream power room. Then inside of the data hall itself you move you move power in alternating current. And then within the compute rack you have the power supply units that go from AC to DC. And then um on the device itself now you're in the direct current regime. And so in this example we are just talking about what is happening today. And so this AC toDC equipment space which is being occupied by the power supply units is taking up space. Uh and you can you can see in the next slide that will actually be freed. So before we jump to that let's see what like what are we actually talking about in this slide. So now in phase 1/2 which will be I guess starting this year but extending to 2028 we have a sidec car which converts AC to DC beside the compute rack. So literally what a sidec car is is just like a a rack beside it. Uh I don't know why they call it a car. I think a better name would be a side rack but you can think of it as a rack on the side of the main uh compute unit which converts converts AC to 800 volt DC. So in this case we go from facility AC and then it goes into the side car which converts to 800 volt DC and then now within the rack itself we have nothing that's alternating current. This may be a this may be a exaggerated statement but much less alternating current than what was done previously. So you only have this DC toDC regulation and then we still need to obviously go down to the low device voltage on the compute rack itself uh so that we can supply the chips at their desired input range. But now the power supply units which took up in the example of the GB 300 eight shelves are free. So we can either put more compute trays there, put more Envy link switches there. The compute density is increasing which is what you need to take away from this chapter at a high level. And then finally in this third and final phase which is projected to be occurring in 2028 to 2029 upstream conversion lets 800 VC 800 volt direct current run through the data hall. So what do we mean here? in some upstream power room, you probably go like directly from medium voltage alternating current to 800 volt direct direct current and then within the hall within the data hall most of the direct current will be distributed in 800 volts or sorry most of the current will be distributed in 8 800 volts at least the current that's for the compute and then this side actually does not change. So if you guys remember this uh this final box it is not changing at all. In fact, the reason why you're adding these side cars is so that you can develop like the final output of what this transition is trying to reach, which is to say a compute wrap, a compute rack that is purely in direct current. But before we can get to this 800 volt DC hollow distribution, which you can imagine will require a lot of new parts, a lot of new changes, we'll just have this temporary phase where the side cars are kind of acting as this quasi data hall distribution before that's actually built up. But the thing to retain from this is that in the second and third phases, the compute rack is actually constant. Okay, so one thing that we did not raise uh in the last three phases is like when are we actually stepping down from 800 volt DC to the lower voltages. So like for example maybe we'll go from 800 to 50 in order to be uh able to convert down to a lesser voltage. So once again we talked about all roads lead to Rome with respect to voltage conversion. We'll con we'll consider two two examples here in in this uh mini case study. So let's say that you step down at the rack entrance. So what do I mean? Let's say that you're inputting 800 volts direct current into the rack and that once you get on the vertical bus bar before actually entering this bus bar, you do a DCTDC converter such that the voltage of this vertical bus bar is 50 volts and then afterwards you just have the device conversion at the tray/board and then the rails uh for the chip voltage itself would be in the one voltage range. Conversely, what you could do is step down at the trays, which is to say that make the vertical bus bar 800 volts and now at the tray convert with some voltage ratio there and then once again at the voltage regulator modules which gives you the same voltage at the end. So these are two options of how you can step down 800 volts with the main difference being in one option you have a 50volt vertical bus bar and another option you have a 800volt vertical bus bar. In this case, the good thing is that you are going to have a better power density or rather less resistive heat losses because you're keeping the voltage higher for longer. But in the top example, you have more compatibility because there's already much more support for racks which have a vertical bus bar in 50 volts for the power distribution. And then another thing which is a bifurcation is saying when we go to 800 volts do we step down first or rectify first because there are two ways to reach 800 volt uh DC from medium voltage alternating current. What I mean is like okay let's say that you have MVAC let's say that you have 10,000 volts alternating current. Either you could rectify that to direct current and then step down to 800 volt uh direct current or you could first step down the 10,000 volts AC to like 800 volt AC and then rectify to um direct current. So the one that I just explained is the top where you go from medium voltage AC you transform to low voltage AC then you go through AC to DC converter to rectify and regulate to 800 volt AC. This is noted as the conventional path. Why is that why is that the case? It's because it uses established transformers and lower voltage power techn power electronics which are much more developed and established. But in the second in the second example here, we rectify first or we can actually do this in one shot. So we can both rectify and perform this um uh voltage step down if we use what's called a solid state transformer. So conventional transformers uses like massive iron core and magnetic coils to step down voltage or step up voltage. And solid state transformers are different because they use actually like a bunch of electronics and semiconductors. It's much more sophisticated but actually is smaller than a traditional transformer. And because of this, it is like more tunable and able to be uh integrated in different electronic paths. So to go through this stage here inside of the solid state transformer, we go to medium voltage AC to rectify it and then have this internal DC link. And then once we're there, what you would do is do this high frequency transforming with switching to convert to 800 volt DC. This is not a solid state transformer course. These are quite uh cool and sophisticated systems. There is a really good resource on this by professors at the ETHZurich in Switzerland. So I would just recommend searching up solid state transformers data centers ETHZurich if you're interested in learning more about solid state transformers. But the simple thing to note here is that it integrates the functions in a medium voltage electronic system such that both the rectification and the voltage step down happen in one system. One thing worth noting is that there are these new high voltage silicon carbide devices that could make solid state transformers simpler and more competitive than they are today. However, their widespread adoption in data centers still has to be demonstrated. And another thing worth noting is that like the first ever solid state transformers that were put into widescale use were in Switzerland as well and that was I think around 2012. So the problem here is that there's only like 14 years of data of how these things perform and when you're doing like a cost uh cost trade-off analysis for a data center that's like not a lot of data for informing choices and also the solid state transformer made in 2012 is not the same one as today. Whereas with conventional transformers, they're tried and tested and everybody knows how they work. So once again, the bottom path has more variance on like will it work, will it not work, but could potentially make them much more simpler and competitive compared to the conventional process. Okay. And to talk about a very early data center that moved to DC, this is perhaps one of the earliest of them all. So Zurich West, which is a data center in Zurich in Switzerland, moved rectification upstream in 2012 by having essentially a 1 megawatt DC system that went from 16 kovt AC input to transform that into 300 volt DC distribution at this central conversion unit which first step down the voltage of the alternating current and then rectified it from AC to DC which is the conventional path and then would pass through this 300VT DC distribution to the servers and storage. You can see here though that this is like a non-compatible unit since this was like probably a bespoke system. They chose their own direct current distribution voltage. In any future system, the open compute project which is what what essentially uh sets the standards for these voltages and power requirements. they have settled on 800 volts as the direct current voltage which will be used in future data hall distribution systems. Okay. So one thing that is new when you change much of the feeding of the electricity to direct current is it now needs DC rated protection. So what am I talking about here? Here we just have some sample circuit and first of all let's establish that both AC and DC currents need fault protection. This is not something that only DC needs. But the thing is with alternating current it naturally crosses zero twice period helping a breaker which is right here distinguish an arc after the contacts open. We mentioned this briefly, but since DC has no periodic natural zero polarity, the protection must instead force the current to stop. So, so in this case, both the rectifier, the capacitor and this inductor can feed a short circuit. So, the breaker must interrupt that DC fault and withstand the voltage afterward. In fact, zero current does not mean zero voltage, right? Because if you have a pipe system which is closed off, you can still have pressure from the mentioned the example we mentioned in the primer. So in short when it comes to direct current disconnecting the supply alone does not remove the stored energy from the circuit. There are some similarities and differences with this as well as alternating current. But overall the challenges posed with direct current are larger and require adaptation from the current set of standards for redundancy and current breaking that are being used in alternating current systems. All right. So let's quickly discuss a example of migrating from alternating current to direct current through these side car or these side racks. So let's assume that we have a existing alternating current allocation of 240 kW and that this side car that we add is 96% efficient with 3 kW of upstream auxiliaries which just means that we also need to supply 3 kW to some other like fans or whatever they may be and that we have two 120 kW racks that are in direct current or essentially accept power and direct current just like most racks. So if we just run through the calculation here, what we do is first of all multiply 2 by 120 to get 240 and then divide this by 0.96 because that's how much heat we lose or rather we need to multiply this value slightly to account for the amount of heat we lost and then also add 3 kW. So in this calculation we get a required AC allocation of 253 kW which is 13 kW more than allocated meaning that in this system the existing AC allocation is insufficient. So either you would increase the AC allocation or another option is like somehow reduce the power of the racks. So maybe this just means like remove one GPU from the racks each. Of course this is kind of contrived but in any case if you actually did do this you would act you would get 7.83 83 kW uh of capacity remaining since the required AC input would now be 232.17 kW. So there's a cool example which is probably a similar scenario to what data centers will have to face when they're calculating what they need to do in terms of integrating these side cars in their data centers. And now let's discuss one final time the three phases of upstream rectification that will be used to replace AC distribution in the hall. So in fact the current phase is just what's happening today. So I should have rephrased as let's discuss today and what's happening in the future. Once you get the DC side car you'll go from medium voltage AC to step down transformers to step down to lower voltage AC. And then you have this AC switchboard which essentially will distribute the alternating current to the various feeders and the various buildings and the various uh racks what whatever they may be with these power distribution units. And then where you distribute where you're sorry where you're becoming uh diverging from this first uh diagram is that now the power distribution units are going to these side cars which convert to 800 volt DC and then the 800volt DC is going to the racks themselves as opposed to the power distribution units going to AC going to the power supply units as opposed to the power distribution units giving AC to the racks giving that AC to the power supply units which are then finally going to direct current and then in the data hall level direct current or direct medium voltage DC scenario we go from medium voltage alternating current and then we can use a medium voltage rectifier or a solid state transformer to get to 800 voltage DC in our distribution hall of the data center and then this will go on a on a busway above the racks that's also 800 volt DC and then it will also go at 800 volts within the racks. So when you keep all of this transmission at 800 volts, you can imagine you just need much less like rectifiers, much less uh transformers. It just vastly simplifies the system and then furthermore allows us to pass energy uh in a more efficient manner as opposed to 400 volt alternate current. given what we established at the beginning of the chapter where we talked about the conductors being like a third less required as well as the heat losses also improving. Okay, so in the last two slides, we've essentially gone over the AI data center power stack. And this is just a figure which kind of goes from layer 1 to the endpoint, which is the Nvidia GPU die, and talks about some of the different companies that are involved in each of these sectors. So if you're had if you've had like a specific interest to any of the specific uh sections of these chapters then you may want to check out companies like Hitachi Energy, Genosa, Genova etc. So just quickly going through these layers at the grid and substation infrastructure level we have high voltage transformers we have switch gear which once again kind of distributes the voltage and also uses circuits and breakers to secure the power. Then we have the substations. Then you have high voltage DC interconnects which may be used if you're actually transmitting energy in direct current. That is the case in some specific scenarios but mostly it's alternating current. And then if we look at the lead times here, we're talking about 4year transformer lead times for specific high voltage transformer and switch gear which uh is just a evidence to the immense scarcity of this type of energy infrastructure. Then in the second layer, we're at the data center and power distribution level. So we have these power distribution units. We have uninterruptible power supplies. We have busways. We have high voltage direct current distribution which will be more and more important as we move on in the future cuz right now HBDC is not really used in that many data centers. And then of course you have cooling distribution. And then you have critical power which is to say like battery backup systems and other ways to ensure that the power is sustained whenever there is a utility or grid issue. Okay. Now going one level deeper at the rack level/ power level. So here we're talking about the power supply units, the shelves themselves, the high voltage DC rack conversion. So this would be the side cars in the 800vt transition. And then furthermore, you have these new PSUs that advertise between 18.3 and 30 kW per unit, which if you remember is like 10 times more power than the 3 kW units that we talked about previously. And just to be specific here, this is Delta Electronics, which is advertising these levels of power per unit with the 800vt DC transition in the future. Moving on, we have power semiconductors, which is not really a layer in it itself, but is more so the different materials that you will be will be used to allow 800 volt DC to be just even more efficient. So for example, you have these silicon carbide metal oxide semiconductor field effect transistors which are essentially just these transistors which are used in the solid state transformers. And then similarly you have these gallium nitride field effect transformers which can be used to replace silicon sorry not transformers but transistors um which can be used to replace silicon transistors at apparently 25 to 40% fewer losses but you should definitely caveat this because these specific technologies are much less tested than the conventional transformer techniques and this is in the context of once again 800vt rectification. So some companies here that are worth noting are Infinion, Wolf Speed and SC Micro in particular. And then at the final layer we have the point of load which is to say the actual GPU die and the chip level voltage regulator module. So that's what we just discussed uh in this course or in this chapter. But then you also have the integrated voltage regulators which are essentially a more intelligent voltage regulator module which can be used to replace that component in the future. And then you also have the power management integrated circuit if I'm not mistaken which is just another way of managing managing the power that you feed at the circuit level. And here there is also a few companies such as Vicer Texas Instruments monolithic power systems which you can check out if you're interested. Okay. So in chapter 10 we'll discuss networking and interconnects which is one of my favorite topics here. In fact, it's kind of along the same hierarchy scheme of rack to compute to GPU as power, except this time instead of electrons, we're talking about like data moving through optical fiber and copper in order to communicate between these different devices. So, let's start off this chapter with a little meme to uh lighten up the mood. So, I mean networking and interconnect of course requires lots of memory. So, as you guys can see here, the AI Grim Reaper has already actually got rid of all the RAM, GPU, and SSD and made it hard for consumers to buy it. Next is actually CPUs because of reinforcement learning, but that's something completely unrelated to this. Uh, but there you go. We'll start it off with a nice little meme. Hope you enjoyed that. And now, let's actually get on topic. So, a distributed model uses different networks at different scales as we looked at like the the first image there. So the the first thing we'll talk about here is a scale up which we already know about. Uh let's talk about a specific example. So let's say that you have a GB200 NBL72. In that case you can run a Kimmy K3 instance which is a few par a few trillion parameters. I think it's 2 point something trillion parameters Kimmy K3 is. And these GPUs 72 will communicate with Envy link which is an alltoall communication platform or paradigm which is to say that every GPU has a connection that is zero steps away so direct connection to one another. And then when it's on a scaleout domain this is more relevant in terms of uh training and pre-training in particular. So, we're talking about going between different racks. And an early example of this was Llama 3.145B, which trained on more than 16,000 H100s in 2024. And this was within a data center. And then outside of a data center, we're talking about across campuses and regions. And I really want to highlight for a second Fairwater, which is Microsoft's platform for connecting different data centers. In fact, um the two examples here that we'll highlight in the next slide is their major data centers in Atlanta and in Wisconsin. So, let's just go straight ahead and I'm going to zoom in first. So, these are like their their flagship data centers. So, you can see that it's going from uh Georgia to Wisconsin and I think it's in Atlanta. I don't know where the specific data center in Wisconsin is. And it uses something called AI wide access network, AI WAN. And what this is is essentially Microsoft's own fiber network which allows them to communicate between these two data centers in milliseconds which is also still possible on the regular internet. But the improvement here is that they can save a bit of latency by not having to have any cues or like essentially compete with other traffic on the internet. It's literally just these two data centers which are communicating with Microsoft owned or rented um interconnect that is just laid in the ground. And another thing I want to note is the fact that this these two data centers are actually two floors. And this is quite unheard of like most data centers are one floor in length uh just or in height rather to simplify things. And the reason why they did this is just to improve uh density of compute because you can like have twice as much essentially if you have two floors. But if you go and like read about the fair water buildout, they have some interesting observations and notes on like well what are the bottlenecks and obstacles they had to overcome. For example, with just like supporting the weight of all these 1.5 ton racks on a second floor to make sure that they don't fall on the first floor. So I'd recommend um if you're interested to go search up the Microsoft um fairwater architecture to see how they actually set this up themselves. So that's the data center to data center level of communication. And two quotations that I do want to highlight from their blog post is according to them it's it can support in the future training models with hundreds of trillions of parameters. So we're not there yet. And um I think by the time we are at a hundred of trillion of parameter model uh regime that like this data center will probably be like obsolete. So I'm not sure to what extent this statement is actually like reliable. But the other statement which is more pertinent here is the dedicated fiber between the sites which is to say that uh according to them it allows the data to travel congestion free which is the important thing at nearly the speed of light. So of course the speed of light is at its maximum inside of a vacuum otherwise it's slower than the the the actual like value for C which you see in all the formulas. But in any case the congestionfree aspect of this network is quite compelling and you also see this with like Google TPU data centers as well. So within the GPU rack and across rack hierarchy, what's the actual like memory layout? So on a GPU, it's very simple. You just go from GPU HPM to the compute unit. So if you're doing uh compute on a Nvidia GPU, you'll be using the tensor cores to actually do the math and then loading in the weights and the activations etc. as well as the KV cache from the HPM. And then with respect to within the rack, uh we already actually discussed this. You're going between the NVLink switches and then across racks, you'll probably be going from the GPU to some adapter or network interface card. So that was the connect x connect x uh 8 super nick in the case of the NDL72. And then uh you go from this adapter to these fabric switches which are optical links between racks. And then you go from one adapter to the next. go to the other GPU's network interface card and then you have essentially achieved a connection between two different racks and you can now pass data between them or do whatever you please in terms of communication. So you might be asking yourself right now like why are we talking about data center interconnect or rather um model and GPU interconnect in a data center course and the reason for this is hardware software codeesign. So just in this example here we have two GPUs which are in some sense combining results to uh perform some calculation across NVL link switches and in this case maybe it's a form of parallelism like tensor parallelism and let's say that you were like naively building a data center and we're like completely unaware of the levels of interconnect and communication that your GPUs would need to orchestrate. So maybe you're building a data center that's meant for training models, pre-training, and you don't invest in scale out bandwidth, which is to say that within the racks, the chips can communicate really fast. Maybe it's NDLink, but let's say that you don't invest in like the Infiniband, which is the Nvidia scale out network such that now when it comes to training the models, you have like insane memory latency and you can't even train them fast. and then uh like what's the point of having the data center anyways. So just as just to like motivate why we actually want to focus on the networking and like the topologies it's because if you don't use this to inform the construction of a data center then you might regret the final product once it's built. So with that, let's actually jump into Infinity Band or Infinity Band, sorry, which is Nvidia's scale out network technology. And these connect X7 adapters are what is essentially used to communicate between the chips on different racks. So this specific network interface card which is what you can also call this adapter runs at 400 gigabytes per second and uses PCIe5 which is just to say principal uh peripheral component interconnect express 5.0. This is what you use just to connect a lot of different um devices and it's a universal um standard with a 16wide bus and then you put these in these Quantum to QM9700s. The name isn't important, but once again, these are what holds the individual adapters. And this is the Infinity Band, Infinity Band itself. So, each one of these leaves, which is what we'll call them in the next slide, has 32 physical cages. And each cage has two of these adapters. So, you have 64 ports per Quantum 2, and each one is 400 GB per second. And like I called it a leaf, right? This is this is because like the way that they're actually organized in a data center topology is through this spine leaf uh sort of arrangement. So essentially if you have two DJX H100's uh which is a older version Nvidia rack then they might be interconnected via two leaf uh infinity band nodes and then one spine infinity band node such that to communicate between the two you would jump to the leaf and then go through the spine and then get to the other H100 through its leaf and this is in a super pod specifically. So this is the name of this specific H100 architecture. And then you might be asking like is this the only technology or rather topology that we use for communicating between different racks? Well, no. So it's common but not universal. So here you just have a copy of the architecture that we saw previously where traffic between different leaves crosses the spine and these are all called switches in general. So like the actual infiniband node which performs the communication between the servers you'd call it a switch but we have other systems as well. So Taurus and Dragonfly are two types of topologies that are used specifically for tensor processing units the Google TPUs. So when you talk about a Taurus is essentially where you have each um each TPU connected to all of its neighbors in like this six-way configuration. And then Dragonfly is also this sophisticated thing where you have like these pods which are connected to other pods with these really fast uh data center interconnect networks. In any case, these topologies are like less important to know viscerally and just to be aware of like them existing. And then um you also have different custom fabrics which I imagine like if you look at the AWS trrenium which is their chip perhaps they're using their own topology. I'm not sure, but I'm I'm certain that this information is publicly and readily available if you're interested to find out for yourself. Okay. So, when it comes to the actual substrate, like where or like what is the information flowing through, there's usually two prime candidates. So, you have copper and then you have optical fiber, which is like to essentially say um you're moving through light or you're moving through like electricity, which is um copper is electric and then optical fiber is based on light. Um here E to O just means like you're going from the electric domain to the optic domain because essentially what I'm trying to de uh develop in this slide is to say that when you use copper it's usually over short shorter distances and then light is over longer ones. So why is this the case? Well copper loses and distorts electrical signals. So the reason that we actually have up to 2 m long coffer in this specific 400G linkx cable which is Nvidia's uh cabling for connecting these uh highspeed scale out domains is because beyond 2 meters you get into these like distortion and signal losses. So what you do is you have these short passive copper links that are simple and use a little little power but then you switch to the fiber which uses these modules at both ends to convert electricity to light and back. And we've talked in this slide specifically we're talking about a 2 m passive copper cable as one option for moving data across two different ports. And then in optical fiber there's actually two different uh options here. So we have up to 50 m for this multi mode optics which means that there's like multiple light signals to pass information and then we have up to 500 m for single mode DR for optics and in this case it's just like one beam of light passes information which you can imagine reduces the latency but also reduces the bandwidth but allows you to have a like stronger signal uh and make the signal loss lower. So these are the two different ways that we can move information and they're both essentially just pragmatically developed for either balancing like simplicity versus like distortion over over long longer distances. And when it comes to optics on the chip itself, there's a new concept or not really that new but an important concept which you can which you should know. It's called co-ackaged optics or CPO as opposed to pluggable optics. So on the left you have pluggable optics which puts electrical to optical conversion at the front panel right here. So it's a longer electrical path whereas co-ackage optics moves it beside the switch chip itself. So the switch silicon here the optic the optical engine is here shortening the electrical path. What you need to know is that both approaches remain in use. Like in traditional servers, you'll probably have like just standard pluggable optics, whereas in like high performance AI accelerators, it'll likely be co-acked optics. And I would like to liken this to the lesson we learned about voltage regulator modules, which want to make the path of high resistance, high current electricity as short as possible. Similarly, here you want to make the electrical path really short so you can get into the optical domain faster and just send the information. um at light speed, right? So, this is kind of a trade-off here where the copackage optics definitely does introduce some more packaging complexity, but then allows you to get an optical domain much faster than in the left diagram with pluggable optics. So, I realized in editing that I forgot to mention two of the biggest advantages of co-ackaged optics. Number one being much lower power consumption since the electrical path is much shorter. And number two, the bandwidth you can serve is much greater than with electrical conductors. Okay. Now, let's do a quick case study to make sure that we're actually learning what we're talking about. But before we discuss the example, I realized there's a few things that I still want to mention about these switches. So, with the Quantum 2 Infinity Band platform, as I mentioned, there are 32 cages with each one having a pair of two 400 GB gigabit per second ports. So I think I've been so far mis misspeaking here. So the capital GB is gigabit and then capital G, capital B is gigabyte. So that would be eight times faster, but we're doing gigabits here. So I apologize if I've been using this term incorrectly up to now. It's also funny that Nvidia will publish their numbers in gigabits because it makes it sound faster. If you report in gigabytes, it would be eight times slower. This is a classic example of Jensen math. Or another example would be like if they have some network adapter which is 200 Gbits at one way and 200 Gbits another way. Even though the simultaneous speed of any given moment is 200 Gbits, if you add them together, you get 400 Gbits. And sometimes this is also uh presented by Mr. Jensen himself. So just a funny thing to note there. But the reason I mention this is because when you have a network that is in a leave spine kicker configuration with this quantum 2 infinite band platform, you have these up link and these down link arrows. So I think if I show you here, it's the easiest to to see. What this essentially demonstrates is that you have 32 GPUs connected below at the DJX1 H100 level. And in fact, there are eight GPUs per rack in the H100 DGX system. So, if you do the math, you get four H100s connected to one leaf because you have 32 connections down um sorry, four H100 racks, which gives you 32 GPUs connected below. And then at the spine, you have 32 up links which go into the spine. So, 32 down, 32 up. This is how you connect the leaf spine network. It is pretty logical when you think about it with these ports mapping one to one in this type of relationship. And then coming back now to our case study, we talking about cross leaf bandwidth. What do I mean? So when I mentioned four racks being collected connected to one leaf, what this means is that if you're doing any type of communication between these four racks, you don't need to go to the spine to get to there. You can simply go just to the leaf and then do the communication there and then come back down and this is what is done in practice and let's just go through an example here. So let's say that you want to communicate between four ports on a leaf without going to the spine and you would call this cross leaf bandwidth and then going through this leaf would just be called like the cross leaf cut. And so if we have four uh four separate ports, that gives us 1,600 gabits per second from those four server ports. But let's assume that we only have two uplinks between them. So this would give us a 800 GB per second uh uh transfer speed across this boundary. So that's a 2:1 over subscription and the 2:1 down link to uplink ratio. So if we actually go in gigabits and say let's let's transfer 256 Gbits, well, we can only do that in 0.32 seconds. And this is the minimum transfer time. So this is the lower bound with some overhead and other things going on. You'll probably be slower than this. And this also assumes bounds traffic in one direction. So these are the assumptions under this calculation. But if we now add another two uh links that can give the one one down link to uplink ratio, well then we can half the time at this 1600 Gbit per second uh transfer speed to 0.16 seconds. So you can see that there are some considerations to be made to be made in the cross leaf cut bandwidth um in terms of how fast we can transfer storage or weights or whatever it is between the leaf. And then you can imagine if you go up to the spine, well now you're going to have to add even more latency because you're adding actually one hop to the spine and one hop to the uh the leaf that you want to do. You can actually think about this in the context as well of just like a RAM hierarchy. So if you've heard like a cache hit or a cache miss, this is essentially when the CPU is trying to query from its RAM and its registers. And the higher you have to go in the RAM stack, the longer you have to wait to get the data back. Um, so you can just think of this leaf and spine type of topology as a blown up version of CPU memory in this context. And the whole like topic of like multiple senders overwhelming one receiver, which was kind of what we were seeing here when we only had two uplinks available at each leaf is called incast. So you when you when you essentially have one receiver receiving from many different senders at the same bandwidth as its um uplink, then you just overwhelm that receiver. So that's just a piece of terminology and as I mentioned here, so traffic staying within a leaf avoids its shared uplinks. So if you're going across these two leaves, let's say you're going between leaf one and leaf four, then you might pass through these two spines, split the split the workload into two different uh essentially spines and go twice as fast to go between these two leaves. But if you're only going between leaf one, then it the exchange stays stays in leaf one. There's no need to uh go outside of the leaf that you're calculating without within. if you don't need to. Okay, now let's talk about a real implementation of this type of infiniband scale out. Interestingly, Meta has both built large clusters with in Ethernet and infiniband. So, infiniband being the proprietary technology that is used by uh Nvidia or rather that is created by Nvidia and then Ethernet being the other standard. So in particular they used Ethernet plus R OCE which stands for RDMA over converge Ethernet and RDMA stands for remote direct memory access. What does remote direct memory access mean? Well, it essentially just means that the adapters, which are the network interface cards, can transfer data into remote memory without going through the CPU, which usually manages the copying of memory into inside and outside of uh the local chip. So, this just allows you to move memory at a much faster rate with less overhead. But in any case, whether using this Ethernet plus ROCE or the Infinity Band standard developed by Nvidia, both fabrics need to coordinate routing, congestion control, collective software, and job placement. So these specific criteria determine how well the workload will use the installed network. And as you can determine from this uh set of criteria, it's like a four-dimensional optimization space. And maybe there's even more criteria that I haven't mentioned here. In any case, um, at a low level, what you have is these adapters communicating to these switches in either protocol in some type of topology and when you reach a 24,000 GPU level orchestration, which is actually small given the level of uh GPU runs that you have today where you have like a million scale uh GPU and TPU rollouts, then the networking gets just as much complex as you scale just gets even more complex is what I mean as you scale the number of devices. So I mentioned um optical switches these OCS so optical circuit switches which can change which fiber endpoints connect and we mentioned this like in a previous chapter when we talked about TPUs. I just wanted to talk about like a really low uh not low level but actually a high level of how these work. So let's say that you have an optical circuit switch with these mirrors that is pointing from port A to C and B to D. Well, since the mirrors can see the light path, let's say that you actually want to go from B to C and A to D. Well, you just augment the mirrors and you can in real time change where the data is going. And this diagram here actually shows how it works for TPUv4 with these MEMS mirrors. In any case, you can see that the complexity is astounding. you have 136 mirrors in this array and it's just passing this light uh through 855 nanometer wavelength and it's the one once again that can like actively reconfigure if there is some like path which is no longer available. Uh so I think this is just quite a compelling graph and diagram to look at to determine like how does optical circuit switch work at a at a high level. And uh once again go to the link here on the bottom left screen if you want to know a bit more about that. And then when it comes to like actually going outside of the data center we talked about Microsoft Fairwater which had their own AI wide access network is what they called it I believe. So that's one option and then also you can just go through the classic internet. So let's talk about the campus fiber handoff which connects the AI cluster to external services. So this could actually be its own users or maybe to another data center. So you first go from the AI cluster to the router which directs traffic and then once at the patch panel this is what actually organizes the the physical connections and sends the data to the meet me room. What's the meet room? has a funny name. It's essentially the data center's fiber connector to the carrier. So I guess when you think of carrier, you can think of like AT&T or other like internet providers which actually connect different customers. So this may be yeah a a customer or it could also be the uh case with the fiber that's used exclusively by Microsoft in their um own data centers to communicate with each other. And then once you're outside the network, it's just either on the private network or the open internet. So it's worth noting just in terms of like a spacing problem that the fail facility needs space for this handoff and the planned fiber fiber entrances and ducks such that um it doesn't interfere with like power and cooling or other aspects of the data center. And then furthermore if you remember we talked about how there's this one data center where it had three separate approaches for the fiber. Well, once you have the three different fiber approaches coming in, the question becomes, are you gonna have three different handoff points or consolidate them all into one room? The problem is there you have like a single point of failure, but it'll be less redundant. So, a lot of questions here that come into play when you're talking about how you're actually getting the data in and out of the data center. And I think it's quite provoking. So, now just to give you an idea of like the distances that we're talking about, let's say that you want to go 100 km or 60 mi. And this is what's the distance that's separating two different uh facilities. Since uh signal's speed in this calculation is not the speed of light, we'll assume it's instead 200,000 km/s. Well, to go between these two different facilities, it would take around 1 millisecond. And in fact, there's this set of really interesting like fermy calculations that Jeff Dean has posted where essentially it demonstrates, okay, if you're going between Europe and North America, this is the millisecond bandwidth or latency you should uh you should expect. If you're going between two states in the US, this is the latency you should uh you should expect. And I think it's quite interesting because when you're really optimizing at a Google level your bandwidth and your network, then these are actually like numbers that you need to consider when you're serving your end and your and your users, your customers. And um this is just one example, but having these numbers in the back of one's head as just a sort of a first order approximation can be quite helpful to reason about the different latency times that you should expect when communicating between different data centers. As we know in like everything it's like the slowest link that sets the pace. So even if you're dealing with servers, let's say that uh you're waiting on the fourth server to do some collective operation. Maybe you're trying to synchronize synchronize sorry the weights and do some all reduce operation to compute the gradients of your of your forward pass or sorry of your backward pass in a in a training run. Well, if one server is taking much longer than others, then you're set up at uh being 50 milliseconds for all four, even though three servers at 20 milliseconds. So we've already kind of talked about this already in terms of well if you're doing a collective communication then you're as slow as your slowest constituent. So this is also applying to like even the topology of the switch and spine leaf hierarchy. Okay. And now before we close off this chapter I want to talk about a quick example once again with meta. So in their RSC which is their research supercluster here if I zoom in then you guys will see the name the meta research supercluster which is from January 2022 so quite some time they built storage in in tiers to keep the GPU supplied. So in particular they had 175 pabytes of bulk storage 46 pabytes of cache and 10 pabytes for shared file storage. So what was this what was this actually for? In essence, they prepared the data sets uh that would be used for the training runs in uh like in advance to reduce repeated preparations and transfers. And you can think of like at the scale of internet data when you're training these massive models. It's pabyte scale. So it's not just like loading some like USB file to send the data and get the model trained. you're really requiring storage equipment and network capacity to make sure that um the models have access to whatever data they're using to train. And this storage and networking capacity also needs its own rack space, power, cooling, and cabling. So, we don't just need to think about the GPUs, but also how we're networking in together. especially in the context of like massive pre-training runs. When you're just serving users at inference scale, this is like less of a concern. But if you're specifically making a cluster for pre-training, then this definitely needs to be considered. All right, now we're on chapter 11, which is about chip and rack heat chap uh heat capture. And I've started off with quite a provocative title, namely, why is air cooling dead? And if you remember once again this was a way back in the beginning of the course I mentioned that I would show some statistic which demonstrates the comparative advantage of using air uh liquid cooling over air cooling. So let's set up the the the standards here of wanting to have a 100 kowatt system being cooled with some 10° uh Celsius temperature differential. Okay. So if this is the system that you want to want to cool essentially you would be cooling the the the system by 10° then in order to do this by using the fundamental heat transfer equation which is essentially stating that uh this dot here by the way is just like the delta time that's what it's referring to because it's referred it's referring to some change in time. The way that you calculate this is by multiplying the mass flow rate, which is this mass flow rate here, by the specific heat capacity and the delta temperature that you want to get the the heat transfer equation. And if we actually solve for the uh the mass flow rate or equivalently the volume times the density then you'd get that for this cooling situation 8,292 L of second of air would be required and 2.39 L/ second of water would be required for the equivalent cooling. And there's two reasons for this. First of all, it's the density of water which is 1,00 kg per meter cubed versus 1.2 2 kg per meter cube of air. And then also the specific heat capacity, which is kind of like how much heat can water like absorb and store in its bonds is four times larger than air. So air has a specific heat capacity of around 1 kg per kilogram centigrade and water has around 4 kg per kilogram centigrade. So you don't really need to know like the background theory. You just need to know like a higher specific heat capacity means it can store more it can store more energy essentially. So this is just like a a more theoretical way to start off the chapter. But don't worry, we're going to talk about these numbers in a much more tangible way. But let's first talk about what we're doing now with air cooling. So out with the old, in with the new. Just for the sake of completion, I'm going to tell you guys how air cooling works in general. So an aircooled rack is just like fans, just like a just like a CP uh sorry, not a CP, a PC that you'd have at your house where you have warm air coming out and cold air coming in. And the heat exchanger is called a CR, a computer room air handler, where you exchange the air with either water or I think usually it's water since water is just better or perhaps you could have a airto-air handler. I'm not sure if those exist, but in any case, you're essentially exchanging the air from the racks with some type of exchanger here which is converting the heat from our computers to go outside. And then right now with the current systems, we use a coolant distribution unit which is essentially coolant on both sides of the exchange where you have the technology coolant that goes to the cold plates and the facility water that goes outside. The CDU brings the heat from the left to the right. And the interesting thing here is you may have some remaining air heat. So like let's think about it. If you put a cold plate on top of the GPU and circulate water to get the heat and absorb it, there'll still be some that escapes outside of the sides and you need to do something with with this uh so that it doesn't just go into the air and like heat up the data center that way. And the way that you actually can resolve this is called is either via using your own CR in addition to the CDU or more interestingly using a RDXH which stands for a rear door heat exchanger. Oh, so it' be a RDHX. Sorry. Uh, so I'll talk about the rear door heat exchanger in detail in a future slide, but just know that even if you're using a cold plate liquid cooling closed loop, you may still have some remaining air escaping. And that needs to be addressed because although over a short amount of time, it would like likely not lead to a massive increase in temperature, over many days, you would definitely get a noticeable increase in the temperature of the data center if this is not addressed. since you don't have like this perfect energy capture via via the chip cold plates. And what are actually the chip cold plates? So these are two pictures of GB300 cold plates. They're made of copper as well just because copper is a really good conductor of heat. And essentially you have this in and out flow for the liquid because you have the hot coming out and the cold coming in with the which is probably the blue node there. And then in this diagram they're on the left and the right as opposed to in the center. And then how this connects to the CDU is well you have the cold plate with its own quick disconnects which is just there so that if there's a leak or if you need to replace something you can actually just remove only one cold plate instead of the entire system. Uh and then this is going into the manifold where the technology coolant circulates and then this is how you get from the cold plate to the coolant distribution sorry the coolant distribution unit. how this actually looks like in practice at least with respect to the uh overarching plumbing is such. So this is a look at the liquid cooling inside of Abalene where you can see that you have these headers that are going to the top of the data centers. Sorry, not the top of the data center but the top of the racks and this is how you exchange the heat. Once again likely the blue and the red demarcate whether it's hot or cold uh in terms of which way the the liquid is circulating inside of the uh inside of the racks. And then I talked about the rear door heat exchanger. So now I'm actually going to properly uh introduce what it does. So let's say that uh yeah, you do have this extra compute that escapes the cold plate and goes into the surrounding air. Well, now you have some warm air in the rack. And then what you do to get rid of this warm air is you have some fans at the front of the rack which blow air to the back of the rack. And then you have a rear door heat exchanger which literally is just a bunch of liquid cooling manifolds. Uh so essentially think of like liquid pipes that are flowing through the back of the rack and capturing the air so that it doesn't escape the rack. So I think this diagram on the right here really shows it best. Let's say that you have the coolant coming in from the bottom and then filtering through like a radiator just like a car radiator actually such that the fans blowing the hot air to the back of the rack get the air captured in this air sorry in this uh water and then the warm coolant goes back to the same coolant device unit. So that it's actually going through the same uh loop as the the liquid cooled chips but just through a separate uh through a separate circulation. And then now your air is cooled such that um you don't have this problem of like excess air going and heating in the data center. So that's another way that you can kind of use liquid cooling to heat sorry to cool the air by essentially pushing the air to the coolant and then uh having it exchange heat that way. So that's how a rear door heat exchanger works. Now I want to talk about something really funky which is called immersion cooling. And I would say that generally this is less applicable in the context of AI accelerators in like these massive AI data centers, but is nevertheless still used in in data centers. And it's exactly what the name suggests. Literally, you put the racks inside of fluid. So I was very careful not to say water because water can conduct electricity and that will just like shortcircuit everything. So instead you use dialectric liquid. And dialectric liquid means it's a liquid which acts as an insulator. So essentially you have this data center that has racks filled with dialectric fluid. So literally I'll just skip one side quickly. The computers are in fluid. And I don't want to say water once again cuz it's not water but it's some dialectric fluid. It might be some like type of mineral oil. And essentially what happens here is that you have coolant that pumps the water through this rack and then it has its own heat exchanger which then will chill the water in its loop. This can be in any type of method. So it can be a chilled water loop, an evaporative cooling tower or a dry cooler. We'll discuss each of these in detail in a few uh slides. But in any case, what you should know is that you have two types of immersion cooling. So you have singlephase liquid cooling which is shown here where the liquid inside of the rack does not evaporate and then secondly you have two-phase. So in this setup what happens is that once the liquid that's dipped uh sorry once the the liquid that's with the compute units gets heated sufficiently it will boil and then condense and then once it condenses it will cool back down and then you would recirculate it into into the loop. So those are two ways that you do immersion cooling. Either purely through liquid or liquid than gas. And um yeah, this is just an image of what it looks like inside an immersion tank. I learned this literally while I was making this course. So maybe this is not new news for anybody watching this. But in any case, it still shocked me that you have computers that were dipped in liquid. I thought this was a fake image initially. So now that we've gone through immersion cooling, let's let's switch subjects to define two terms that are important. Number one is heat flux and number two is thermal resistance. So the tagline here is that the same heat can be harder to remove. What I mean here is that um with heat flux, it's essentially heat transfer rate divided by area. So on the left you have a 4 [snorts] cm cubed or not cubed but rather squared uh compute die. Let's say that it's like some chip and you want to remove 400 watts of heat in a second or 400 jewels in a second. So that would be 400 watts. And in this case you would have a heat flux of 100 watts per centime squared. That's like the heat transfer that you need to do per square centimeter. But if you had an even smaller compute die, so let's say it's a quarter of the size. So instead of being 4 cm squared, it's 1 cm squared. Then the heat flux would be four times larger. If you consider it has the same heat transfer rate and you can think of it as in the right, it's just harder to remove that same heat because it's more concentrated as opposed to the left. All right? And actually we'll talk about thermal resistance in the next slide. So for now just recall that heat flux is talking about the heat transfer rate per unit area of some type of object. In this case the denser it is you can imagine the more difficult it will be to cool. And now let's get into thermal resistance. So the formula if you recall is delta T equals P R theta with P equaling the heat rate and R theta being the thermal resistance such that when you divide these terms out you get units of Celsius which makes sense because um the temperature is on the left so it could be Celsius could be Fahrenheit, Kelvin, Rankine etc. And now let's develop some intuition on what this this this formula is saying. So let's first start off with what does thermal resistance mean? It means that the GPU in this example of a GPU being cooled by water must be 0.2° C hotter than water per watt of heat flow. So if we think of this at a at a really actually low level, if we want to cool the the GPU or want to remove one watt from the GPU, then the temperature difference between the GPU and the water needs to be 0.2. So in that case, the GPU would be 30.2° and the water would be 30° C. But now let's say that well we want to remove 100 watts from the GPU and the temperature of the water is 30°. Well, if we know these two uh these two numbers, then we just plug them in to the the formula here of well the heat rate is the amount of heat and the thermal resistance is a specific property of this GPU and we get 20° is the difference required between the water and the GPU to to remove 100 watts um from from the GPU to the water. So thermal resistance you can kind of think of as like for a specific material how much does it resist getting cooled or getting heated depending on which way you look at the equation and which way you have the delta t. But in any case this is a useful formula because it tells us for a specific material what is the cooling capacity that we will need. In this slide, let's talk about why 35 degree coolant can cool two chips differently. So in this case, we're going to really apply this formula for thermal resistance in practice. So let's consider the the strange situation where you have two chips, one at 67° and one at 83° despite the coolant being the same temperature and despite having the same amount of heat transfer. How what could explain this? Well, it would be this thermal resistance. So if we assume that chip one has a thermal resistance of 0.08 08 Celsius per watt and that chip 2 has a thermal resistance of 0.12 per uh Celsius per watt. What that means is chip 2 needs a higher temperature differential to achieve the same amount of cooling. And if you just plug these numbers in, then assuming a chip limit of 80°, well, to get 400 W of heat out of this chip, then you would be exceeding the temperature by 3° cuz your temperature difference would be 48°C. Whereas in this time in this consideration because it has lower resistance it can essentially have a smaller temperature differential to cool the same amount of watts on that coal plate. So you would imagine that when you are building these cooling systems you want to have the interface between the chip and the cold plate to have low thermal resistance. Okay, let's look back at the fundamental heat transfer equation that we saw on the first slide, which once again says that the mass flow rate times the specific heat capacity multiplied by the temperature difference is your heat rate. And what we want to develop from this is to realize that more flow means less temperature rise. So let's consider two situations here. First of all, we have water coming in at 35° C and then passing through a heat pickup on a 100 kowatt system and then now it's heated up to 44.57° given a giving a delta t of 9.57. And what you need to notice is that we plugged in 2.5 kg/s as the mass flow rate in this formula. But let's say that now we double the flow to 5 kg/s because we've doubled the flow uh here the m now the delta t becomes half which means that there's less temperature rise. So essentially what we're saying is that if you can move more water through the system then the water will get heat get heated less essentially and I think this somewhat makes intuitive sense like imagine like you just double the amount of water well double the water can absorb uh the same amount of heat but get heated half as much because there's twice as much water to absorb the heat. And uh this is one way that you can kind of intuitit this fundamental heat transfer equation. Alternatively, if we half the heat rate, then the temperature rate sorry, if we half the mass that's flowing through the the system, then the temperature will double in terms of the amount of increase. And of course, the specific heat capacity CP is a number that is specific to that type of u water or whatever type of coolant you're using. So glycol is also really common in terms of the liquid that you use for cooling. But this is not something that we can change unless we actually change what is in the side of the system. Okay. So on the previous slide we saw why coolant flow matters. Here we'll talk about what determines how much flow we actually get. So the horizontal axis is flow in liters per second and the vertical axis there is the pressure difference the pump adds to drive coolant around the loop. And in this case the pump speed is fixed and the the the line is downward sloping because at this speed it can produce a larger pre pressure difference at low flow and a smaller one at high flow. That's just how the nature of a fixed speed pump is. And now if we look at the two upward sloping lines, they show what the cooling circuit requires for a given flow rate. What would the what would the corresponding pressure be? And essentially pushing more coolant through the pipes, valves and coal plate makes a larger pressure difference. In fact, these two quantities are related quadratically. So as you increase flow rate, the corresponding pressure is uh quadratically scaling. So a flow rate that would double would cause a corresponding pressure difference that would quadruple. And when I say prefer pressure difference, I mean like the pressure of the water that is coming out of the pump versus the pressure of the water that's coming inside of the pump. Because essentially as a pump goes through a circuit or as the pressure of the water goes through the circuit, it will lose pressure uh as it goes throughout and then it will regain pressure as it uh passes the pump. So in fact where these two lines meet where the pump line and the two different um flow rate lines meet is where the system settles. That's what you could call the operating point. And why are there two different points? It's because I'm considering two different circuits. So at point A, the pump provides the pressure the circuit needs to sustain 2 L/s, which is 120 kilopascals. But now let's imagine that the valve is partly closed or a filter is clogging. Maybe there's like a lot of minerals in the water and it starts to scale and make a clog. Well, then getting the same flow that restriction requires more pressure. So, that gives us this steeper dashed red line. And even though the pump speed hasn't changed, the flow falls to about 1.4 L/s while the pressure difference rises to 140 kilopascals. So, in summary, the pump is still running and it's producing a larger pressure difference, but less coolant is circulating. And that's why we need to check flow as well as pressure since the equipment still needs enough coolant to carry away its heat. All right. Now, let's talk about what's called the approach for the coolant device unit. And this is essentially the gap between the two supply temperatures. So, it's a really simple calculation. The calculation asks what is the temperature of the water that is going to the chips subtracted by the water that is coming from the facility. So these are both of the cold sides of the loop. So if you look at the returns that is when it's heated up in instead the the the approach is asking for the chip cold length and the facility cold length. What is the difference? And essentially a lower approach gives more coolant temperature margin but may require more exchanger area flow pumping or cost. So in this example we have a five five degree difference in temperature. The extreme case would be like the temperature approach could like approach zero if you had like almost a perfect um heat exchange between the facility loop and the chip loop. Of course in practice that isn't the case and you usually have a approach in like the five to three degree range but that's just a estimate. In any case, this is one of the important metrics that we use in order to determine the heat exchange at our coolant device unit. And like what is a coolant device unit in terms of like what a picture would look like. So here's an example of a cool IT CHX2000 which is a heat exchanger that has a rating of 2 megawatts thermal at 5° approach. So you can now kind of reason why approach is important. It's essentially the number that we use to report the statistics of this heat exchanger, which is to say that at a five different five degree difference between the water that's going to the chips and the water that's coming from the facility, we can exchange 2 megawatts thermal. And this essentially means like you can exchange 2 million jewels per second of heat. And the pumps themselves are running at 2.125 or sorry 2,125 L per minute uh at 30 and this gives you 35 PSI. And then what else you're controlling? Well, you can you can modify the temperature, the flow, and the pressure based on the system that you're working with. But these are just a few of the standard rates that would be used in the in the in the C in the in the CDU. And this is what it looks like with the cabinet. So you can see the difference between inside the CDU and uh just the outside of the cabinet. I want to quickly mention to you that Cool It is a cool company because they started off making gaming C uh gaming PC cooling equipment and then they pivoted into data centers and now we're worth like billions of dollars. So it's quite a interesting story and turn of events for this company. And we talked about redundancy in the context of uninterruptible power supplies and feeder lines and these AB corded dual paths. Now let's talk about it in the in the in the context of coolant distribution. So if you have 1,00 kW of heat that you produce in your computation, then n redundancy or approximately n redundancy would be if you have two 600 kow CDUs because you can you can provide 1200 kW of cooling. So you can meet the cooling requirements and then um N plus1 would be okay can you now provide 1.5,000 watts of heating and in this case sorry 1,00 kW that is actually 1 megawatt so 1.5 megawatt of cool of heating and uh in this case you would have three of these CDUs and then if we jump to a two-end system this would be two separate loops so a a loop and a b loop of two CDUs which are completely independent because if one facility loop fails, we need the other one to pick up the slack. And if you want to get a better intuition of what this looks like, it essentially means that either cooling train can carry the load. So at normal operation, you have 2400 kows of capacity, but you're probably only using around 1,000 since that's what your load is running. And you may either have one on and one off or perhaps they split the load at like 500 kW each. And then once there is a path loss or maybe you're just doing maintenance, uh you can have the second path serve that cooling requirement and uh allow your computational workloads to continue to persist. So you can imagine that when you're dealing with a data center that needs like a 59's runtime, which I if I'm not mistaken was only a few minutes of downtime per year, then most likely you'll have some form of 2N redundancy or maybe even a 2N plus1 redundancy on your cooling. And believe me, there are many different configurations which you can have in order to cool your equipment. It simply is a question of the the requirements that the project has and the budget as well since it's more expensive the more redundant your system is. And now let's consider that you have this n redundant system. So you only have two CDUs and you can cool it normally but then let's say that one of them fails. So essentially what happened is that you had one CDU at 600 kW and another at 600 kW which was fine but now that there's only one remaining your original load is in excess of the heat uh that you can cool or that the heat that you can extract. So what you might do with some controlling um is simply reduce the load so that you can at least reduce and produce some computation maybe delay some work which is not like time sensitive and continue to run the load. So you'll definitely see in data centers some form of controlling that uh would do this reduction in load whenever there is in fact some cooling issue and you have reduced cooling capacity. So what this would look like in a graph is you're running at 1,000 kW you lose power to one of your CDUs. Maybe now you can only capac you now have a cooling capacity of 600 kW. You reduce the power and then you measure to make sure that the coolant capacity is above your current load. Okay. I also mentioned at the very uh beginning how we have this rear door heat exchanger and let's just do like a branching uh problem to exercise our new found capacities in how data center cooling works. So let's assume that we have a rack that's 100 kow and we know that 85% of the heat can be removed by the coal plates. This means that 15% is residual air or 15 kow. So what are you going to do in this case? What you can do is either use a CR a computer room air handler to get rid of that 15 kows and let's assume that you have a 20 kow capacity. So in this case we can just simply um use the CR and then have actually 5 kW to spare if in some case the the weather's really hot or there's some issue where we need to have a bit more air cooling capacity. But once again, the other option which I think is more interesting is the rear door heat exchanger where not only can you use the liquid cooled plates to remove heat from the the chips, but also push the air to the back of the rack where the heat is collected at the rear door and the liquid then brings that heat to the outside of the building. So this is two ways of how you can think of removing heat from air and that closes this chapter. So now we're going to move on to the next one where we're discussing similarly heat but instead rejection on a more global level and also water usage. So we've mainly been talking about like heat within the rack and like a local lens, but the reality is the heat still has to leave the site. So, like if we just look at the three-step flowchart here, we collect the chips heat in some warm coolant. Then we carry it via the coolant distribution unit to a separate facility loop with this heat exchanger. And then we release it with some uh heat transfer outside. That's kind of how it works. It's ominously like pretty much like a heat HVAC system uh just like in a home, but uh now it's like liquid cooled instead of just air cooled or depend depends on actually what your HVAC system is. Anyways, at Avalene, the heat goes to outdoor air. So, that's actually how their system is implemented. How it works is that you have the facility water that gets the heat from the uh the the CDU and then an air cooled chiller is used to move heat outside, which you can think of as essentially like an air conditioner. So you have this refrigerant in the chiller and the electricity compresses that refrigerant to have like essentially a larger ratio of heat transfer with the environment and you use this compressor to remove heat from the building. Another term for this type of heating is non- evaporative rejection. But one thing you do need to note is that the fill and maintenance still use water. So the initial fill of the system requires a lot of water and also maintaining the system might mean that you have to dump all the water out or replace some percentage at some point in time. Okay. So when it comes to like interacting with the environment, there's two different uh classes of heating. Once again, evaporative and non-eaporative. So you can kind of generally classify the evap the evaporative cooling into like wet cooling and then dry cooling for the non-eaporative. It kind of makes sense. So start off with dry coolers. What you do is essentially you collect heat from your building and then you move it across a radiator and then you blow air through it. It's that simple. You can also add a refrigerant here with a compressor if you want to have a bigger ratio of heat transfer, but once again that depends on the environment in the system itself. And then if you're in a wet cooling regime, what's going on? So you have heat collected from the building and then you move this heat across what's called a fill with nozzles. So a fill is essentially this material. It's usually like a polymer that maximizes surface area given a volume. So it's like some type of lattice shape where essentially you put the water along this fill so that it's exposed to as much air as possible such that it evaporates at least some of it will evaporate into water vapor and take away the heat. And what this means is that the resulting water that comes back into the system is much cooler since a lot of heat was lost through evaporation. Of course, now you need what's called makeup water to make up for the heat that sorry, the water that's lost. And then secondly, you also have what's called blowdown. What the heck is blowdown? So blowdown is essentially water you have to remove from the system because it has too many minerals in it. Why is this the case? When you lose water with water vapor, you essentially increase the concentration of minerals in that water. And this is really bad because then you'll have like scaling and like calcification of your pipes which will reduce the flow rate and the pressure as we saw in a slide of the previous chapter. So in order to prevent this there is some sort of periodic blowdown where you just evacuate water from the system that has too high of a mineral concentration in order to avoid this. So not only do you have to add makeup water but you also have to remove blowdown. So it's like a double whammy of like requiring water which just demonstrates the intensiveness of uh wet cooling towers. So once again, do you want your cooling wet or dry? That's the that's the question here. It's very much a environment question and if you're in a desert, then the answer is clear. Uh just to give a another way of kind of intuiting what what was going on with the evaporation. So water evaporates, you get a high concentration of minerals, then you discharge it which is called blow down and then you refill it with the makeup water. So that's the simple cycle in three steps. Okay, I talked about dry cooling and wet cooling. Now there's another set of concepts that are somewhat related but not really. It's called dry bulb temperature and wet bulb temperature. So first of all, dry bulb temperature is ordinary temperature. It's simply the air temperature measured with a dry shaded thermometer. In contrast, what bulb temperature is the temperature measured with a thermometer covered in a water soaked cloth and exposed to air flow? And what happens is that evaporation cools this water and makes the difference in temperature larger. And I like to think of it as like sweating. So what I mean is if you make your skin wet and you measure the temperature of your skin, it will actually be cold due to evaporation. And guess what? That's what sweating is. Essentially, your body lets water accumulate at the surface of your skin through sweat. And then as soon as that water leaves your skin, it evaporates and removes heat from your skin. And that's why if you touch like a sweaty arm that's like not directly in the sunlight, it will be cold to the touch because the evaporative effect has released heat from your body. That is how sweating works. And interestingly, there's only one time when dry bulb temperature and wet bulb temperature are the same. Maybe you can guess. It's when the relative humidity is 100%. And what do I mean? If the relatively if the relative humidity is 100%. Then there is no water to become the water is saturated in the atmosphere. There's no more water that can go enter the atmosphere. So if you sweat your water will just stay on your skin and actually it won't work. Uh and similarly here if you have a temperature a a thermometer that's covered in water but the entire uh atmosphere and like the air around that temperature that thermometer is also is also saturated with water then there is no evaporative effect and the temperature reading will be the same as the dry bulb temperature. So this is obviously rare unless you're like living in a tropical rainforest. So what we can do is actually manipulate or take advantage of this uh temperature differential when we are using wet cooling. So once again humid air leaves less room for evaporative cooling. But if we do have dry air then you can have a massive difference where the ordinary air temperature might be 35% on the dry bulb but the temperature of a wet weted sensor may be 22° because of the evaporative effect into dry air. However, if you increase the humidity, then less water evaporates and the weted sensor becomes warmer. But still, unless you reach reach 100% relative humidity, then you will still have a colder wet bulb than your dry bulb. And this will be really important when we discuss wet cooling in more detail. Okay, but let's first start off with dry cooling. So, what is the set of uh set of requirements here? First of all, we have a rack which is cooling which is being cooled via this rack circuit here. That is just a closed loop liquid circuit that's going to the CDU and this is the collection phase. Okay. Then in the transfer phase we have 55 degree uh coolant that is heated up that is then transferring its heat and now heating up the facility circuit and it now is going to the sealed coil which essentially passes air across the water and you can think of it as like a radiator essentially but the water is inside and sealed and what happens is that the air passes outside the coil and Water stays inside but heat still transfers outside to the air. And then you have this return where now the cooled facility circuit would come in at 40° and it will cool down the 55° uh rack circuit to 45°. One thing that I want you to calculate here is what is the approach? So hopefully you got 5 degrees because it's once again 45 divided minus 40°C. Okay. But let's say that the coolant limit is 35° C in the chips. So in this case, we cannot actually we cannot actually cool the chips to a sufficient uh temperature in order for them to run properly if 35° is their operating temperature. So dry cooling would not help us run this workload at peak throughput. And you can even kind of reason about this by looking at the dry bulb temperature. So if the dry bulb temperature is 35° then you can't get drier or rather you can't get cooler than the dry bulb temperature in a passive system like this because of the fact that uh there's no like compression there's no compression there's no refrigeration there's no evaporation. So the best that you could get is 35° and that would involve like a perfect temperature sorry a perfect heat transfer which we cannot achieve in reality. So in this case the the system is not able to cool the racks to the different to to the allotted temperature. But now let's hit the nitrous oxide. Let's go need for speed mode. And what can we do to improve the system? What we can do is called adiabatic cooling. So what does adiabatic cooling mean? It's actually a meteorology term what's used in like weather forecasting. And all it means is that even though the water loop is closed, what we can do is actually wet the co the coils of the water. And you can see here you'd make the coils wet. And what this does is that as the warm coolant comes in, this cool air that um is humid will deposit water vapor on the coils and then cause that water to evaporate uh and then become warm. Sorry, it will cause that water to evaporate. Exactly. uh it become warm air and then it will remove much more heat from the warm coolant than through just like passive air cooling with dry air which would be this step here. So essentially what you do is you have this wetted pad which you pass air through and they get this cool humid air that that would probably condense on the coils and then as you pass the hot fluid across the coils that water will evaporate and then reject more heat than normal. So this would be one way we can overcome this heat limit if the air outside is 35° C using what's called adiabatic cooling. And worth noting here is that the coolant loop is still closed but now we have to add water on the outside. Okay. And now let's just discuss a completely wet tower which is to say um there is a evaporative effect going on within the circuit within the coolant loop. So what you'll notice first of all is that the rack circuit is the same. So here we're collecting water from the racks and we're transferring it to the coolant device unit and then the coolant device unit is transferring it to another heat exchanger which has the tower circuit. So essentially the water tower is what passes water along a some type of tower which has a large uh structure in order to pass water through like this type of fill and allow as much of it to evaporate as possible in order to reject heat through evaporation. So if we go to the release phase, what we what happens? So water falls over fill, air takes heat, and some water evaporates. And even though it's 35° outside, the wet bulb temperature is 28° on the actual fill. And therefore, we have this heat and water vapor that's escaping through the water uh through the water uh tower. And then also any remaining water will fall into the basin where we'll also pump in some makeup water and at some point also do the water rejection for any water that has a high mineral content. And then if we do the return we see that in this case we still get a rack coolant that exceeds 35° C even though we have a 28° wet bulb temperature. And this is simply because we have to add another heat exchanger in this wet tower configuration which means that um there's just another place where we have this temperature difference which um is not perfect. And then this is also considering the high humidity uh environment. So if we come back right here right we said in high humidity it's 28° wet bulb but in low humidity we have 22° wet bulb temperature. So if we switch to low humidity now with 22° C, we actually can reach our desired rack coolant supply of 35° C and run our GPUs at the desired throughput and the desired load. So that was a kind of a nice worked example of going from collect where we warm the coolant from the chips. Then we also cross the two exchangers and interestingly we have three water circuits here. Once again we release water into the atmosphere through evaporation and if we have sufficiently low humidity we can achieve our desired rack circuit coolant temperature. Okay. One thing that I want to note is once again that you can still have a closed rack loop but a evaporative cooling tower because you have these separate loops. So you really need to reason about a system and say is all of the coolant uh closed loop or is only some of it because this could be a differencemaker between whether or not the system requires a high amount of water in order to run. Whereas with a dry cooler, right, um you have a closed rack loop, you have a closed facility loop that is either water or glycol. Those are two common uh materials that you use or liquids rather that you use for the coolant and then the dry cooler which is just exposing the pipes to outdoor air without any evaporation within the the facility loop itself. So those are the two different options here. We have the dry cooler and the wet tower. And there you have it. So moving on, let's talk about the compressor a bit. So if you're using a compressor as is the case in Abalene, let's say that you have a 10 megawatt heat transfer from the racks to outside. But now also the compressor electricity becomes heat in this cycle. So you need to add that. And it's worth noting that you'll get more heat in the output because of the electricity that the compressor used. In this simple example, we have 12 megawatts of computing heat plus compressor heat that will go through the chiller and um lower the temperature through refrigeration. Without a compressor, outdoor cooling can still remove all 10 megawatt, but that's only if temperature and capacities allow. So, most likely you cannot always guarantee that through passive cooling, you can remove a certain amount of heat throughout your data center, especially if it's really hot outside. That's why having a compressor is really handy. So, as I mentioned, cold weather can essentially let the compressor rest where essentially you have the warm water from the racks going to outdoor cooler, which is cooling with the air outside and the cool water comes back to the racks and you'll have like a sort of like economy mode or eco mode where the compressor is off and you only have the fans and pumps on. So you still have some electricity with the fans and the pumps, but the compressor, which is definitely consuming the most of the electricity, is not running in that circumstance. Okay, so now we're going to do just the big boss um comparison here of all of the different types of cooling that we just described. So first of all the front end is consistent which is to say you have the IT coolant loop then the coolant device unit distribution unit and the facility water loop. But the question is what connects after the facility loop. So we can split up into three categories of what is happening after the purple rectangle here. First of all, we have the no chiller example where there is no type of like refrigeration or condenser with a compressor. In this type of example, we can use a dry cooler which just has this passive heating through a fan with the coils outside with the optional adabatic assist which we talked about was like the nitrous oxide from Need for Speed. Or you can actually use a wet tower in addition to having no chiller. So what what would this look like? It's essentially the evaporative coolant that we discussed where you have this separate third exchanger loop which has the coolant distribution that then evaporates as water and then needs to be recycled with the makeup water through the wet tower. And these are the two types of no chiller options. Okay, now let's talk about the chiller options. So there's two of these as well. There's a air cooled chiller and a water cooled chiller. So starting off with the air cooled chiller, you have this sealed refrigeration loop where essentially you have the refrigerant that's looping through with a compressor in order to cool down. And then once the compressor is heated up, you cool it down in an air cooled condenser such that uh you have the the vapor refrigerant that is condensed down to liquid again and recycled into the loop. And then we have opt optionally as a third way the water cooled chiller. So the seal refrigerant loop stays the same except here you have a water cooled condenser. What does that do? It's essentially a heat exchanger between the refrigerant loop and the other loop which is the water loop. So you have the seal refrigerant loop that brings in this refrigerant that captures as much of the heat as possible from the facility water loop. And then once the refrigerant loop is heated up, you have another heat exchanger called the water cooled condenser that will either interact with a dry cooler or a wet tower. And if you're paying attention here, that's this or this. So the water cooled chiller is like almost like the big boss because it really combines like a lot of different components together. And if we look at the diagram way over here, what that would look like is you would add another loop here called a sealed refrigerant loop where before this heat exchanger, you would have the refrigerant going through the compressor that would be interacting with the facility circuit. So you'd have the facility circuit, the refrigerant loop, and then the tower circuit. So four circuits in total that perform the heating obligation. Um, I think we should like not get too lost in the weeds here, but just realize that there are many different ways that you can cool these data centers and these are some of the most common configurations. Okay, now let's talk about a really important uh metric here called the coefficient of performance, the coop. So the coefficient of per performance tells us how much heat each unit of electricity moves. So what you should know is that um when you have a compressor you can kind of have like a almost infinite infinity uh efficiency ratio where like for one unit of electricity you can use you can remove four units of heat. And how is this possible? It's because you're taking advantage of the temperature difference with the building and the environment. So if you used one unit of electricity to remove four units of heat, you would have a coefficient of performance of four. Okay. So this is a really common way that we use to determine to what extent our cooling is efficient in particular when we're using compressors. And this also is a very good way to determine how hot weather affects cooling electricity. So let's assume that we have a 8 megawatt computing heat aotment that we need to remove from the facility and assuming that our cooling weather coefficient of performance. So sorry cool weather let's just say like outside it's cold the coefficient of performance is eight then we have 1 megawatt of cooling electricity required to get rid of that heat and if we have 10 megawatts of electricity we can do it um in fact even if we reduce the computing power and we consider the auxiliary power as well we are completely within our limit but if it's too hot outside and let's say that the hot weather coefficient of performance right here is half. So we can only remove four units of heat for every one unit of electricity. Then now we need 2 megawatts of electricity to remove 8 megawatts of heat. And at a full load, we would actually require more electricity precisely 10.4. So 400 kW more than what we can actually afford. So in that case, we'd have to fit to the available power, which is to say we would have to slightly reduce our load to 7.68 megawatt from 8 megawatt. And this is another way that you would have to have to buffer and essentially to reduce the threat of overheating your data center. And now you probably understand the meme that I showed you guys a long time ago where we talked about take it easy buddy. Think of the data centers when it's really hot outside. So you need to realize that the quotient of performance is heavily affected by the temperature that's outside. Okay. Now let's also talk about an interesting question which is these data centers they generate a lot of heat. So sometimes when people are smart they will essentially use this heat for district heating and what what is district heating is essentially like the heat from a data center will be used and recycled to heat up other buildings which is a really nice way to not waste this heat. Uh so let's assume that the data center runs obviously 24/7 and from midnight to 6:00 a.m. maybe the data center has a contract with a hospital to supply 2 megawatts of heat. So that would be their aotment for the entire day whereas the data center produces 4 megawatts of heat throughout the day. So if you had such a such a coordination scheme then for 6 hours of the day you'd have to direct this heat to the hospital and then for the rest of the day uh you would have to release it outdoors. So this is just to simply highlight the fact that there are ways to re reuse this heat and recycle it and it may not be the case that you can always recycle it. So this would require the cooling processes to adapt in real time or at least have a schedule for diverting heat outside versus to some district heating system. Okay, to close off this chapter, I want to discuss this interesting case study which was the 2013 flood in Toronto, Canada. So let's first set up the uh the context of what's going on here, the background. So, interestingly, Toronto uses Lake Ontario to cool downtown buildings. So, Lake Ontario is a lake that is along the border of Toronto and at the bottom of the lake, it's always 5° C. So, not freezing, but very cold. So, they use this deep intake and then pass it through their water treatment plant and use this as both a water supply for the city, but also a heat exchanger to essentially cool down buildings, but also cool down data centers as the heat exchanger. So, it's really cool how this works and uh I think you can understand the mechanism. It's like a free air conditioner essentially except you have to power the pumps of course. What's worth noting here is that there was some issues during the flood. And all I'll say is that this building 151 Front Street West is Toronto's telecom hub and stores like all of the different telecom connections. So, you might have already estimated or predicted what would happen. There was some issues with the power supply for the uh telecom hub. In fact, the generator started which meant that you could still heat up all of the build all of not heat up but rather power all of the racks. But unfortunately, this district cooling system was disrupted and and essentially they had a redundancy on the generators here but not on the N-wave cooling and that meant that the heat started to build up in the system even though the racks were running. So what they did as a sort of a mitigation member uh mitigation measure is to shut down equipment and move services to like only the essential ones and essentially shut down non-essential systems and they furthermore um move the compute workloads from a suite that was hoting that was heating sorry above 43° C to another like portion of data center which was recovering sooner um and transferring the services there. So they had to do some like real time uh transfer of their workloads which was quite interesting. In fact, there's this uh case study where the CTO of this company called Uberflip reported that they worked from like midday all the way to 1:00 a.m. to make sure that these jobs were running and also that they were removing the non-essential uh workloads in order to reduce the heat as much as possible. And there you have it. So interesting case study. The entire account here on what happened is in the link. So I recommend it. This was once again the 2019 2013 uh July 9th flood in Toronto. Okay. As a summary in this slide, what does each cooling path depend on? Well, if we're doing dry non- evaporative cooling, then it's only based on electricity apart from the initial fill as well as operating uh dependencies. But then if you're using a wet cooling tower or just wet cooling in general, you're both you're based both off of water and electricity. So this is the set of factors that you need to take into account when you're considering different cooling technologies. And within each one, as we saw in that like wacky chart, there are a lot of different options. All right, chapter 13, engineering, procurement, and construction, aka EPC. Let's get the boots on the ground and the hammer is flying. So to give a one sentence resume or rather summary of what each of these three terms could mean in relation to a data center, let's say that engineering is sizing the switch gear, transformer and connections. So switch gear being the electric electronic components which route the electricity to the different data halls and the different buildings and also make sure that the voltage and the current are in a safe and operable range. the transformers for changing the voltage and then connections for actually connecting the circuits and then procurement. Order the coordinated package and reserve factory capacity. Finally, construction, build the foundations, bring the skids in which have all the equipment and connect the plant together. So, let's do a little case study here. Let's say that you're building a data center which has 20 megawatts of IT capacity or rather load that needs to be supplied and you originally had a rack design that was 100 kW but now it's been changed to 200 kW. So essentially what we're saying here is that the rack density has doubled. So if we just make this clear through this diagram, the same 20 megawatt is concentr concentrated now into half as many racks where before in a 2 megawatt zone of this data center of which there would be 10 since we're at 20 megawatt you have half as many racks as before. So in this uh 2 megawatt zone, we originally intended to have 20 100 kow racks, but now it's 10 200 kow racks in the zone. And then you'd have 10 of these zones to get your 20 megawatts of it power. And so let's just talk about some hypotheticals here. First of all, the new rack exceeds its existing electrical branch rating. So let's assume that we're using the same shared bus to power these data centers, these racks, sorry. In that case, each branch, if we assume had a 160 amp limit, then we're approximately doubling the amperage if we double the power. and therefore we will exceed that branch limit. So already the branch current needs to be modified or to be more specific the equipment that actually restricts the branch amperage needs to be upgraded. And then let's also talk about the cooling. So as we remember since the pressure is proportional to the mass flow rate squared let's talk about some math. So assuming that originally we needed 2.4 kg/s of mass flow rate to cool a 100 kow rack without loss of generality. Let's assume we need to double that mass flow rate in order to maintain the same 10° temperature rise. So therefore we're at 4.8 kg/s of um flow rate. And and once again if we assume that the branch limit in the cooling circuit is 3 kg/ second 3 kg/s then now you need to rethink what's going on there and then also let's propose or hypothesize that the pressure difference across the connection was limited to 60 kilop 60 kilopascals on the branch then now you went from 20 to 80 kilopascals because of this um relationship with um the pressure and the mass flow rate. So the cooling system would also need to be rethunk or rethought rather if you had such a increase in power density and then let's not talk about the weight right so the rack change concentrates the floor load at few positions where originally you had a one unit load per foot because there was 20 racks in one zone now you've doubled the load in the same 4ft area or whatever the area is of the rack that you're building and So, this is kind of like a a contrived example of like all of a sudden your racks are twice as dense. However, I would argue that once again by referring to that Bank of America research analysis graph where they showed almost the exponential increase in rack density over time. It's almost like this exact situation is playing out in real life just over a longer time period. So every few years the rack density doubles and then therefore you need to make sure that your pipe branches your valve fittings can handle the increase in pressure the increase in mass flow rate that your branches are able to high have a higher amperage or you convert them to 800 volt DC as we discussed in chapter 9. So many different ways to skin the cat in this case. In any case, that's some food for thought for what changes would be required as density of compute increases as a function of time. Okay. So, we also want to talk about a bit of prefab in the EPC chapter because it's becoming an integral process of how data centers are built. So, prefab is almost a self-explanatory term. It means shifting assembly into the factory. So in the factory we can probably handle power distribution make it more integrated. The coolant manifolds can be assembled. The controls and testing can come pre-shipped. The internal wing can be done within the factory. And it can even be tested as well before reaching the site. And once it's on the site, well you still need to do the foundations and the access. Uh you need to make sure that the utility and the cooling plant is actually connected and uh distributed. Then you need to place the different components of the foundation and the field joints and then also bring in the IT racks and the integrated tests. Essentially what we're trying to do here is bring as much of the work that can be parallelized into the factory and then just only do the parts where we have to accept this join system on site. So let's talk about a reall life example. It's called project Houdini which is an AWS project that uh is doing precisely that. So, they've partnered with Certino Electric and this is their factory. So, you can see a lot of switch gear that's being assembled in the factory as opposed to on site. And these data hall skids are both power and cooling infrastructure. And once again, they do the factory assembly test on site and then they connect it once it is arrived. If we talk about a specific product, Seammens, which we all know as the company that makes a lot of different data center infrastructure, partnered with Compass, which is a data center company that makes data centers to make a single skid switch gear transformer. So on one factory-uilt package we have a seaman's switch gear which is distributing the power to its separate feeders and also has it circuits and other breakers to ensure that in the case of a voltage surge or some current irregularity the power is faulted and then we have the transformer which is actually going to be doing some voltage conversion into one units and internal connections and assembly therefore for this specific process cow into the factory. In fact, one thing that you might have thought is, okay, if you're doing all this like factory prefab work, do you get like this insane like modeled Lego situation where you have a bunch of pieces that are being fit together, but it's all custom and hard to reason about what will fit into where. So, luckily, the open compute project, which I've referenced once so far in this course, has essentially a guide which defines the interface between suppliers. So for example, a UQD which stands for universal disconnect might be specified in a open compute project guide such that supplier A can make its piece and just add a UQD plug plug and then you supplier B can have the UKD socket which will accept that plug and then now they don't have to worry about the pet the piece parts not fitting in. So essentially it's kind of [snorts] setting the contract for the output and the input and allowing the companies to still make the function inside. So let's say that night you've now connected these universal quick disconnects. And unfortunately though if we remember since you're still using those 200 kow racks uh these sockets are not that useful to you because uh it they only support 3 kgs per second of coolant and you need 4.8 kgs per second. So even though the connectors made the branch still needs redesign. Another example of a open compute project initiative is essentially standardizing the open source rack. So whereas conventional racks with server level PSUs would look like this where on every single shelf you have a PSU in the open compute project standard you have the rack power distribution unit on the top and it's de delivering three-phase power just like the the conventional form but instead you have these open source racks with consolidated PSUs and this gives you just a lot of benefits because now the PSU providers can focus on making a tray level solution and the comput providers can focus on making their own compute level solution without having to worry about integrating the power supply units. So there's one great benefit of the open compute project and in fact it's the open compute project that is spearheading the 800vt DC effort along with its industry partners. So the open compute project is kind of like sponsored and supported by Nvidia, Microsoft, all of the usual suspects but it is technically still independent from my understanding. All right. So just to give a high level overview of what we've been discussing in terms of pre-fabrication, the one line we need to remember is moving acceptance testing into the factory. So what's now done in the factory is internal wiring and protection, internal piping and leak test, controller logic and simulated signaling. And what's now checked at the site is field cables and protection coordination, the actual joints that attach what has been prefabed and then measuring the flow once you connect the different pipes of for example a cooling manifold and then real sensors and response equipment. So even though you can simulate the signals in the factory, it's probably still smart to verify that the signals and the sensors work on site as well so that you don't have any bad surprises. And before we end off this example of the 20 megawatt power concentration shift, let's say that now we've modified our equipment and in these zones which each have 20 racks, we have electrical, cooling and network done to varying degrees. So what we can see pretty clearly is that in order to satisfy the rack's operating capacity, you need to have all three of these. So at this current point in time, let's propose that only zones A21 or rather racks A21 to A60. So the first two zones or rather the second and third zone since this is the first zone have now met all of the homologation for electrical cooling and network. Um let's also actually add cooling to this zone. And now we have 60 more racks which are powered. And um this is just a process which you'll do over and over in this contrived example in order to eventually get at your 20 megawatt target and power everything after this relatively large change in rack density from 100 to 200 kW. So at this point we would have 60 racks of the 100 and that would give us 12 megawatts of it. So there would still be these two zones which need to be at one in one instanceorked and then another instance um electrically connected. So I didn't even talk about networking but you can imagine that when I had the infinib quantum 2 switches which had 32 down links and 32 up links. Of course, here we're talking about some GPUs that are only um imaginary. We didn't actually specify what GPUs we're talking about. But if you can think of the original switches having double the links, now that we've made the density twice as dense, we'll probably no longer need half of those links because of the increase in GPU density. So that's another thing that we didn't discuss, but in any case would probably be something worth considering. Okay, so this is the last slide of this chapter on EPC. It's just saying that as we mentioned before, Core Weeave had a deal with Applied Digital to make them a set of data centers last year in the fall. And one important thing here is the time is money argument where we need to connect the next 50 megawatts while keeping the first megawatt online. So essentially the moral of the story here is that when you're actually building the site in the construction phase of the EPC and you're able to put a data center online before the entire envelope is done before the entire site is complete then you need to make sure that um you can keep the first one online while building a second one which would definitely require a lot of contingency planning and allowing for different variables. planning for perhaps like some construction incident that could happen while building the second cluster and making sure that that doesn't put the first one offline because these data centers are bu printing money and the the downstream customers core we've want it to be online. Okay. So now chapter 14 of 16 is on the topic of controls operations and reliability. So keeping a data center running and troubleshooting when the S word goes to the fan to speak politely. So let's consider a hypothetical case study here as we start off the chapter where we have the plant dashboard that demonstrates that the plant supply of coolant is at 30° which is normal. However, the row B rack has a chip exceeding its 80° operating threshold. So, it's at 85° despite the limit being 80°. And this definitely signals a problem. And it also signals the fact that the adequate measure is not just looking at the coolant temperature alone. You need to make sure that you're measuring like the chip level temperatures as well. And we'll we'll demonstrate why this is the case in this chapter. So, essentially the short of it here is that row B is still getting water at 30° but only half the flow. So if we look at the look at the column the rows here the rack power is the same the water into row B is the same but now the flow rate has gone from 100 kg/s to 50 kg/s and consequently the water leaving row B has changed from 35° to 40° a 5° increase and not only that the hottest chip is now operating at 85° C which is a 50° jump from its initial ial temperature and 5° over the limit. So, we can like postulate that perhaps there's been some leak or that would be really bad or probably a more a more feasible example or a more real realistic example would be there's something in the circuit which is causing a uh a reduction in flow. So, let's look at how this chip incident could unfold as a function of time. And the title here is that lower flow can leave chips too hot after temperature stabilized. So what does that mean? First of all, let's talk about the top graph which plots the heat generated versus heat removed as a function of time. So the heat generated is constant function. It's just this dotted line here that's 2.09 megawatt. But then we can see that there's a stepwise function here when the flow fails when it halves where the heat removed drops um aggressively. In fact, since we know the fundamental heat transfer equation, this would mean that the heat removed would have halfed. But then the interesting thing worth noting here is as the heat accumulates which is this golden uh shape in between these two lines the heat remove actually normalizes back to 2.09 megawatt and reaches equilibrium. So that's quite interesting to note. It's like saying that essentially as the chips are absorbing this extra heat which is not being removed properly then the difference in temperature is increasing which allows for a bigger heat transfer to occur because of this uh equation the thermal heat transfer equation and therefore it will reach back this energy transfer of 2.09 09 megawatt. But at this point, we've already accumulated a lot of extra heat within the rack. And then if you just look at what would be the the graph of the hottest chip over time, essentially it would have this relatively sharp increase at the beginning since all of a sudden the heat removal has halfed and then slowly taper off as the heating equilibrium is regained. And once again at each chip you have heat flow equals temperature difference divided by thermal resistance. So at the very beginning the temperature difference is smaller but now because there's less fluid flowing over the uh chip it increases in temperature with respect to the fluid and then now once the temperature increase temperature difference gets big enough we'll reach back this um equilibrium state but at that point the chips are already at 85°C. So in this example we can see that the moral of the story is even if the coolant loop is normally and still at 30° Celsius that is not an indicator that in the other parts of the system everything is going okay. Okay. So that was all for our example in this chapter. Now let's talk about some real case studies. So Google developed with de mind a autonomous control mechanism for cooling their data centers and essentially in in 2016 the extent of this algorithm was the AI would advise some human to act. So it was still very much human in a loop but then only after 2 years the AI would control the cooling at 5minut intervals with the operator still setting limits and retaining the override. But let's look at how this system works in a set of four steps. So I'm going to zoom in on each one. And just as a reminder, this is every 5 minutes. So what happens is that in step one, our cloud-based AI pulls a snapshot of the data center cooling system as represented by a thousand thousands of physical sensors. So essentially, it's reading the sensors. Then in step two, which is to the right, it will predict the outcomes based on a neural network. And then on step three, it will choose within the limits defined by the safety settings and with the goal of minimizing future energy consumption. And then step four, the optimal actions are sent back to the data center since it's in another data center that you're actually running this neural network where the local system verifies them against its own safety constraints before implementation. So you see that there's a verify locally step and also there is a step where the AI selects its actions within the safety constraints. So there's like a two-step safety uh protocol here just to make sure there isn't any uh instances where I suppose the AI does some freak prediction and makes the chips overheat. But that's not really worth worrying about because if we actually look at the plot of what happened over 9 months, cooling energy per unit improved from about 12% to 30% below the preAI baseline. And you can also see that as training data increased, this is one of the market indicators of the performance in the cooling system. And I guess this is just a demonstration of the power of scaling data. So this actually worked in practice and this was implemented in 2018. So I imagine Google has generalized this to me many more of their data centers today and these algorithms are like working as I'm speaking and as you're watching this video which I think is quite fascinating. Okay. So when it comes to um operations in a data center there's three control layers and each one solves a different problem. Local pump controls just tells the pumps what flows to have and what pressures to maintain. This is not something that a human would ever manually tune, but it's something that you could watch in an instant analysis for example. Then you have the plant controls which is to say like when do you run the cooling units when do you decrease the max energy that the cooling units are moving and then you also have the compute level which is to say what are the workloads that you're running and should you move or delay compute based on for example cooling restrictions. So this is the lowest level on the left and then these two are at a similar level abstraction except this one is on a facility level versus the workload schedule workload schedule being on the compute level. Okay. So let's first focus on the plant controls and see how this plays a role in how we operate a data center with the following scenario. So the title here is a new job needs cooling that takes 3 minutes to start. And let's assume that this new job is 2 megawatt which is to say that its compute budget or the amount of GPUs it requires is equivalent to 2 megawatt of heat and that currently there's already 4 megawatts of base load running on this data center. those like inference workers or maybe there's already like a pre-training job that is happening simultaneously. Given these uh circumstances and the fact that at the given moment in time when this new job comes online we have only 5 megawatt of cooling available. If we started the job instantly then we can assume that the cooling would not come online in um at the same time and so there would be one megawatt excess heat for 3 minutes while the plant controls bring cooling units online and that's not good. 1 megawatt for 3 minutes may be detrimental and you could lose millions of dollars of hardware. So instead what the plantin control does is it will first of all bring the cooling online by uh or increase the cooling online by 2 megawatt equivalent to the amount of the new job and then once the standby is ready after 3 minutes we can start the 6 megawatt job and avoid any issues from having excess amount of heat build up in our data center. And then you can also notice in this in this example that generally we have 1 megawatt extra cooling versus the amount of heat. This is just one way of having redundancy in the cooling regime. Let's talk about a few other ways. So Johnson Controls which publishes information on cooling standards for data centers has the following guideline. So there's two different types of chillers here. I don't even know what they do and you don't need to know either. We just need to know that for the positive displacement chiller, they recommend an 80% uh cooling or load to cooling ratio, which would say that if you have 8 megawatts of heat, you should have 10 megawatts of cooling. And then this constant speed centrifugal chiller can handle up to a 9 megawatt heat load given 10 megawatt of cooling. And then whenever there's a sustained load above the thresh threshold, you would start the next stage of of coolant such that you're always rounding up uh to have like if you were doing now um 9.5 megawws of of heat, you wouldn't want to only have 10 megawatts of cooling. You would probably go to 11 or 12 depending on what the ratio says. In any case, we can imagine that based on the chiller specification, you would give the real level of redundancy for the cooling cushion or the cooling buffer in your data center. And what are the criteria that you would consider overall? Well, first of all, look at demand. So, if you're using machine learning models like Google, they'll probably see that historically at 2 p.m. the amount of compute spikes. And so, this would be an expected load. you could ramp up the cooling to preempt that and not have any uh throttling on your jobs. Also, usable capacity is just a question of like how much flow do you have, how many cooling units do you have, what's the weather, and what is the required failure case? And then lastly, what's the response time? So there's this always this question of startup delay versus thermal buffer duration which is to say this thermal buffer duration is this this area here where maybe your data center can withstand a bit of it but too much and you're in a bad territory. So it's a trade-off between living on the edge and having a startup delay which costs more electricity of course. Okay, this slide is also cool because it talks about how Intel stored water to outlast the server uninterruptible power supplies, which is to say that in the case where in Toronto we ran out of cold water because of the system failing due to the flood, Intel has a system in one of their data centers in 2007 actually this was published where it could still withstand or rather support 12 minutes of cooling. um which is to say it's designed to cover five minutes of uninterruptible power supply plus 7 minutes if there is a uh issue with the cooling system itself. And in fact during a 2006 outage it was able to withstand 15 minutes of um autonomous load with a lighter IT uh amount. But nevertheless, this is one way of like having essentially cold water as your collateral to your cooling system failing. Okay, another cool thing that Google did is partnering with the utilities in Oregon to reduce demand during busy grid hours. So essentially what happened is that they had coordinated to have this day ahead demand response where with the utility pro partner northern Wasco County uh PUD they scheduled less compute during a forecasted g grid constraint. So essentially what happened is that Google would still serve their search, their map, their video playback, the stuff which needs to be served in real time but as you know YouTube videos are processed um asynchronously. So likely they could do the translation for the YouTube videos and video processing on a deferred basis. So this is precisely what they did. And in fact, this is not actually what the load was, but this is a representation of let's say in the most intense hours of the day, let's say 2 p.m. to 4 p.m. or probably 2 p.m. to 6 p.m. would be more accurate. Anyways, it's usually evening actually. um Google would pause the flexible job during the grid and then just like shift it to afterwards when there is less pressure from other consumers like houses or other people that are taking advantage of the grid. So I think this is a really interesting example of essentially deferring work that is not urgent for grid reliability and grid resiliency. Okay, now let's talk about Cloudflare, which everybody knows is like the spine of security in the internet. And what happened with Cloudflare was a single point of failure disrupted their three site cluster in Portland, so also in Oregon. And what happened is that their core services including their dashboard API and analytics all went down for some large amount of time. And why did this happen? It's because their site PDX04 which stored their click house database and their CFKA went down and sites B and C which still were up were no longer operational because it turns up it turns out that they depended both on this data center. So the real outage removed the entire PDX04 facility but sites B and C were also nonoperational. And so what happened after this incident was that there was the code orange declared and they had this whole uh follow-up work to make sure this doesn't happen again where they essentially expanded the capacity to have more servers and networks. They also fixed the failover to remove single-sight service dependencies and they tested the facility lost to find and repair remaining gaps. So obviously with hindsight you'd say, "Oh, this is so simple. Why did they not have the data set or their database on all the other sites? But given the complexity of data centers, you can imagine that there are like a thousand other potential single points of failure. So maybe Cloudflare had addressed 999 and this was the last one and all it takes is one collateral single point of failure to make a large outage occur. But in any case, they did some type of testing to find and repair the remaining gaps. And I'm happy to report or I guess they were happy to report that the next power failure saw APIs and dashboards recover in 7 minutes. So the next year I think this this was in November 2023. Yep. In March 2024, the same facility loses power again. So I mean I guess already this is a sign that maybe this facility has some power distribution inefficiencies or in inadequacies. In any case, it lost power at 1458 or 258 and at 3:05, 7 minutes later, everything was back up and no human intervention was required for the API/ dashboard recovery. And um yeah, analy analytics recovered later that day. So clearly they did something right here and um they went from a multi-hour or multi-day outage, I actually don't remember how long it was to a 7-minute outage. In fact, now let's talk about another type of outage which was in Google's case due to hot temperature. So this was in Europe West 2A which I believe is in the UK. And what the quote here says is that one of the data centers that hosts zone Europe West 2A could not maintain a safe operating temperature due to simultaneous failure of multiple redundant cooling systems combined with the extraordinary high outdoor temperature. So the first thing is Google being the massive company it is and serving billions of people already has multiple redundant cooling systems. But despite this still had this outage which was probably in part due to these extraordinarily high outside temperatures in July of 2022. And what they did in response was quite um quite quite fascinating. So there was the extreme heat which failed the redundant cooling and then they did a protective shutdown which is to say that Europe West 2A was partially shut down and they stopped some virtual machines such that the other services could not get this collateral damage from from the rest of the system failing. And so this is like some type of preemptive maintenance in this um really bad scenario to prevent it from propagating to the rest of the system. And the actual timeline was that restoring curling, restoring cooling began a further 14 hours after the service recovery. So let's look what happened. Um 4 hours and 8 minutes was the cooling repair. And then cooling was restored but it still took another 14 hours and 15 minutes to recover the service which was the next day which really involves restarting servers, restoring dependencies and reconciling state despite restart sequencing and service state reconciliation continuing right after cooling was restored. So, it took them 14 hours, which makes sense given the scope of these data centers and how how much data they process. But the the summary in this scenario is you can purposely turn off your system when it's starting to go south in order to prevent the situation from becoming worse than what it is currently. Okay, let's now talk about Meta and Llama 3 in particular where for the Llama 3 pre-training which lasted for 54 days, they were able to make progress despite interruptions. So, in fact, in the training of Llama 3, there were 466 training interruptions with 47 being planned and 419 being unexpected. And all of these interruptions were recovered from, meaning that there was a greater than 90% effective training time with only three incidents needing significant manual intervention. And you can imagine that when you're training models on like the tens to hundreds of million dollars in terms of cost, that an interruption, which does reduce effective training time substantially, is costing millions and tens of millions of dollars. So having a data center which is able to recover from some type of systemwide outage or lack of synchronization is extremely critical. So to talk about what Meta describes in their redundancy scheme, first of all they only update one maintenance group at a time. So they call them trains and these are groups of clusters where they'll put one offline and purposely make these groups such that one being offline allows the entire workload to persist. Um this is how they do their maintenance and you can check this article here to see what the domain sizes are specifically. I just like this graph in their article where they talk about how the maintenance cost is such it's like a U curve or like a V-curve where the domain size as you increase it well you have less interruptions because you don't have to go and like turn off all the individual units to maintain them. But then there's a sweet spot where in a specific domain size you have just enough that you can maintain a large amount and like efficiently maintain your units but also the rest of the units are still a good enough amount to have the capacity where if you keep on going to the right you get this higher capacity loss from the domain. So you can see that the maintenance is like already this optimization problem of how much should we turn off and how much should we put online when we're maintaining our systems. And in this case, Meta has their answer and read this article if you want to learn more. Okay, this is the last slide in slide 14. It's a knowledge check. So what is it saying? Can row C take another 2.5 megawatt under the given uh restraints. So first of all in in normal operations row C does 2.09 megawatt of power consumption and this is done through water cooling and we have 100 kg uh per second of mass flow rate to to give us 30 3 to 30° of Celsius input and 35° of Celsius output with a maximum return of 40°C. And now the question is if we increase the workload by 2.5 megawws and we assume that we have enough electrical headroom in terms of like the amperage on the buses as well as cooling headroom in terms of the pressure increase that we must achieve. Can we still maintain this maximum return below 40° C? So if you want to use the fundamental heat transfer equation to see whether or not we can uh get this answer, please be my guess. Already the heat capacity is known for water. So we can plug that in here. And also the mass flow rate is also constant. So we don't need to change that. In fact the only thing changing is delta t. In fact we just add 2 we just put 2.5 megawatt on this side of the equation and see what we get. And in fact, it turns out the way that we solved it here is simply by saying, okay, we're already at 35° C. And if we want to go to 40, how much energy will we need to transfer? And it turns out it's 2.09 megawatt. So, what you could do here is get up to 4.18 megawws of of compute, which would then turn into heat, but you can't get into what would be 4.59 megawws in on the right side. So there's two ways of solving this. Either you can go 40 minus 35 or equivalently what I would do is say okay we want to calculate Q. In fact we know Q should be 2.5 megawatt and then we'll divide this by the specific heat capacity of water and then we'll divide this by the mass flow rate which is 100. And of course the units here will be wrong but what we can see is that we would have a temperature increase of 5.9° if we fix the the the decimal there. And that would give us what would that give us? That would give us 40.9° C. So it's above our limit. And the last thing here is that what you could do instead is increase the mass flow rate. So if you instead substitute 100 into this equation, you would get 2.5 approximately. So that's another uh parameter that we can tune is to say the added load needs approximately 100 kg/s of total throw. um if we also want to modify that in order to take another 2.5 megawatt. Okay. All right. So, chapter 15, GPU cloud economics. And the Grim Reaper Grim Reaper has made its return. In fact, here the Grim Reaper is going after PC gaming as a hobby as opposed to CPUs, which was the last time. And it's already taken consumer VRAMm, mid-range availability, and low MSRPs, unfortunately. But we'll just say too bad for the consumers because we need to make money for the data centers. And let's talk about GPU cloud e economics. So if we talk about coreview which is one of the biggest hyperscalers 98% of their revenue came from committed contracts in 2025. So the real question here is what is sold? Who carries the risk and how is the cluster financed? And that's what we want to dive right into when it comes into when when it comes to like the profit model for a data center. You have of course on one side selling compute through the model API which is selling tokens tokconomics and then on the left you have GPU hours and cluster commitment where you probably selling to somebody that's selling to somebody else through their model API. So this would be customers running training or inference whereas the right side is the provider operates the model service and the end user is just buying tokens. So these are the two different examples here and you can think of it as you run the inference on the left. So you have your model your application and you have to handle serving scaling updates but you're still using the core GPU infrastructure. So this was here where you just buy GPU cloud capacity from core and there's another option where core runs the inference for you. It's still your model and your application but core does the serving the scaling and the updates. So the common denominator the common denominator here is core of GPU infrastructure but the how it's run is core on the right where they handle it and you on the left where you do. So what are we talking about when we say there are two ways to skin the cat? Um let's look. So Anthropic for example is a is a core customer and what they do is use core's compute capacity but self-management in order to run their own workloads. So this would be the left side where they're running running the serving scaling and the updates. Whereas another example of cursor who's a fireworks customer or at least was until the XAI acquisition acquisition. I'm not sure if they still are. They have a managed inference deal with fireworks which is a um inference compute provider. So what happens is that they have the fast apply model which is like their autocorrect tab model and fireworks runs it and deploys it for cursor on their behalf. So of course in the managed inference uh paradigm you have less worries about scaling and serving massive increases in traffic. That's more of the problem for fireworks to deal with. Whereas in the anthropic case you just have much more flexibility in how you can run your workloads. And also you don't have to worry about coreweave looking at your model weights or having to do some fancy encryption to ensure that they don't see what you're working on in terms of like the actual architecture. So these are the two ways that you sell GPU cloud capacity either just the raw capacity which is sometimes called bare metal and then the managed inference which is not bare metal. Okay. So when it comes to renting out compute this market is becoming more and more interesting given the volume and a lot of people are comparing it to just like regular financial markets and there's three categories which are relevant to discuss here. First of all, there's ondemand, which is essentially paying for use capacity without having a multi-year term. So, there's no contract. And you can think of it as the enterprise claw code plan or the enterprise um codeex plan is tailored where you pay for your tokens that you use. And so, the more you use, the more you pay, but at the end of the month, you can say goodbye. And this is on demand. So what is worth noting with on demand is it's almost reliable but it's still not guaranteed. If you want guaranteed capacity you need to sign a contract but it's still much more reliable than spot. What is spot? So spot as the title suggests suggests is renting spare capacity at the current price where the prices are really determined by market dynamics and can change and also the provider can reclaim the compute without notice or essentially you're not guaranteed to have this instance for however long you're willing to pay. Instead it can be taken away from you to uh essentially adapt to some other capacity term which is much more committed. So for example to give a customer who has a contract access to the compute. And so with respect to which with with respect to spot what you want to do is run only workloads using redundancy. And what I mean by that is if you're training a model on a spot instance, you better be checkpointing it, which is to say saving the weight of the model intermittently such that if the instance is reclaimed, you don't have to restart the training from zero. Instead, you can restart at the latest checkpoint once you get the spot instance back. Okay, so that's how spot works. And it's usually the most expensive of all of the options here. And then sorry, it's usually less expensive than on demand. So on demand is more expensive because it's less guaranteed. And then depending on the committed capacity, it can be more or less than spot. So what committed capacity is is just a res. It's just a defined term where you pay for like one year of having access to this compute and it's a contract. So it's an obligation. Um and that's pretty much it. So you have a GPU per hour definition on the contract and you pay that much over the over the term of the contract. Okay. So when it comes to having a contracted compute deal, a longer contract trades repricing opportunities for committed revenue. And this is from the standpoint of the contractor. So the person that is selling this contract. If they sign a one-year deal, then this means that afterwards at year 2, they can renew or sell to a new customer. And if it's the case that now compute is even more constrained, this is the most attractive deal because you can sign a one-year deal, which is usually more expensive than a 5-year deal, and then renew it. But then the risk is that if compute is now worth less than it was uh that that when you sign the contract, then just like any other contract or like just signing a fixed mortgage, then you'll have a worse rate. And the same thing applies to three years and fiveyear deals. So, these are like the main deals that you'll see in terms of compute. And it's quite interesting because a lot of the deals that are signed as a five-year deal are currently like insane bargains because, as you know, the compute environment currently is insanely constrained. And what this means is that if you signed a 5-year deal like last year, the price that you're paying is much less than the market rate, and you still have that that that uh that pricing power for four more years. So if you have like a hyperscaler or just even like a Frontier Lab that has one of these contracts, they'll be making a lot of profit off of it for the next 3 four years, but then once they have to resign, they'll have to pay a nice premium on what they had before as their contract price. Let's just look at what the H100 prices were over the past year. So, what specifically we're looking at here is the semi-announces public price history of the 25 to 75 percentile uh price range for H100 one-year contracts on a $1 per GPU hour basis with the caveat or with the condition that usually these contracts have a one quarter prepayment and then the rest is paid for uh as time progresses. So, in October of 2025, you had a $1.45 45 to $1.95 uh 50% quartile in the middle. This went then to 1.5 to $2 and then in April when you had just the coding agent frenzy going on it went to 2.1 to $2.7. So a compute asset which should depreciate actually doubled in its contract value over how many months like sevenish months from October to April which is just quite quite amazing to see. Okay. And now when it comes to like the rental rate that you charge your customers if you're like a Neocloud or hyper hyperscaler, let's look at an example where you're doing a one-year deal on 1,024 GPUs across the fleet. and assuming that you could get a better price by renting less to like a more uncommitted rental rental pool, but with the caveat that you can only guarantee 50% rented, then it would be better to get a $2.5 GPU per hour rate, which is pretty cheap, but guaranteed because all hours are paid versus getting $4 per hour and having 50% rented. So in this case, we're talking $22.43 million versus $17.94 million ARR, annual recurring revenue given these prices on 1,024 GPUs. But we can calculate the break even revenue point, which is simply dividing 2.5 by 4. And it turns out that at 62.5 rented hours, you make just as much as m just as much as the full fleet commitment by charging $4. And you still get to keep what? 37.5% of your fleet. And then if you can see 80% as uh rented even though it's an uncommitted rental pool, then you can make even more money. You can make like 6.3. What is that? You can make $6.27 million more versus what you would get if you had a full fleet commitment at $2.5 per GPU hour if you have an uncommitted rental pool with 80% rented over that year at a $4 per GPU price per hour. Of course, this this price would fluctuate over time. We're assuming that this is the average price that you could get over the entire year. And it's just a really interesting trade-off between guaranteed money versus a more risky bet. And this is kind of just like what a variable versus fixed mortgage is at the end of the day. Okay. What is worth noting though is that if you if you opt for this option here, that's what's called committed revenue because it's a contract, right? And the benefit of committed revenue is that it can help finance GPUs. And how this works is, okay, I'm the GPU cloud. I buy hardware and deliver a service and I get a contract from my customer to pay for that hardware in full for like the next year. And as a lender, it's much more attractive to finance that hardware if I have the guaranteed contract which acts as like the debt service um to the lender in order to backs stop or to guarantee that this capital the lend lender is lending to is going to be repaid through this customer contract. So you can see that the the asset class here is interesting because it's a GPU and it's being act it's being used as like this form of collateral capital and then the capacity contract is acting as a way to help convince these lenders to finance the GPUs. Okay. And all right now let's talk about Nvidia. So this is a very interesting graph which may many have seen. It's the whole circular graph of how Nvidia and OpenAI fueled the AI money machine apparently. And this is from Bloomberg News and I'll use this as like a sort of introduction to what is Nvidia doing in this whole environment given that they're the big bosses and let's talk about an example that they made a deal with Cororeweave. What did they do? They made a deal to buy Core Weave's unsold capacity at a $6.3 billion contract value. So, what does this mean? It means that Nvidia sold Coreweee a bunch of GPUs and guaranteed them that if you cannot rent these GPUs, we will pay you $2 per hour for the GPUs that you cannot rent. I'm just giving an example here. I don't know what actually the the term is that they had agreed upon where the Nvidia would buy the unsold remainder. In any case, they agreed on a price and what you should know is that this price is below the market rate. And what this means is that Corore has the incentive to find customers to rent the capacity because actually the Nvidia uh price that they agreed upon is really just like break even or maybe even slightly below break even. I'm not entirely sure. So this actually gives a commitment of capacity for up to April 2032 that Corey can use when it goes to its lenders and says, "Hey, look, this $6.3 billion cluster that I have, it's actually committed until 6 years from now. So you should give me a loan so that I can buy this and make this GPU cluster." And so this is kind of how it works where Nvidia is trusting that there will be enough demand for compute such that coreweave will never have to sell it back to Nvidia which is probably not a good thing for Nvidia and that coreweave can use this financing uh this backs stop as they call it in order to get financing from other lenders. And if we just like look at this in terms of uh a timeline, what happens is that a six-year backs stop supports shorter customer rentals too. So what it means is that instead of coreweave being forced to like sign a 5-year deal, which probably wouldn't be the best interest for them because of the the price locking that they have to do. They can instead do like for example three two-year contracts and every single time have the assurance that if there is like some buffer where they don't have any uh person to rent their compute to, they can still take advantage of this six-year capacity commitment from Nvidia, but in reality what they want to do is either renew their contract or replace it with an even more lucrative one depending on the market conditions. And so to summarize this contracted fallback revenue is what is allowing them to search this financing for the cluster. Then if we look at Nvidia's perspective they earn a share of the upside and take some risk. So how so how does it work for Nvidia? When the customer rents the GPU from coreweave it's not just coreweave making all of the money. In fact they get some revenue but Nvidia receives an agreed upon share of the money that they get in excess of some margin. So that's where the Nvidia that's where the incentive is coming in for Nvidia. But once again, if the capacity goes unsold, then Nvidia buys that capacity and they may or may not be able to use it or resell it. It's kind of like hard to think about that in today's market where like you say, man, if I had some extra capacity, I could do so many things with that. But this is still a risk, right? You have like some fringe possibility that maybe there is like just a lot of extra compute. Actually, not even a fringe. Maybe this is actually a very real possibility that in the future there's a lot of excess comput on the market and that therefore um this is a risk at the end of the day for Nvidia and in fact as of July 2026 the Nvidia AI cloud commitments in terms of back stops according to semi analysis were $36 billion that's a lot of money but also Nvidia is worth like $5 something trillion they have a massive balance sheet so if you compare this to companies like Oracle it's actually relatively conservative in any case you do have this sort of backs shop circular financing that some people are criticizing that Nvidia is also participating in and this is a specific example that they did with Cororeweave. Okay, so we're talking about like the Neoclouds how they reason about selling their compute at like a certain cost per hour and let's not forget that electricity is also a cost that they have to pay on a GPU per hour basis. So what's what's this example here? Let's say that over 100 hours you are able to rent your GPU at 80%. So essentially 80 of the 100 hours it was rented and it ran at 1 kow. So that was 80 kowatt hours of energy that you had to pay for and that for the other 20 hours it was not rented out. But luckily you can idle the GPUs when they're not rented out to any customers. So the energy usage is much less. And what we can read here from this chart is that for 80 build hours, the Neocloud, the hypothetical Neocloud had to pay for 84 kwatt hours of energy. And so the the price here is 1.05 kW per build GPU hour. And if we consider the following prices of $80 per megawatt hour, that would mean the following price of 0.084 per build GPU hour. But if we double the price, we get now 16 cents uh or 16.8 cents per uh hour of build GPU time. So these numbers are obviously much smaller than the numbers that we see in terms of the rents. So those are in the dollars whereas these are in the cents. Of course, let's not be naive and think that the only cost for running a GPU is the electricity. The the GPU itself is the biggest cost. It costs a lot of money to get these GPUs because of Nvidia's 75% profit margins. So, this is only one cost. Of course, Neocloud up to now have been making positive profit margins from everything that I've seen. But it is worth worth remembering that if we consider this future where there could be an excess of supply of compute, then this would become a very important calculus for these new clouds in determining whether or not they'll be profitable. And when it comes to who pays when electricity prices rise, so this graph right here, well, there's two ways you can run this. First of all, you can have a fixed all-in price where the provider absorbs both the increase and the decrease, which is to say like, well, if I'm Cororeweave and I'm selling compute to Anthropic and let's say that the electricity price drops drastically or I can find a more reliable and renewable energy source which is cheaper, then now I'm making a bigger profit margin. And then conversely, if there is the war going on and oil prices are going crazy, then now I have to absorb the increase in price. So that's one way you can do it. And this is essentially hiding the risk behind the provider. And then the second way that you can structure this contract is to say that it will be an electricity pass through which is to say the customer pays the increase or there's some agreed upon scaling so that with the increase in electricity there is some percentage increase in the build GPU per hour cost. So these are just two ways that you can structure the electricity pricing and when we talk about uh Abene itself the plant like you might have heard of Cruso oracle OpenAI in terms of how this is actually like being financed like who builds and operates Abalene. Well the actual structure here is Cruso builds this builds builds the facility and then Oracle is the hyperscaler that operates it with their Oracle cloud infrastructure. I believe that's what OCI stands for. And then OpenAI runs the AI workloads on that facility. So, it's kind of funny how you have this three-way deal. It would it would it would it would be sensical for Caruso just to directly sell to OpenAI, but given the way these deals are structured and uh Oracle's interesting tactic to um have this massive compute obligation to OpenAI, this is the exact operation that's going on at Abalene. And so one question that is coming up a lot in data center land is people who talk about half of the US data center supply being cancelled or half of the US data center supply being uh delayed. And so before we move on to the 16th and final chapter, let's look at the case study for Abene of what's actually going on. So this is actually f is making reference to a semi-analysis article from June of this year where they actually go into the statistics of what percentage of data centers are being delayed. So please read this if you're interested. But getting to the short of it for Abene specifically, let's talk about the plan versus the reported delivery. So on this column we talk about the announced target and then now on the right column we talk about the later report which is cool because these numbers were announced in 2025 and now after a year we can see what has actually been accomplished. So the first two buildings is was announced to be energized in the first half of 2025 and they were energized within a year of June 2024. So the precise date was somewhere in September 2025. So it's not in the first half of 2025, but it still was in 2025. And then those are the first two buildings. Now when it comes to the six other ones, the construction was announced to be complete mid 2026. And as of September, only 75% of total campus capacity was delivered and the remainder is supposed to be in later quarters. So here they kind of missed the mark as they projected the construction to be done by mid 2026. I guess we're still technically in mid2026. I don't know how that's defined, but um I guess now the goal would just to be to get it online before the end of the year. So there you go. We had a quick little overview of GPU cloud economist economics together. And now let's head into the finale, which is putting an AI factory together. So how do we put an AI factory as it's now called together? Well, as the title says, you start with the hardware, then size the facility because it's the hardware that is king. So what you do is you work backward from processor demand through conversion losses other rack loads and facility sports. If you remember the earlier example, we had a 72 kW processor that required that much power at the rails. Then we had to add 12 kW of other rack loads and we finally ended up with 90.26 kW of power required at the DC bus and 93.05 kW of power at the AC bus due to the other conversion efficiencies. And so these are just examples. It's not actually what's happening in the Abene data center for example. But that exercise that we did of course only looked at a specific rack only up to the AC transmission to the bus. Whereas if you're actually developing an entire data center well you need to look at the rack distribution backup and then the medium voltage distribution as well. You need to determine for the heating what are the cold plates and heating uh requirements for the remaining air heat. Are you going to use a rear door heat exchanger? Are you going to use a C A computer room air handler? The world is your oyster really with data centers. It's like a massive mix and match. And then also how are you going to connect the GPU fabric so they can communicate. As we mentioned in that previous example, you do not want a data center which is optimized for inference running pre-training workloads because pre-training workloads require a lot of cross rack and crosscluster communication as opposed to inference which is usually scaled in a single scale up domain. So in the NVL72 rack, you can already run a pretty healthy amount of inference and serve a lot of customers with the high interactivity. In any case, we can think of the calculus for AI factory as taking into consideration power, heat, data. And now when it comes to planning the data center, there's also the considerations of how are we going to get the power to the chips as fast as possible. One thing we discussed in the previous chapter was Abalene's gas plant having a role before and after grid expansion where the gas plant's role was bridge power at the start and I think that's still the case. I'm not sure what the status is. could have already moved into long-term backup. But anyways, at the beginning it was 350 megawatts of on-site jet gas generation as this sort of gas plant bridge supply and then afterwards long-term the plan is for it to become the standby gas plant and that the grid which is the energy reliability council of Texas. So that's what supplies energy in Texas that it now takes the uh responsibility for powering the data halls and the cooling. So you can see this is one of the main methods that we will be scaling up power in the near-term future because connecting to the grid is very hard with these massive interconnect cues. Essentially the waiting time required to get access from the grid in many states in particular Texas is going to be many many years in most circumstances with these data centers. So the best incentive here is to get on-site gas generation ASAP. And then once you have the on-site gas generation or whatever is powering the data center, we need to ask the question for Abene. How would the campus reject this heat? Here are three different options. What did they pick? Well, in Abene, they did aircooled chillers, which uses refrigeration without having any evaporative heat rejection. Because in Texas, given a lot of Texas is a desert, water is a scarce commodity. So having a aircooled chiller is a good option for avoiding water shortages. And in fact, it's interesting to see what Cruso said regarding their use of water. So they said choosing to bear the extra cost in the interest of responsible water management was one of their reasons why they chose this technology aircooled chillers over for example a water cooled chiller. But you know what I think? I think they choose air cooled chillers because if they use a water cooled chiller then they realized they would get a massive public backlash and also it may have even been more economically reasonable to use these air cooled chillers that consume much more electricity. Why do I think that? It's because if you consider a future world where there's many many data centers then if they all compete for water then water will be a scarce commodity and whereas water is relatively finite um energy if you are smart enough and are relatively um ambitious can be obtained in many many ways. For example, the sun is almost an infinite source of energy from the perspective of the earth. Um, with that being said, it's probably better to hedge your bets on paying only electricity as opposed to needing both water and electricity to cool your GPUs in the future. So, I think this is actually example of greenwashing. Let me know if you guys have a different opinion in the comments. But any case, I really liked this comment in particular when I read the Crusoe uh data center report because I think that it is only a halftruth. Okay. Now, what did they do in Abene otherwise to get the compute online fast? Well, Cruso built electrical equipment while the campus was being built on site in their factories. In fact, the assembly floor is in Tulsa, Oklahoma. And they just opened a new assembly hall this month. And in fact, [snorts] the uh report for this for the second Tulsa manufacturing facility was only published a few days ago on September 14th. This may have been a long time ago depending on when you're watching this today. In any case, the factory has made already more than 200 switchboards that were directly supplied to Abolene in order to expedite construction and remove supply chain dependencies on other companies that Abene would otherwise have to wait for. And so here you can see, I guess this is a rendering of the factory floor that's just been opened in Tulsa, Oklahoma by Crusoe. So I really want to highlight this. You're seeing a lot of these AI data center companies becoming verticalized to a great extent. Whereas previously a data center company was more of just a orchestrator saying okay I'm going to get this from Seammens. I'm going to get this from ABB. I'm going to get this from Schneider Electric. Now they are trying to verticalize and own the stack so that they can control the lead times which is essentially to say the amount of time they have to wait for getting their equipment. Okay. And when it comes to the deal hierarchy, once again when we talk about Cruso, Oracle and OpenAI, the hierarchy is such that Cruso builds and operates the campus. Oracle provides the GPU compute capacity for the cloud infrastructure and OpenAI trains and runs the models for their AI workloads. We also should remind ourselves that it's not just Cruso that's funding this. They have other partners such as Blue Owl Funds and Primary Digital Infrastructure which are essentially financing the data center in behalf or rather alongside Cruso such that Crusoe reduces its own liability and then this long-term rent supports the returns of all these companies but all of this is with the condition that the open AI bill is being paid continuously and if we consider a future regime where compute is in much larger surplus plus then this whole structure may not be feasible or economical. All right. Then with respect to the premium price that's paid for getting compute fast, this happened in the case of Abene, which is to say that it ran its first workloads while a campus kept growing. So the first phade that was completed in 2025 was able to support OpenAI workloads once it was completed. So we're talking a year ago in September 2025. And this meant that the power, the cooling, and the network were all under operational conditions while the next halls were still being built. And so what we need to do in the meantime is both connect these interfaces because eventually open AAI will probably want to have some cross data center communication for their large pre-training runs and then also we need to keep the live phase operating while the next hall is being built and while this power cooling and network is not yet online and this means having a lot of orchestration and careful planning to contingency planning as I mentioned to ensure that there is no hiccups along the road. Okay, so through this course we start at the rack. We determine the workload from the actual compute itself, which is to say what is the power, the cooling and the networking required. Across a hall, these conditions become distribution and cooling systems serving rows of machines. And across the campus, they require substations, outdoor cooling, generation, land, and financing. So interestingly a hardware choice becomes becomes a facility design and this is why personally I find data centers so compelling is that depending on the chip that you choose to put in this tiny rack that will then go in this tray that will then go in this uh data hall you can have a completely different end design. So that was the from watts to tokens course. We started with electricity at the site boundary and you can now follow it all the way to computation and follow the heat back out. That is the physical system behind every token. Thank you so much for watching.
Generated algorithmically for Search Engine
Indexing.