tespy icon indicating copy to clipboard operation
tespy copied to clipboard

A method to calculate all partial derivatives of a component's equation numerically might be useful

Open fwitte opened this issue 1 year ago • 0 comments

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.

fwitte avatar Dec 31 '23 13:12 fwitte