Guide to Atmospherics: Difference between revisions

6,218 bytes removed ,  15:32, 13 September 2020
m
→‎Fusion: Updates fusion guide with a link to the lecture.
m (Replaced outdated information with some other stuff.)
m (→‎Fusion: Updates fusion guide with a link to the lecture.)
Line 461: Line 461:
If you are exposed to radiation without the appropriate insulation or '''hit by a particle''', do not panic, take your charcoal/antitox/anti-rad pills and you should be able to tank the toxin damage from the rads and keep some mutadone with you if you mutate (you will). If not in a rad suit, do not immediately run to medical because you will contaminate it and get '''a lot of people killed.''' Instead, scream over radio that you need radiation treatment in the form of more anti-tox or charcoal dropped off in maintenance for you to grab and use. Do not let doctors or paramedics '''get near you''', you'll only get them killed unless they're rad immune already. If hit by three of these, hope that you have enough medicine to keep you alive, as the next 10 to 20 minutes will be hell for you as your radiation damage accumulates and you mutate into a filthy subhuman. If hit by 5 or more of these, even if in a radsuit, isolate yourself and suffer a ''colorful'' death.
If you are exposed to radiation without the appropriate insulation or '''hit by a particle''', do not panic, take your charcoal/antitox/anti-rad pills and you should be able to tank the toxin damage from the rads and keep some mutadone with you if you mutate (you will). If not in a rad suit, do not immediately run to medical because you will contaminate it and get '''a lot of people killed.''' Instead, scream over radio that you need radiation treatment in the form of more anti-tox or charcoal dropped off in maintenance for you to grab and use. Do not let doctors or paramedics '''get near you''', you'll only get them killed unless they're rad immune already. If hit by three of these, hope that you have enough medicine to keep you alive, as the next 10 to 20 minutes will be hell for you as your radiation damage accumulates and you mutate into a filthy subhuman. If hit by 5 or more of these, even if in a radsuit, isolate yourself and suffer a ''colorful'' death.


===Rotor section of fusion is under construction. I wanted to rush out the important bits since there is not a single guide for fusion anywhere that isn't on some ephemeral post on discord or transferred by word of mouth.===
===I would like to understand the mathematical background of fusion dynamics and/or have severe autism===
The deeper mathematical background of kicked rotors is not a place you generally want to go unless you're doing some extremely specific shenanigans, or want to add to the code. It has taken me a year of experimentation (sporadic, granted) and testing to understand its full nuances and explaining it in text is not something I can do well enough to teach you. Hell, it took impending retirement to get me to finish writing it down. You will need to do a significant amount of in-game testing and some research on the more mathematical parts of the internet to understand it truly, but hopefully [[AutisticFroggy/The Last Lecture|this lecture]] will help you piece it together much faster than it took me to.


The chaos generator that fusion is based off of is the kicked rotator, a quantum dynamic system that requires genius-tier autism to fully understand, so I'll only give you the bits that are easy to comprehend without doing any math more complex than basic algebra, not like anybody in the ss13 community, not even the original coder that made the PR, can explain it in full anyway. There are three primary values of consideration when performing fusion - the p value, the theta value and the k value of the rotor. Respectively these are: plasma, carbon dioxide and instability. P and theta values are antagonistic to each other, as one goes up, the other goes down, the amount by which they go up or down is determined by the k value. TIf the p value goes down, it pushes up the theta value and calculates the k value, the larger the delta the larger the k value, the true is opposite in reverse. he bit that generates heat is dependent on two things, the k value and the delta of the p and theta values from the previous p and theta values. This delta is then multiplied by a constant which is scaled based on a piecewise function off of the k value, with k values less than 2 scaling the constant downwards, k values between 2 and 4 scaling it upwards and k value between 4 and the maximum of 6.28 (2pi) scaling it exponentially. The resulting multiplication between the delta and scaled constant is then converted to energy which is added or subtracted to the gasmix based on the delta. If the delta trends towards the creation of CO2 and the consumption of plasma, heat is generated, if plasma is generated and CO2 is consumed, heat is removed and the fusion canister/turf becomes colder, possible causing it to go below the 10000K threshold and stopping the fusion reaction altogether. This cycle continues for as long as the mole count requirement and temperature requirement is met, with the theta and p values moving up and down correspondingly in a cyclical manner, attempting to reach an equilibrium of a 50-50 balance. This attempt to reach balance means that gas mixes with a dominant p value will invariably lose more plasma and gain more CO2, leading to a generally exothermic reaction, while a gasmix with a dominant theta value will invariably lose more CO2 and gain more plasma, leading to an endothermic reaction. Since we want our fusion cans nice and hot, our biggest criteria to the viability of any gasmix is p value dominance, or more plasma than CO2. Tritium is consumed at a rate of 1 mole per fusion cycle, meaning that the amount required is generally an absolute and has a decidedly linear correlation - more is better regardless of the mix, but it does cap out eventually.


