Special contributions¶
Derivative¶
- class simu.app.thermo.contributions.special.Derivative¶
This auxiliary contribution provides the derivative of an arbitrary property with respect to an independent (state) variable. This can for instance be used to equip a thermodynamic model with extra temperature derivatives for calculating heat capacity or partial molar enthalpy as canonical properties.
The contribution requires an
optiondictionary with the following entries:x: The name of the independent property \(x\)y: The name of the dependent property \(y\)
The derivative \(\partial y/\partial x\) will be provided as
f"d{options['y']}_d{options['x']}".- __init__(
- species: Mapping[str, SpeciesDefinition],
- options=None,
- classmethod __new__(*args, **kwargs)¶