modelSimpleReaction
The simple chemical reaction A<->B with equilibrium B/A = 2
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Simple reaction demonstrating equilibria between substance A and substance B, mixed in one solution. Observe the molar concentration (A.c) and molar fraction. Note, that mole fraction (A.x and B.x) are always summed to 1 for the solution.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | K | 2 | Dissociation constant of the reaction |
| Modelica.Units.SI.Temperature | T_25degC | 298.15 | Temperature |
| Real | R | Modelica.Constants.R | Gas constant |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Chemical.Obsolete.Components.Solution | solution | ||
| Chemical.Obsolete.Components.Substance | A | ||
| Chemical.Obsolete.Components.Reaction | reaction | ||
| Chemical.Obsolete.Components.Substance | B |
Revisions
2015-2018
Marek Matejak, Charles University, Prague, Czech Republic