forked from DuckQuack001/oakridgenucpowplant
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathutilities.html
More file actions
211 lines (171 loc) · 9.91 KB
/
Copy pathutilities.html
File metadata and controls
211 lines (171 loc) · 9.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Oakridge Nuclear Power Station</title>
<!-- Cookie Consent by TermsFeed https://www.TermsFeed.com -->
<script type="text/javascript" src="https://www.termsfeed.com/public/cookie-consent/4.2.0/cookie-consent.js"
charset="UTF-8"></script>
<script type="text/javascript" charset="UTF-8">
document.addEventListener('DOMContentLoaded', function () {
cookieconsent.run({ "notice_banner_type": "simple", "consent_type": "express", "palette": "dark", "language": "en", "page_load_consent_levels": ["strictly-necessary"], "notice_banner_reject_button_hide": false, "preferences_center_close_button_hide": false, "page_refresh_confirmation_buttons": false, "website_name": "ONPS Wiki" });
});
</script>
<!-- Google Analitics -->
<script type="text/plain" data-cookie-consent="tracking" async
src="https://www.googletagmanager.com/gtag/js?id=G-8C0MST73WK"></script>
<script type="text/plain" data-cookie-consent="tracking">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-8C0MST73WK');
</script>
<!-- end of Google Analitics-->
<noscript>Free cookie consent management tool by <a href="https://www.termsfeed.com/">TermsFeed</a></noscript>
<!-- End Cookie Consent by TermsFeed https://www.TermsFeed.com -->
<!-- Below is the link that users can use to open Preferences Center to change their preferences. Do not modify the ID parameter. Place it where appropriate, style it as needed. -->
<!-- Primary Meta Tags -->
<meta name="title" content="ONPS - Utilities" />
<meta name="description" content="Oakridge Nuclear Power Station - Utilities" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://wiki.koyot.digital/utilities.html" />
<meta property="og:title" content="ONPS - Utilities" />
<meta property="og:description" content="Oakridge Nuclear Power Station - Utilities" />
<meta property="og:image" content="/images/utilities.webp" />
<!-- X (Twitter) -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://wiki.koyot.digital/utilities.html" />
<meta property="twitter:title" content="ONPS - Utilities" />
<meta property="twitter:description" content="Oakridge Nuclear Power Station - Utilities" />
<meta property="twitter:image" content="/images/utilities.webp" />
<!-- Styles and Scripts -->
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/calculator.css" />
<script src="https://kit.fontawesome.com/a7bdae1ce6.js" crossorigin="anonymous"></script>
<script src="js/script.js" defer></script>
<script src="js/calc.js"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.js"></script>
<!-- Favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="/images/Favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/Favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/Favicon/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
</head>
<body>
<!-- Top Navigation Header -->
<header id="header" style="display: flex; justify-content: space-between; align-items: center; padding: 8px;">
<div style="display: flex; gap: 12px; align-items: center;">
<img src="images/home.svg" style="width: 24px; height: 24px; cursor: pointer;"
onclick="relocate('index.html');">
<img src="images/settings.svg" style="width: 24px; height: 24px; cursor: pointer;"
onclick="relocate('settings.html');">
</div>
<h2 style="margin: 0;">Oakridge Nuclear Power Station Wiki</h2>
</header>
<script>
function relocate(url) {
window.location.href = url;
}
</script>
<!-- Hero Section -->
<header class="hero">
<div class="hero-overlay"></div>
<img src="images/utilities.webp" alt="Oakridge Banner" />
<div class="hero-content">
<h1>Utilities Page</h1>
<p>Ever Needed a little Help Getting that Turbine Bypass?</p>
</div>
</header>
<main>
<div id="NavGrid-placeholder"></div>
<br>
<!-- Jump Navigation -->
<nav class="emergency-nav">
<p>Jump To Any Utility:</p>
<a href="#turbine-calc" style="color: #72b0eb; font-weight: bold;">Turbine Auto Bypass Calculator</a>
<a href="#efficiency-calc" style="color: #72b0eb; font-weight: bold;">Efficiency Calculator</a>
</nav>
<!-- Turbine Calculator -->
<section class="container calculator" id="turbine-calc">
<h2 class="section-title">Turbine Auto Bypass Calculator</h2>
<ul class="info-list">
<li>The formula for what to input into each auto-bypass <span class="g"><strong>with</strong></span>
extra efficiency is:</li>
<div class="math-display">\( \frac{\text{Demand}}{2} + 12 = \dots \)</div>
<li>The formula for what to input into each auto-bypass <span class="r"><strong>without</strong></span>
extra efficiency is:</li>
<div class="math-display">\( \frac{\text{Demand}}{2} = \dots \)</div>
<li>Here's a basic calculator to help you figure this out!</li>
</ul>
<label for="demandSlider">Demand:</label>
<input type="range" id="demandSlider" name="demandSlider" min="950" max="1500" step="10" value="1000"
oninput="demandValue.textContent = this.value + ' MW'; runCalculationTurbine();">
<span id="demandValue">950 MW</span>
<h3>AutoBalance MW: <span class="inline-codeblock" id="calculation-span">—</span></h3>
<h3>AutoBalance MW (+12): <span class="inline-codeblock" id="calculation-span2">—</span></h3>
<p class="r">The Deaerator significantly contributes to the amount of steam the reactor can produce; adjust
the inlet and outlet valves accordingly.</p>
<br>
</section>
<br>
<!-- Efficiency Calculator -->
<section class="container calculator" id="efficiency-calc">
<h2 class="section-title">Efficiency Calculator</h2>
<p>The formula for efficiency is:</p>
<div class="math-display">
\(\text{E} = \text{clamp}( \frac{\text{P} - 2400}{750}; 0; 1)\cdot(65 \cdot \frac{\text{O} \cdot 1,605}{\text{P} - 2400}+35\cdot\frac{77\cdot(\text{O}\cdot1,07+2970,5)}{4570 \cdot \text{U}})\)
</div>
<label for="reactorPower">Reactor Power:</label>
<input type="number" id="reactorPower" name="reactorPower" min="1000" max="5000" step="1" value="4200"
oninput="runCalculationEfficiency();">
<label for="plantOutput">Plant Output:</label>
<input type="number" id="plantOutput" name="plantOutput" min="950" max="1500" step="1" value="1000"
oninput="runCalculationEfficiency();">
<label for="plantUsage">Plant Usage:</label>
<input type="number" id="plantUsage" name="plantUsage" min="1" max="5000" step="1" value="4200"
oninput="runCalculationEfficiency();">
<h3>Efficiency Percentage: <span class="inline-codeblock" id="calculation-span-EFF">—</span></h3>
<br>
</section>
<br>
<section class="container calculator" id="paycheck-calc">
<h2 class="section-title">Paycheck Points Calculator</h2>
<div class="math-display">
\[
\text{Points} = \frac{\left( \left( \text{MW Sold} \times \text{Efficiency} \times 0.2 \right) \times
\text{Bonus} \right) \times \left( \frac{\text{hours } \times \text{ 14.00}}{24} \right)}{2}
\]
</div>
<label for="hoursInput">Hours Worked:</label>
<input type="number" id="hoursInput" min="1" step="1" oninput="runCalculationPaycheck();">
<label for="mwInput">Base MW Output:</label>
<input type="number" id="mwInput" min="1" step="1" oninput="runCalculationPaycheck();">
<label for="bonusSelect">Bonus Multiplier:</label>
<select id="bonusSelect" oninput="runCalculationPaycheck();">
<option value="1.0">0% (Visitor, Trainee)</option>
<option value="1.1">10% (Jr. Operator)</option>
<option value="1.35">35% (Sr. Operator)</option>
<option value="1.7">70% (Supervisor)</option>
<option value="2.15">115% (Shift Manager)</option>
<option value="2.15">170% (Plant Director)</option>
<option value="3.1">210% (NRC Inspector)</option>
</select>
<label for="effSlider">Efficiency Rating:</label>
<input type="number" id="effSlider" min="0" max="5" step="0.1" value="1.0"
oninput="runCalculationPaycheck();">
<h3>Total Points: <span class="inline-codeblock" id="calculation-span-pay">—</span></h3>
<br>
</section>
</main>
<footer>
<p>All works associated with Koyot Digital are under © 2025 to Koyot Digital.</p>
<p>Wiki is under the CC BY-SA 4.0 License.</p>
Our Discord Server: <a href="https://discord.gg/RT3Y6egQhR"><i class="fa-brands fa-discord"> Koyot
Digital</i></a> <br>
Play on <a href="https://www.roblox.com/games/15684145480/Oakridge-Nuclear-Power-Station-V0-2-4-BETA"
target="_blank" rel="noopener"><i>Roblox</i></a>
</footer>
</body>
</html>