bellini.groups.Solution¶
- class bellini.groups.Solution(mixture, solvent, **values)[source]¶
Bases:
bellini.groups.LiquidA substance or a mixture dissolved in a solvent
- __init__(mixture, solvent, **values)[source]¶
- Parameters
mixture (Mixture or Substance) – The solutes in the Solution. Can be fed an individual Substance (which is converted into a Mixture) or a Mixture itself.
solvent (Solvent) – The solute in the Solution.
**values – Extra values to be stored
Methods
__init__(mixture, solvent, **values)- Parameters
mixture (Mixture or Substance) -- The solutes in the Solution. Can be fed an individual Substance
add_dict_attr(name)aliquot(volume)Return an aliquot of itself, as well as the remaining source solution
copy()Return a copy of itself
Attributes
The concentration of the solution, if there is only one solute dissolved
The concentrations of all solutes dissolved
A networkx graph representing how the group was constructed
The number of moles of each substance in the solution
A string used to represent the Group
The volume of the solution
- aliquot(volume)[source]¶
Return an aliquot of itself, as well as the remaining source solution
- Parameters
volume (Quantity (volume)) – The amount of liquid to aliquot out of the current solution
- Returns
aliquot (Solution) – The aliquot drawn from the initial solution
source (Solution) – The remaining solution after the aliquot has been removed
- property concentration¶
The concentration of the solution, if there is only one solute dissolved
- property concentrations¶
The concentrations of all solutes dissolved
- property g¶
A networkx graph representing how the group was constructed
- property moles¶
The number of moles of each substance in the solution
- property name¶
A string used to represent the Group
- property volume¶
The volume of the solution