mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
1 line
12 KiB
HTML
1 line
12 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/generators/turbine.dm - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="code/modules/power/generators/turbine.html#define">Define Details</a></header><main><h1>code/modules/power/generators/turbine.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/modules/power/generators/turbine.html#define/COMPFRICTION">COMPFRICTION</a></th><td>Multiplies the friction of the compressor</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/COMP_MOMENT_OF_INERTIA">COMP_MOMENT_OF_INERTIA</a></th><td>Compressor's moment of inertia in kg * m^2</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/RPM_TO_RAD_PER_SECOND">RPM_TO_RAD_PER_SECOND</a></th><td>Convert RPM to radians per second(SI angular velocity units)</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/COMPRESSOR_HEAT_CAPACITY">COMPRESSOR_HEAT_CAPACITY</a></th><td>Compressors heat capacity in J / K</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/THERMAL_EFF_TEMP_CURVE">THERMAL_EFF_TEMP_CURVE</a></th><td>Changes the scaling of thermal efficiency with temperature. Lower value means faster scaling</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/COMPRESSION_RPM_CURVE">COMPRESSION_RPM_CURVE</a></th><td>Changes the scaling of compression ratio with RPM. Lower value means faster scaling</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/KINETIC_TO_ELECTRIC">KINETIC_TO_ELECTRIC</a></th><td>The portion of the kinetic energy converted to electrical</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/COMPRESSION_RATIO_MAX">COMPRESSION_RATIO_MAX</a></th><td>The maximum compression ratio of the turbine</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/THERMAL_EFF_COMPRESSION_CURVE">THERMAL_EFF_COMPRESSION_CURVE</a></th><td>Scales the effect of compresion ratio on thermal efficiency</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/THERMAL_EFF_PART_BASE">THERMAL_EFF_PART_BASE</a></th><td>The base value we add values dervied from componenet ratings to for thermal efficiency scaling. higher value means lesser effect of parts</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/POWER_EFF_PART_BASE">POWER_EFF_PART_BASE</a></th><td>The base value we add values dervied from componenet ratings to for power efficiency. higher value means lesser effect of parts</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/THERMAL_EFF_MAX">THERMAL_EFF_MAX</a></th><td>Maximum possible thermal efficiency</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/BEARING_DAMAGE_MAX">BEARING_DAMAGE_MAX</a></th><td>Amount of damage at which the turbine catastrophically fails</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/BEARING_DAMAGE_BASE_THRESHOLD">BEARING_DAMAGE_BASE_THRESHOLD</a></th><td>The temperature at which the bearings start taking damage</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/BEARING_DAMAGE_SCALING">BEARING_DAMAGE_SCALING</a></th><td>Scales the damage taken by the bearings. Higher value means less damage.</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/BEARING_DAMAGE_FRICTION">BEARING_DAMAGE_FRICTION</a></th><td>Friction from bearing damage</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/FAILURE_MESSAGE">FAILURE_MESSAGE</a></th><td>Message send upon catastrphic failure</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/FAIILRE_RPM_EXPLOSION_THRESHOLD">FAIILRE_RPM_EXPLOSION_THRESHOLD</a></th><td>RPM at which the turbine explodes upon failing</td></tr><tr><th><a href="code/modules/power/generators/turbine.html#define/MAX_ENERGY_PORTION">MAX_ENERGY_PORTION</a></th><td>The maximum portion of the compressor's kinetic energy the turbine can harvest each tick</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/BEARING_DAMAGE_BASE_THRESHOLD"><aside class="declaration">#define </aside>BEARING_DAMAGE_BASE_THRESHOLD <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L57"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 57"></a></h3><p>The temperature at which the bearings start taking damage</p><h3 id="define/BEARING_DAMAGE_FRICTION"><aside class="declaration">#define </aside>BEARING_DAMAGE_FRICTION <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L61"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 61"></a></h3><p>Friction from bearing damage</p><h3 id="define/BEARING_DAMAGE_MAX"><aside class="declaration">#define </aside>BEARING_DAMAGE_MAX <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L55"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 55"></a></h3><p>Amount of damage at which the turbine catastrophically fails</p><h3 id="define/BEARING_DAMAGE_SCALING"><aside class="declaration">#define </aside>BEARING_DAMAGE_SCALING <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L59"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 59"></a></h3><p>Scales the damage taken by the bearings. Higher value means less damage.</p><h3 id="define/COMPFRICTION"><aside class="declaration">#define </aside>COMPFRICTION <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L24"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 24"></a></h3><p>Multiplies the friction of the compressor</p><h3 id="define/COMPRESSION_RATIO_MAX"><aside class="declaration">#define </aside>COMPRESSION_RATIO_MAX <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L38"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 38"></a></h3><p>The maximum compression ratio of the turbine</p><h3 id="define/COMPRESSION_RPM_CURVE"><aside class="declaration">#define </aside>COMPRESSION_RPM_CURVE <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L34"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 34"></a></h3><p>Changes the scaling of compression ratio with RPM. Lower value means faster scaling</p><h3 id="define/COMPRESSOR_HEAT_CAPACITY"><aside class="declaration">#define </aside>COMPRESSOR_HEAT_CAPACITY <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L30"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 30"></a></h3><p>Compressors heat capacity in J / K</p><h3 id="define/COMP_MOMENT_OF_INERTIA"><aside class="declaration">#define </aside>COMP_MOMENT_OF_INERTIA <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L26"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 26"></a></h3><p>Compressor's moment of inertia in kg * m^2</p><h3 id="define/FAIILRE_RPM_EXPLOSION_THRESHOLD"><aside class="declaration">#define </aside>FAIILRE_RPM_EXPLOSION_THRESHOLD <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L65"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 65"></a></h3><p>RPM at which the turbine explodes upon failing</p><h3 id="define/FAILURE_MESSAGE"><aside class="declaration">#define </aside>FAILURE_MESSAGE <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L63"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 63"></a></h3><p>Message send upon catastrphic failure</p><h3 id="define/KINETIC_TO_ELECTRIC"><aside class="declaration">#define </aside>KINETIC_TO_ELECTRIC <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L36"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 36"></a></h3><p>The portion of the kinetic energy converted to electrical</p><h3 id="define/MAX_ENERGY_PORTION"><aside class="declaration">#define </aside>MAX_ENERGY_PORTION <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L68"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 68"></a></h3><p>The maximum portion of the compressor's kinetic energy the turbine can harvest each tick</p><h3 id="define/POWER_EFF_PART_BASE"><aside class="declaration">#define </aside>POWER_EFF_PART_BASE <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L44"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 44"></a></h3><p>The base value we add values dervied from componenet ratings to for power efficiency. higher value means lesser effect of parts</p><h3 id="define/RPM_TO_RAD_PER_SECOND"><aside class="declaration">#define </aside>RPM_TO_RAD_PER_SECOND <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L28"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 28"></a></h3><p>Convert RPM to radians per second(SI angular velocity units)</p><h3 id="define/THERMAL_EFF_COMPRESSION_CURVE"><aside class="declaration">#define </aside>THERMAL_EFF_COMPRESSION_CURVE <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L40"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 40"></a></h3><p>Scales the effect of compresion ratio on thermal efficiency</p><h3 id="define/THERMAL_EFF_MAX"><aside class="declaration">#define </aside>THERMAL_EFF_MAX <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L46"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 46"></a></h3><p>Maximum possible thermal efficiency</p><h3 id="define/THERMAL_EFF_PART_BASE"><aside class="declaration">#define </aside>THERMAL_EFF_PART_BASE <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L42"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 42"></a></h3><p>The base value we add values dervied from componenet ratings to for thermal efficiency scaling. higher value means lesser effect of parts</p><h3 id="define/THERMAL_EFF_TEMP_CURVE"><aside class="declaration">#define </aside>THERMAL_EFF_TEMP_CURVE <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/modules/power/generators/turbine.dm#L32"><img src="git.png" width="16" height="16" title="code/modules/power/generators/turbine.dm 32"></a></h3><p>Changes the scaling of thermal efficiency with temperature. Lower value means faster scaling</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/776b9861f70566b1e6a0763a465ef22f7920a3d6">776b986</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |