Example files fixed

This commit is contained in:
Nicolas Kruse 2025-06-06 14:17:04 +02:00
parent 5f6067fc63
commit 3016a2db4e
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ Equilibrium calculation for methane CO2 mixtures:
```python
el = gp.fluid({'CH4': 1}, fs) + ratio * gp.fluid({'H2O': 1}, fs)
el = gp.fluid({'CH4': 1}, fs) + ratio * gp.fluid({'CO2': 1}, fs)
equilibrium_co2 = gp.equilibrium(el, t, p)
```

View File

@ -58,7 +58,7 @@ Plot carbon activities, a activity of > 1 means there is thermodynamically the f
```python
fig, ax = plt.subplots(figsize=(6, 4), dpi=120)
ax.set_xlabel("CO2/CH4")
ax.set_xlabel("H2O/CH4")
ax.set_ylabel("carbon activity")
ax.set_ylim(1e-1, 1e3)
ax.set_yscale('log')