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

Get grid conformities directly from RMS #61

Closed
wants to merge 1 commit into from

Conversation

oddvarlia
Copy link
Contributor

@oddvarlia oddvarlia commented Feb 10, 2025

Reasons for making this change

Today the user have to specify grid conformity for each zone when using the AHM mode in APS. This means the user have to open the grid job that has created the grid chosen in the APS job and check the grid conformity there and specify the same in the APS GUI. To reduce this manual work and reduce possibilities for mismatch, APS plugin can get the conformity for each zone directly from the grid job in RMS. This can be done by specifying the job name for the grid job that has created the current grid. Another argument for this change is that it is easy to get mismatch between zone conformity settings in the geogrid and the APS model if the geogrid conformity is changed. There are no check of this consistency per today.

A possible solution is then for interactive use of APS:

  • In Job settings window specify a drop-down field where the user can select which job has been used to create the current grid model. If None is selected (this should be an option), the user will have to specify the conformity per zone as today.
  • In the main window display the conformity per zone as read-only settings and not as mutable values in the case a job name is specified where the plugin can find the conformity settings. If no job name is selected, the conformity fields must be selectable as today.
  • The reason for having the option not to specify any job is for cases where the geogrid (the grid the APS job has selected) is not created by RMS, but imported or created by a script run in RMS and there does not exist any RMS job that has created the grid.

Run time use:
When running APS job, the python code should check consistent settings for the APS zone conformities against the grid if possible. This can be possible if the code knows which job has created the grid.

Related issues

Per today there are no rmsapi functionality to find which RMS job has created a grid. Interactively this can be done by selecting 'grid'->'task'->'open parent job' We have asked Aspentech if this functionality can be made available. The conformity could be found automatically without any user interaction at all if the grid was created by a job in RMS if this functionality existed.

Closes: #59

@oddvarlia oddvarlia marked this pull request as draft February 10, 2025 14:01
@oddvarlia oddvarlia changed the title Add get_conformity_from_rms.py Get grid conformities directly from RMS Feb 10, 2025
@oddvarlia oddvarlia force-pushed the set_grid_conformity_from_rms_automatically branch 8 times, most recently from 730caa1 to 7264e37 Compare February 11, 2025 14:31
@oddvarlia oddvarlia force-pushed the set_grid_conformity_from_rms_automatically branch from 7264e37 to 458052a Compare February 20, 2025 10:12
@oddvarlia oddvarlia force-pushed the set_grid_conformity_from_rms_automatically branch from 458052a to 39fb6f9 Compare February 20, 2025 14:21
@oddvarlia
Copy link
Contributor Author

This is covered by another PR

@oddvarlia oddvarlia closed this Feb 25, 2025
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.

Get grid conformity when available from RMS using rmsapi
1 participant