libICEpost.src.thermophysicalModels.specie.reactions.ReactionModel.Inhert

@author: F. Ramognino <federico.ramognino@polimi.it> Last update: 12/06/2023

Classes

Inhert

Inhert mixture (no reactions)

Module Contents

class libICEpost.src.thermophysicalModels.specie.reactions.ReactionModel.Inhert.Inhert(reactants: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture)[source]

Bases: libICEpost.src.thermophysicalModels.specie.reactions.ReactionModel.ReactionModel.ReactionModel

Inhert mixture (no reactions)

(Mixture) The mixture of the reactants

products

(Mixture) The mixture of products of the reaction

_ReactionType: str = None

The type for reactions to lookup for in the database

classmethod fromDictionary(dictionary)[source]

Constuct from dictionary.

Parameters:

dictionary (dict) – The dictionary from which constructing, containing: reactants (Mixture): the mixture of reactants

_products

The mixture of products

_update(reactants: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture = None, *, state: libICEpost.src.thermophysicalModels.thermoModels.ThermoState.ThermoState = None) bool[source]

Method to update the products.

Parameters:
  • reactants (Mixture, optional) – Update mixture of reactants. Defaults to None.

  • state (ThermoState, optional) – Thermodynamic state to update the reaction model. (NOT USED)

Returns:

if something changed

Return type:

bool