Skip to content

Commit 9e6f1c6

Browse files
committed
Fix output values to be in ppm
1 parent 1b57c84 commit 9e6f1c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/src/acidwatch_api/models/ccstoolkit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ async def run(self) -> RunResult:
4141
print("comp_p0 = ", comp_p0)
4242
print("================================")
4343
return [
44-
Phase(kind="co2-rich", fraction=1.0, concentrations={key: value for key, value in comp_p0.items() if key != 'T' and key != 'tot'}),
44+
Phase(kind="co2-rich", fraction=1.0, concentrations={key: value/18.55e3*1e6 for key, value in comp_p0.items() if key != 'T' and key != 'tot'}),
4545
]

0 commit comments

Comments
 (0)