Thermal Engineering Systems in Python (TESPy). This package provides a powerful simulation toolkit for thermal engineering plants such as power plants, district heating systems or heat pumps.
The designer of a component needs to add equations and the respective derivatives for each desired parameter of that component. There is a possibility to use the numeric_deriv function, which calculates a derivative numerically calling the respective equation with a slight change in the specified variable. A list of variables could be added to the parameter information (i.e. the variables relevant for an equation, like inlet enthalpy and pressure, outlet mass flow, ...) and with that list the numeric derivatives would be calculated automatically sparing the designer of the requirement to write the respective _deriv method.
The designer of a component needs to add equations and the respective derivatives for each desired parameter of that component. There is a possibility to use the
numeric_deriv
function, which calculates a derivative numerically calling the respective equation with a slight change in the specified variable. A list of variables could be added to the parameter information (i.e. the variables relevant for an equation, like inlet enthalpy and pressure, outlet mass flow, ...) and with that list the numeric derivatives would be calculated automatically sparing the designer of the requirement to write the respective_deriv
method.