set_component#
- LiquidMixture.set_component(component, mode='add')#
Add another component to the mixture
- Parameters
component (GenericPhase) – The phase object of the component to add. Can also be a list of phases to add more than one at a time.
mode (str) –
mode
meaning
’add’
Adds the given components
’remove’
Removes the given components