Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fwitte opened this issue Dec 31, 2023 · 0 comments
Assignees

Comments

@fwitte
Copy link
Member

fwitte commented Dec 31, 2023

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 fwitte self-assigned this Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant