Example files fixed
This commit is contained in:
parent
5f6067fc63
commit
3016a2db4e
|
@ -44,7 +44,7 @@ Equilibrium calculation for methane CO2 mixtures:
|
||||||
|
|
||||||
|
|
||||||
```python
|
```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)
|
equilibrium_co2 = gp.equilibrium(el, t, p)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ Plot carbon activities, a activity of > 1 means there is thermodynamically the f
|
||||||
|
|
||||||
```python
|
```python
|
||||||
fig, ax = plt.subplots(figsize=(6, 4), dpi=120)
|
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_ylabel("carbon activity")
|
||||||
ax.set_ylim(1e-1, 1e3)
|
ax.set_ylim(1e-1, 1e3)
|
||||||
ax.set_yscale('log')
|
ax.set_yscale('log')
|
||||||
|
|
Loading…
Reference in New Issue