The reasoning for why the 3:2:1 ratio works really well is simple, it fulfills the p value dominance criteria in the fusion rotor and is amenable to high k-values for determining thermal flux . It also supplements more than enough tritium for long duration active fusion reactions and can be connected to fresh canisters for sequestral heating without a complex canister switching process; perfect for rushing out cells at 25 orders of magnitude or more of energy for use in breaking the IEEE 32-bit floating point spec! It is of course possible to lower the tritium amount to conserve expensive tritium fuel, and perhaps absolute amounts of 2000 trit per canister is at the optimum balance point between fuel efficiency and active fusion reaction duration.
'''Tips for working with fusion''':  
 
'''NOTE: This section describes the old version of fusion(v5) and does not apply to the latest version of fusion. The wiki is currently being rewritten and updated for it.'''
 
So you want to operate a fusion reactor? Well, it's about as dangerous as it sounds.
Fusion occurs when you give plasma and tritium a lot of heat energy. It'll quickly convert all of the gases to an extremely hot mixture based on the power of the reacting mixture. This power can be increased or decreased depending on what exactly is in the mix. The ratio of plasma is kept at exactly half of the mix for higher power and the rest of the gas, the mediation gas, should have a high fusion power and a low average specific heat.
 
 
'''Gas fusion power''': Each gas has a different amount of power it can contribute to the fusion process per mole, typically the rarer it is the stronger it will be. If it isnt listed here, it doesn't provide any power to the equation but can still be used to lower the average heat capacity or required temperature.
 
{| class="wikitable sortable"
|-
!Gas
!Fusion power
|-
|CO2
| style="width: fit-content; text-align:right;" |1.25
|-
|Water Vapor
| style="width: fit-content; text-align:right;" |8
|-
|Nitryl
| style="width: fit-content; text-align:right;" |16
|-
|BZ
| style="width: fit-content; text-align:right;" |8
|-
|Stimulum
| style="width: fit-content; text-align:right;" |7
|-
|Pluxonium
| style="width: fit-content; text-align:right;" |10
|-
|}
 
 
'''Power ratio formula''': When fusion occurs and plasma is exactly half of the mix, the following formula is used to find the tier of the fusion:
 
[[File:PowerRatioFormula.png]]
 
If plasma is not half of the mix, it will begin a bell curve decay in the power ratio.
 
 
'''Required Temperature''': 3e9 joules must exist in the mix for the fusion to occur
 
[[File:Required temp formula.png]]
 
 
====Power tier====
Depending on the power you create from the mixture, fusion can go into 4 different tiers scaling to have typically higher rarity in produced gas, energy produced, and dangerous side effects such as radiation bolts, lingering radiation, tesla shocks, and an explosion. A portion of the gas is converted to raw energy, growing depending on tier.
 
*'''Low tier''':
**0-5 power ratio
**Low chance of explosion and short range shock
**Produces 10% BZ and 90% CO2 with a high enough heat to make a tiny amount of hyper noblium
 
 
*'''Medium tier''':
**5-20 power ratio
**Moderate chance of explosion and medium range shock
**Produces 25% Nitryl and 75% N2O with a high enough heat to make several hyper noblium bombs
 
 
*'''High tier''':
**20-50 power ratio
**High chance of explosion and wide range shock
**Produces 1/12th Stimulum and 11/12th pluxonium with a large amount of heat
 
 
*'''Super tier''':
**50+ power ratio
**100% chance of explosion and very wide range shock
**Produces 100% Tritium with a massive amount of heat
 
 
====Example====
Since fusion tends to be a little difficult for people to find entry to, a sample for doing so will be provided here.
 
*'''mix:''' 5000 moles of trit, 5000 moles of plasma.
*'''Average mediation specific heat:''' 10
*'''Average mediation fusion power:''' 1
*'''Mediation mole count:''' 5000
*'''Fusion power:'''(5000*1)/(10*80) = 6.25 = medium tier
*'''Required heat:''' (3e9)/((average specific heat)(total moles)) = 2857.14 k
 
 
'''Tips for working with fusion''':


*at the highest efficiency roughly 30% of the gas you use will be lost to the pump to the canister and to the heat exchanger to the can so prepare accordingly.
*at the highest efficiency roughly 30% of the gas you use will be lost to the pump to the canister and to the heat exchanger to the can so prepare accordingly.