Skip to content

Commit e855a5d

Browse files
committed
feat: update CalibrationGasPage and DilutionPage with additional flow and volume flow data
1 parent a8d3719 commit e855a5d

File tree

2 files changed

+58
-2
lines changed

2 files changed

+58
-2
lines changed

src/pages/calibrationgas.tsx

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export default function CalibrationGasPage() {
184184
</TableHeader>
185185
<TableBody>
186186
<TableRow key="flow1">
187-
<TableCell>Flow 1 Mass Flow</TableCell>
187+
<TableCell>Dilution Mass Flow</TableCell>
188188
<TableCell>
189189
<span
190190
dangerouslySetInnerHTML={{
@@ -212,7 +212,7 @@ export default function CalibrationGasPage() {
212212
<TableCell>kg/s</TableCell>
213213
</TableRow>
214214
<TableRow key="flowcalibration">
215-
<TableCell>Calibration Mass Flow</TableCell>
215+
<TableCell>Calibration gas Mass Flow</TableCell>
216216
<TableCell>
217217
<span
218218
dangerouslySetInnerHTML={{
@@ -225,6 +225,34 @@ export default function CalibrationGasPage() {
225225
</TableCell>
226226
<TableCell>kg/s</TableCell>
227227
</TableRow>
228+
<TableRow key="volumeflow">
229+
<TableCell>Outlet Volume Flow at 101.325 kPa</TableCell>
230+
<TableCell>
231+
<span
232+
dangerouslySetInnerHTML={{
233+
__html: ScientificNotation.toScientificNotationHTML(
234+
((inlet1FlowData.massFlow / inlet1FlowData.rho_out)+(inlet2FlowData.massFlow / inlet2FlowData.rho_out))*1000,
235+
5,
236+
),
237+
}}
238+
/>
239+
</TableCell>
240+
<TableCell>L/s</TableCell>
241+
</TableRow>
242+
<TableRow key="volumeflow2">
243+
<TableCell>&nbsp;</TableCell>
244+
<TableCell>
245+
<span
246+
dangerouslySetInnerHTML={{
247+
__html: ScientificNotation.toScientificNotationHTML(
248+
((inlet1FlowData.massFlow / inlet1FlowData.rho_out)+(inlet2FlowData.massFlow / inlet2FlowData.rho_out))*1000*60,
249+
5,
250+
),
251+
}}
252+
/>
253+
</TableCell>
254+
<TableCell>L/min</TableCell>
255+
</TableRow>
228256
<TableRow key="concentration">
229257
<TableCell>Concentration of calibration gas at outlet</TableCell>
230258
<TableCell>

src/pages/dilution.tsx

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,34 @@ export default function DilutionPage() {
209209
</TableCell>
210210
<TableCell>%</TableCell>
211211
</TableRow>
212+
<TableRow key="flow2">
213+
<TableCell>Flow 2 Mass Flow</TableCell>
214+
<TableCell>
215+
<span
216+
dangerouslySetInnerHTML={{
217+
__html: ScientificNotation.toScientificNotationHTML(
218+
inlet2FlowData.massFlow,
219+
5,
220+
),
221+
}}
222+
/>
223+
</TableCell>
224+
<TableCell>kg/s</TableCell>
225+
</TableRow>
226+
<TableRow key="volumeflow">
227+
<TableCell>Outlet Volume Flow at 101.325 kPa</TableCell>
228+
<TableCell>
229+
<span
230+
dangerouslySetInnerHTML={{
231+
__html: ScientificNotation.toScientificNotationHTML(
232+
(inlet2FlowData.massFlow / inlet2FlowData.rho_out)*1000,
233+
5,
234+
),
235+
}}
236+
/>
237+
</TableCell>
238+
<TableCell>L/s</TableCell>
239+
</TableRow>
212240
<TableRow key="criticalPressure">
213241
<TableCell>Flow Critical Pressure</TableCell>
214242
<TableCell>

0 commit comments

Comments
 (0)