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

refact runTransient. Default to steady state calculation #417

Merged
merged 5 commits into from
May 25, 2022

Conversation

asmfstatoil
Copy link
Collaborator

No description provided.

…hall call use difference equations or steady state calculation

refact: inherit runTransient if doing nothing special
@asmfstatoil asmfstatoil requested a review from EvenSol as a code owner May 24, 2022 20:31
@asmfstatoil
Copy link
Collaborator Author

@EvenSol Her har eg rydda i konseptet for å gjere steady state kalkulasjon når runTransient vert kalla.

@EvenSol
Copy link
Collaborator

EvenSol commented May 25, 2022

Looks like good clean up. Valves are initialized to be calculated dynamic (calcSteadyState=false), I guess this is ok. In the test they are set to be non-dynamic. Tee tests should by on valves running in dynamic mode I guess.

Copy link
Collaborator

@EvenSol EvenSol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its fine to commit this to master I think.

@asmfstatoil
Copy link
Collaborator Author

the valves (and others with setcalulatesteadystate=false) are set up like that to keep their old behaviour if not specified.

tests test the new behaviour

@asmfstatoil asmfstatoil merged commit 6be1677 into equinor:master May 25, 2022
@asmfstatoil asmfstatoil deleted the calc_steady_state branch May 25, 2022 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants