set_component¶
- IdealGas.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 {'add', 'remove'}) – Indicates whether to add or remove the give component(s)