forked from OPM/opm-python-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocstrings_common.json
More file actions
172 lines (172 loc) · 13.1 KB
/
docstrings_common.json
File metadata and controls
172 lines (172 loc) · 13.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"SummaryStateClass":{
"type": "class",
"signature": "opm.io.sim.SummaryState",
"doc": "The SummaryState class - this is where the current summary results of the simulator are stored.\nThe SummaryState class has methods to get hold of well, group and general variables."
},
"SummaryState_update_well_var": {
"signature": "opm.io.sim.SummaryState.update_well_var(well_name: str, variable_name: str, new_value: double) -> None",
"doc": "Updates the variable of a well.\n\n:param well_name: The name of the well.\n:type well_name: str\n:param variable_name: The name of the variable to update.\n:type variable_name: str\n:param new_value: The new value of the variable.\n:type new_value: double"
},
"SummaryState_update_group_var": {
"signature": "opm.io.sim.SummaryState.update_group_var(group_name: str, variable_name: str, new_value: double) -> None",
"doc": "Updates the variable of a group.\n\n:param group_name: The name of the group.\n:type group_name: str\n:param variable_name: The name of the variable to update.\n:type variable_name: str\n:param new_value: The new value of the variable.\n:type new_value: double"
},
"SummaryState_well_var": {
"signature": "opm.io.sim.SummaryState.well_var(well_name: str, variable_name: str) -> double",
"doc": "Gets the value of a variable for a well.\n\n:param well_name: The name of the well.\n:type well_name: str\n:param variable_name: The name of the variable to retrieve.\n:type variable_name: str\n\n:return: The value of the specified variable for the well. \n:type return: double"
},
"SummaryState_group_var": {
"signature": "opm.io.sim.SummaryState.group_var(group_name: str, variable_name: str) -> double",
"doc": "Gets the value of a variable for a group.\n\n:param group_name: The name of the group.\n:type group_name: str\n:param variable_name: The name of the variable to retrieve.\n:type variable_name: str\n\n:return: The value of the specified variable for the group. \n:type return: double"
},
"SummaryState_elapsed": {
"signature": "opm.io.sim.SummaryState.elapsed() -> double",
"doc": "Returns the elapsed time in seconds of the current simulation.\n\n:return: The elapsed time in seconds. \n:type return: double"
},
"SummaryState_groups": {
"signature": "opm.io.sim.SummaryState.groups -> list",
"doc": "Returns a list of strings containing all group names.\n\n:return: A list of strings representing all group names. \n:type return: list"
},
"SummaryState_wells": {
"signature": "opm.io.sim.SummaryState.wells -> list",
"doc": "Returns a list of strings containing all well names.\n\n:return: A list of strings representing all well names. \n:type return: list"
},
"SummaryState_has_well_var": {
"signature": "opm.io.sim.SummaryState.has_well_var(well_name: str, variable_name: str) -> bool",
"doc": "Checks if a well variable exists.\n\n:param well_name: The name of the well.\n:type well_name: str\n:param variable_name: The name of the variable to check.\n:type variable_name: str\n\n:return: True if the variable exists for the well, False otherwise. \n:type return: bool"
},
"SummaryState_has_group_var": {
"signature": "opm.io.sim.SummaryState.has_group_var(group_name: str, variable_name: str) -> bool",
"doc": "Checks if a group variable exists.\n\n:param group_name: The name of the group.\n:type group_name: str\n:param variable_name: The name of the variable to check.\n:type variable_name: str\n\n:return: True if the variable exists for the group, False otherwise. \n:type return: bool"
},
"EclipseStateClass": {
"type": "class",
"signature": "opm.io.ecl_state.EclipseState",
"doc": "The EclipseState class - this is a representation of all static properties in the model,ranging from porosity to relperm tables.\nThe content of the EclipseState is immutable and may not be changed at runtime."
},
"EclipseState_input_nnc": {
"signature": "opm.io.ecl_state.EclipseState.input_nnc() -> list",
"doc": "Returns a list of non-neighboring connections.\n\nOne non-neighboring connection is a tuple containing the following elements:\n- index1 (int): Index of the first cell.\n- index2 (int): Index of the second cell.\n- transmissibility (double): Transmissibility between the two cells.\n\n:return: A list of non-neighboring connections. \n:type return: list"
},
"EclipseState_faultNames": {
"signature": "opm.io.ecl_state.EclipseState.faultNames() -> list",
"doc": "Returns a list of fault names.\n\n:return: A list containing the names of faults. \n:type return: list"
},
"EclipseState_faultFaces": {
"signature": "opm.io.ecl_state.EclipseState.faultFaces(fault_name: str) -> list",
"doc": "Returns a list of faces of a fault with the given name.\n\n:param fault_name: The name of the fault.\n:type fault_name: str\n\n:return: A list containing the faces of the specified fault. \n:type return: list"
},
"EclipseState_jfunc": {
"signature": "opm.io.ecl_state.EclipseState.jfunc() -> dict",
"doc": "Function returning a dictionary with the following entries: ['FLAG', 'DIRECTION', 'ALPHA_FACTOR', 'BETA_FACTOR', 'OIL_WATER', 'GAS_OIL']\n\n:return: A dictionary containing the specified entries. \n:type return: dict"
},
"EclipseState_simulation": {
"signature": "opm.io.ecl_state.EclipseState.simulation() -> SimulationConfiguration",
"doc": "Returns the simulation configuration.\n\n:return: The simulation configuration. \n:type return: SimulationConfiguration"
},
"ScheduleClass": {
"type": "class",
"signature": "opm.io.schedule.Schedule",
"doc": "The Schedule class - this is a representation of all the content from the SCHEDULE section, notably all well and group information and the timestepping."
},
"Schedule_getitem": {
"signature": "opm.io.schedule.Schedule.__getitem__(report_step: int) -> ScheduleState",
"doc": "Returns the ScheduleState at the given report step.\n\n:param report_step: The report step.\n:type report_step: int\n\n:return: The ScheduleState at the given report step.\n:type return: ScheduleState"
},
"Schedule_shut_well_well_name_step": {
"signature": "opm.io.schedule.Schedule.shut_well(well_name: str, step: int) -> None",
"doc": "Shuts down a well at a given report step.\n\n:param well_name: The name of the well to shut down.\n:type well_name: str\n:param step: The report step at which to shut down the well.\n:type step: int"
},
"Schedule_shut_well_well_name": {
"signature": "opm.io.schedule.Schedule.shut_well(well_name: str) -> None",
"doc": "Shuts down a well at the current report step.\n\n:param well_name: The name of the well to shut down.\n:type well_name: str"
},
"Schedule_open_well_well_name_step": {
"signature": "opm.io.schedule.Schedule.open_well(well_name: str, step: int) -> None",
"doc": "Opens a well at a given report step.\n\n:param well_name: The name of the well to open.\n:type well_name: str\n:param step: The report step at which to open the well.\n:type step: int\n:raises ValueError: If the report step is in the past or exceeds the duration of the simulation."
},
"Schedule_open_well_well_name": {
"signature": "opm.io.schedule.Schedule.open_well(well_name: str) -> None",
"doc": "Opens a well at the current report step.\n\n:param well_name: The name of the well to open.\n:type well_name: str"
},
"Schedule_stop_well_well_name_step":{
"signature": "opm.io.schedule.Schedule.stop_well(well_name: str, step: int) -> None",
"doc": "Stops a well at a given report step.\n\n:param well_name: The name of the well to stop.\n:type well_name: str\n:param step: The report step at which to stop the well.\n:type step: int\n:raises ValueError: If the report step is in the past or exceeds the duration of the simulation."
},
"Schedule_stop_well_well_name": {
"signature": "opm.io.schedule.Schedule.stop_well(well_name: str) -> None",
"doc": "Stops a well at the current report step.\n\n:param well_name: The name of the well to stop.\n:type well_name: str"
},
"Schedule_get_injection_properties": {
"signature": "opm.io.schedule.Schedule.get_injection_properties(well_name: str, report_step: int) -> dict",
"doc": "Gets injection properties for a well at a specific report step.\n\n:param well_name: The name of the well.\n:type well_name: str\n:param report_step: The report step to retrieve properties for.\n:type report_step: int\n\n:return: A dict containing the properties surf_inj_rate, resv_inj_rate, bhp_target, thp_target. \n:type return: dict"
},
"Schedule_get_production_properties": {
"signature": "opm.io.schedule.Schedule.get_production_properties(well_name: str, report_step: int) -> dict",
"doc": "Gets production properties for a well at a specific report step.\n\n:param well_name: The name of the well.\n:type well_name: str\n:param report_step: The report step to retrieve properties for.\n:type report_step: int\n\n:return: A dict containing the properties oil_rate, gas_rate, water_rate, liquid_rate, resv_rate, bhp_target, thp_target, alq_value. \n:type return: dict"
},
"Schedule_groups": {
"signature": "opm.io.schedule.Schedule._groups(report_step: int) -> list",
"doc": "Gets a list of all groups at a specified report step.\n\n:param report_step: The report step to retrieve groups for.\n:type report_step: int\n\n:return: A list containing all groups at the specified report step. \n:type return: list"
},
"Schedule_get_well": {
"signature": "opm.io.schedule.Schedule.get_well(well_name: str, report_step: int) -> Well",
"doc": "Retrieves a well at a given report step.\n\n:param well_name: The name of the well.\n:type well_name: str\n:param report_step: The report step.\n:type report_step: int\n\n:return: Well object at the given report step. \n:type return: well"
},
"Schedule_get_wells": {
"signature": "opm.io.schedule.Schedule.get_wells(well_name_pattern: str) -> list",
"doc": "Gets the names of wells matching a specified pattern.\n\n:param well_name_pattern: The pattern for well names, where '*' acts as a wildcard.\n:type well_name_pattern: str\n\n:return: A list containing the names of wells that match the specified pattern. \n:type return: list"
},
"GroupClass": {
"signature": "Group",
"type": "class",
"doc": "The Group class."
},
"Group_name": {
"signature": "Group.name",
"doc": "Returns the name of this group.\n\n:return: The name of this group.\n:type return: str"
},
"Group_num_wells": {
"signature": "Group.num_wells",
"doc": "Returns the number of wells in this group.\n\n:return: The number of wells in this group.\n:type return: int"
},
"Group_well_names": {
"signature": "Group.well_names",
"doc": "Returns a list of all well names in this group.\n\n:return: A list of all well names in this group.\n:type return: list"
},
"ScheduleStateClass": {
"signature": "ScheduleState",
"type": "class",
"doc": "The ScheduleState class."
},
"ScheduleState_nupcol": {
"signature": "ScheduleState.nupcol",
"doc": "The NUPCOL value at this Schedule State. This is a positive integer that defines the maximum number of Newton iterations used to update well targets within a time step."
},
"ScheduleState_get_group": {
"signature": "ScheduleState.get_group(group_name: str) -> Group",
"doc": "Gets the group with the specified name from the schedule state.\n\n:param group_name: The name of the group to retrieve from the schedule state.\n:type group_name: str\n\n:return: The group with the specified name from the schedule state. \n:type return: Group"
},
"WellClass": {
"type": "class",
"signature": "Well",
"doc": "The Well class."
},
"Well_pos": {
"signature": "Well.pos() -> tuple",
"doc": "Retrieves the position of the well.\n\n:return: A tuple containing the (i, j) coordinates and the reference depth of the well. \n:type return: tuple"
},
"Well_isdefined": {
"signature": "Well.isdefined(report_step: int) -> bool",
"doc": "Checks if the well is defined at a specific report step.\n\n:param report_step: The report step to check for the well's definition.\n:type report_step: int\n\n:return: True if the well is defined at the specified report step, False otherwise. \n:type return: bool"
},
"Well_available_gctrl": {
"signature": "Well.available_gctrl() -> bool",
"doc": "Checks if the well is available for group control.\n\n:return: True if the well is available for group control, False otherwise. \n:type return: bool"
},
"Well_connections": {
"signature": "Well.connections() -> list",
"doc": "Gets a list of all connections associated with the well.\n\n:return: A list containing all connections of the well. \n:type return: list"
}
}