Editing Pressure, Volume, Quantity, and Temperature
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
''Side note: I use engineering notation here sometimes. For example, one thousand can be shown as 1E3. I may also use a 'k' too, but that can sometimes be confused with the K for Kelvins, so I try to stay clear of it.'' | ''Side note: I use engineering notation here sometimes. For example, one thousand can be shown as 1E3. I may also use a 'k' too, but that can sometimes be confused with the K for Kelvins, so I try to stay clear of it.'' | ||
− | ''Side side note: | + | ''Side side note: I haven't checked these calculations.'' |
== Definitions== | == Definitions== | ||
Line 15: | Line 15: | ||
'''Quantity''': The number of particles contained in a particular space. In our case, it is the number of molecules measured in '''mol'''es. 1 Mole = 6.022E23 molecules. (or around 602,200,000,000,000,000,000,000 molecules. ). | '''Quantity''': The number of particles contained in a particular space. In our case, it is the number of molecules measured in '''mol'''es. 1 Mole = 6.022E23 molecules. (or around 602,200,000,000,000,000,000,000 molecules. ). | ||
− | '''Temperature''': A measure of the thermal energy of the gas. Once measured in Fahrenheit (in the dark times), now measured in degrees Celsius or Kelvin. To convert from Celsius to Kelvin, simply | + | '''Temperature''': A measure of the thermal energy of the gas. Once measured in Fahrenheit (in the dark times), now measured in degrees Celsius or degrees Kelvin. To convert from Celsius to Kelvin, simply subtract 273.15 degrees. It is impossible to have a negative value on the Kelvin scale. |
== Relating them all together == | == Relating them all together == | ||
− | All four of the above values balance each other in any given system. A change in one will effect the others. | + | All four of the above values balance each other in any given system. A change in one will effect the others. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== For example=== | === For example=== | ||
Line 46: | Line 40: | ||
* R - Ideal Gas Constant (in this case, we use 8314.46261815324) in unites of (deep breath..) Liter Pascals per Kelvin moles (Lit * Pa)/(mol * deg K) | * R - Ideal Gas Constant (in this case, we use 8314.46261815324) in unites of (deep breath..) Liter Pascals per Kelvin moles (Lit * Pa)/(mol * deg K) | ||
− | + | So, if we had a furnace with 2 mol of gas in it at 300 degrees Kelvin, what would be the pressure? (A furnace has a 1,000 liter capacity) | |
− | + | '''PV = nRT''' | |
Rearrange for Pressure: | Rearrange for Pressure: | ||
− | + | '''P=(nRT)/V<br> | |
− | '''P = (nRT)/V | + | P = (2 * 8314.46 * 300)/1000 = (approx) 5 kPa (or 5000 Pascals)''' |
− | |||
Similarly, you can rearrange this equation to solve for volume, temperature, and quantity as needed. | Similarly, you can rearrange this equation to solve for volume, temperature, and quantity as needed. | ||
== Volume Pump Example== | == Volume Pump Example== | ||
− | |||
− | |||
− | |||
− | |||
− | + | Using the same conditions as above, assume there is a volume pump attached to the input (like you find on an advanced furnace. If you're poor and can't afford an advanced furnace, use a regular furnace with an attached volume pump on the inlet. You hobo). Assume the pressure behind the volume pump is at a steady 50 Megapascals (50E6 Pascals) at 200 degrees Kelvin and there is 5 pipe segments (100 Liters per pipe segment = 500 Liters). That stationer (being dumb, I guess) turns the pump up to 100 Liters. How much pressure is going to be added to the system on each game tick? Should the stationeer be sh***ing their space suit? | |
− | + | ''Now is a good time to mention that the dial on a volume pump is actually a measure of rate, not volume. When setting the volume pump to 10 Liters, it actually means "10 Liters per game tick". WHY it's just labelled as volume and what determines a game tick? I don't know, go ask the devloper - I'm busy. | |
− | + | '' | |
− | + | First thing you need to figure out is now many moles of gas their are per liter in the pipe. So, rearrange the magical equation for n: | |
− | + | n = (PV)/(RT) | |
− | + | R = 8314.46 (This is always the same.. That's why they call it a 'constant) | |
+ | T = 200 degrees Kelvin | ||
+ | P = 50E6 Pascals | ||
+ | V = 500 Liters of pipe (5 segments, each holding 100 Liters) | ||
You can also calculate the number of moles in the pipe and divide that by the volume of the pipe (each pipe segment is 100 Liters): | You can also calculate the number of moles in the pipe and divide that by the volume of the pipe (each pipe segment is 100 Liters): | ||
− | + | n = (PV)/(RT) = (5E6 * 500)/(8314.46 * 200) = 1503.4 moles of gas in the pipe. | |
− | |||
1503.4 moles of gas contained in 500 Liters of pipe means each liter has 1503.4/500 = approximately 3 moles of gas per Liter. | 1503.4 moles of gas contained in 500 Liters of pipe means each liter has 1503.4/500 = approximately 3 moles of gas per Liter. | ||
Line 81: | Line 72: | ||
How much pressure does 300 moles exert in the furnace? Arrange the equation to solve for pressure: | How much pressure does 300 moles exert in the furnace? Arrange the equation to solve for pressure: | ||
− | + | P = (nRT)/V | |
Where: | Where: | ||
− | + | n = 300 moles | |
− | + | R = 8314.46 blah blah constant blah blah | |
− | + | T = 300 degrees kelvin (remember, the furnace was a bit warmer than the pipes..) | |
− | + | V = 1000 Liters (the volume of the furnace). "Go throw a log in the ten piper", grandpa would say.. | |
− | + | P=(nRT)/V = (300*8314.46*300)/1000 = 748301 Pascals (or 748 kPa). | |
So, each game tick will add 748 kPa to the furnace at this rate. That's pretty quick. Not space suit soiling quick, but it can get out of hand if you're not careful. The furnace will blow around 60 MPa (I think) so.... | So, each game tick will add 748 kPa to the furnace at this rate. That's pretty quick. Not space suit soiling quick, but it can get out of hand if you're not careful. The furnace will blow around 60 MPa (I think) so.... | ||
Line 97: | Line 88: | ||
For those of you that are really keen, you can use calculus to compute rates. Assuming everything else remains constant, just differentiate the equation according the variables you need. So, if you want to know what the rate of change for pressure with respect to quantity (moles) you can: | For those of you that are really keen, you can use calculus to compute rates. Assuming everything else remains constant, just differentiate the equation according the variables you need. So, if you want to know what the rate of change for pressure with respect to quantity (moles) you can: | ||
− | + | P = (nRT)/V | |
− | + | dP/dn = (d/dn)(nRT)/V = (RT/V)*(dn/d)n = RT/V (in unites of Pascals per mole) | |
Change in temperature with respect to the change in pressure: | Change in temperature with respect to the change in pressure: | ||
− | + | ||
− | + | T = (PV)/(nR) | |
+ | dT/dP = (d/dP){(PV)/(nR)} = {V/(nR)} * (d/dP)P = V/(nR) |