bellini.groups.Solvent

class bellini.groups.Solvent(species, volume, **values)[source]

Bases: bellini.groups.Liquid

A chemical substance with species and volume.

__init__(species, volume, **values)[source]
Parameters
  • species (Species) – The identity of the Substance

  • volume (Quantity (volume units)) – The volume of species present

  • **values – Extra values to be stored

Methods

__init__(species, volume, **values)

Parameters
  • species (Species) -- The identity of the Substance

aliquot(volume)

Return an aliquot of itself, as well as the remaining source solution

copy()

Return a copy of itself

Attributes

g

A networkx graph representing how the group was constructed

name

A string used to represent the Group

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 (Solvent) – The aliquot drawn from the initial solution

  • source (Solvent) – The remaining solution after the aliquot has been removed

copy()[source]

Return a copy of itself

property g

A networkx graph representing how the group was constructed

property name

A string used to represent the Group