|
6 | 6 |
|
7 | 7 | router = APIRouter() |
8 | 8 |
|
9 | | -DESCRIPTION: str = """The Total Consumption Model (ToCoMo) estimates final concentrations of chemicals based on initial input concentrations using a series of chemical reactions. |
| 9 | +DESCRIPTION: str = """\ |
| 10 | +The Total Consumption Model (ToCoMo) estimates final concentrations of |
| 11 | +chemicals based on initial input concentrations using a series of chemical |
| 12 | +reactions. |
10 | 13 |
|
11 | 14 | The model applies the following reactions in a specific order: |
12 | 15 |
|
13 | | -3. H₂S + 3 NO₂ → SO₂ + H₂O + 3 NO |
14 | | -2. 2 NO + O₂ → 2 NO₂ |
15 | | -1. NO₂ + SO₂ + H₂O → NO + H₂SO₄ |
16 | | -4. 3 NO₂ + H₂O → 2 HNO₃ + NO |
17 | | -5. 2 NO₂ + H₂O → HNO₃ + HNO₂ |
18 | | -6. 8 H₂S + 4 O₂ → 8 H₂O + S₈ |
| 16 | +| | | | | |
| 17 | +|----|-----------------|---|------------------| |
| 18 | +| 1. | H₂S + 3 NO₂ | → | SO₂ + H₂O + 3 NO | |
| 19 | +| 2. | 2 NO + O₂ | → | 2 NO₂ | |
| 20 | +| 3. | NO₂ + SO₂ + H₂O | → | NO + H₂SO₄ | |
| 21 | +| 4. | 3 NO₂ + H₂O | → | 2 HNO₃ + NO | |
| 22 | +| 5. | 2 NO₂ + H₂O | → | HNO₃ + HNO₂ | |
| 23 | +| 6. | 8 H₂S + 4 O₂ | → | 8 H₂O + S₈ | |
19 | 24 |
|
20 | | -The model operates as follows: |
21 | | -We go through the list in the order given and try to apply the reaction. |
22 | | -If it is not possible with the current reaction, we proceed to the next one. |
23 | | -If a reaction can occur, it will be applied, and then we start from the top again. |
| 25 | +The model operates as follows: we go through the list in the order given and |
| 26 | +try to apply the reaction. If it is not possible with the current reaction, we |
| 27 | +proceed to the next one. If a reaction can occur, it will be applied, and then |
| 28 | +we start from the top again. |
24 | 29 |
|
25 | | -This iterative approach allows ToCoMo to simulate the chemical interactions and provide estimates of final concentrations based on the initial conditions. |
| 30 | +This iterative approach allows ToCoMo to simulate the chemical interactions and |
| 31 | +provide estimates of final concentrations based on the initial conditions. |
26 | 32 | """ |
27 | 33 |
|
28 | 34 |
|
|
0 commit comments