def amount(self):
        """
        Determine the sum of mole amounts of all the compounds.

        :returns: Amount. [kmol]
        """

        return sum(self.get_compound_amount(c) for c in self.material.compounds)
def amount(self):
        

        return sum(self.get_compound_amount(c) for c in self.material.compounds)
def amount ( self ) : return sum ( self . get_compound_amount ( c ) for c in self . material . compounds )
Determine the sum of mole amounts of all the compounds.

        :returns: Amount. [kmol]
Determine the sum of mole amounts of all the compounds .