Skip to content

Commit db8735c

Browse files
magnesjgithub-actions[bot]
authored andcommitted
Update rips module, proto files, and Python examples
1 parent 4281301 commit db8735c

File tree

2 files changed

+0
-233
lines changed

2 files changed

+0
-233
lines changed

docs/proto/SimulatorTables.proto

Lines changed: 0 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,13 @@ package rips;
77
service WellPath {
88
rpc GetCompletionData(SimulatorTableRequest)
99
returns (SimulatorTableData) {}
10-
rpc GetCompletionDataUnified(SimulatorTableUnifiedRequest)
11-
returns (SimulatorTableData) {}
1210
}
1311

1412
message SimulatorTableRequest {
1513
string wellpath_name = 1;
1614
int32 case_id = 2;
1715
}
1816

19-
message SimulatorTableUnifiedRequest {
20-
repeated string wellpath_names = 1;
21-
int32 case_id = 2;
22-
}
23-
2417
message SimulatorCompdatEntry {
2518
string well_name = 1;
2619
int32 grid_i = 2;
@@ -56,87 +49,8 @@ message SimulatorWelspecsEntry {
5649
optional int32 fip_region = 13;
5750
}
5851

59-
message SimulatorWelsegsHeaderEntry {
60-
string well_name = 1;
61-
double top_depth = 2;
62-
double top_length = 3;
63-
optional double wellbore_volume = 4;
64-
string info_type = 5;
65-
optional string pressure_omponents = 6;
66-
optional string flow_model = 7;
67-
}
68-
69-
message SimulatorWelsegsRowEntry {
70-
int32 segment_1 = 1;
71-
int32 segment_2 = 2;
72-
int32 branch = 3;
73-
int32 join_segment = 4;
74-
double length = 5;
75-
double depth = 6;
76-
optional double diameter = 7;
77-
optional double roughness = 8;
78-
optional string description = 9;
79-
}
80-
81-
message SimulatorWelsegsEntry {
82-
SimulatorWelsegsHeaderEntry header = 1;
83-
repeated SimulatorWelsegsRowEntry row = 2;
84-
}
85-
86-
message SimulatorCompsegsEntry {
87-
int32 i = 1;
88-
int32 j = 2;
89-
int32 k = 3;
90-
int32 branch = 4;
91-
double distance_start = 5;
92-
double distance_end = 6;
93-
optional string grid_name = 7;
94-
}
95-
96-
message SimulatorWsegvalvEntry {
97-
string well_name = 1;
98-
int32 segment_number = 2;
99-
double cv = 3;
100-
double area = 4;
101-
optional double extra_length = 5;
102-
optional double pipe_d = 6;
103-
optional double roughness = 7;
104-
optional double pipe_a = 8;
105-
optional string status = 9;
106-
optional double max_a = 10;
107-
}
108-
109-
message SimulatorWsegaicdEntry {
110-
string well_name = 1;
111-
int32 segment_1 = 2;
112-
int32 segment_2 = 3;
113-
double strength = 4;
114-
optional double length = 5;
115-
optional double density_cali = 6;
116-
optional double viscosity_cali = 7;
117-
optional double critical_value = 8;
118-
optional double width_trans = 9;
119-
optional double max_visc_ratio = 10;
120-
optional int32 method_scaling_factor = 11;
121-
double max_abs_rate = 12;
122-
double flow_rate_exponent = 13;
123-
double visc_exponent = 14;
124-
optional string status = 15;
125-
optional double oil_flow_fraction = 16;
126-
optional double water_flow_fraction = 17;
127-
optional double gas_flow_fraction = 18;
128-
optional double oil_visc_fraction = 19;
129-
optional double water_visc_fraction = 20;
130-
optional double gas_visc_fraction = 21;
131-
optional string description = 22;
132-
}
133-
13452
message SimulatorTableData {
13553
repeated SimulatorCompdatEntry compdat = 1;
13654
repeated SimulatorWelspecsEntry welspecs = 2;
137-
repeated SimulatorWelsegsEntry welsegs = 3;
138-
repeated SimulatorCompsegsEntry compsegs = 4;
139-
repeated SimulatorWsegvalvEntry wsegvalv = 5;
140-
repeated SimulatorWsegaicdEntry wsegaicd = 6;
14155
}
14256

docs/source/ProtobufStructures.rst

Lines changed: 0 additions & 147 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ SimulatorTableData
3838

3939
* ``compdat`` (list[SimulatorCompdatEntry])
4040
* ``welspecs`` (list[SimulatorWelspecsEntry])
41-
* ``welsegs`` (list[SimulatorWelsegsEntry])
42-
* ``compsegs`` (list[SimulatorCompsegsEntry])
43-
* ``wsegvalv`` (list[SimulatorWsegvalvEntry])
44-
* ``wsegaicd`` (list[SimulatorWsegaicdEntry])
4541

4642

4743
SimulatorCompdatEntry
@@ -149,149 +145,6 @@ SimulatorTables.proto
149145
~~~~~~~~~~~~~~~~~~~~~
150146

151147

152-
SimulatorTableUnifiedRequest
153-
""""""""""""""""""""""""""""
154-
155-
**Source:** ``SimulatorTables.proto``
156-
157-
**Attributes:**
158-
159-
* ``case_id`` (int)
160-
161-
**Repeated Fields:**
162-
163-
* ``wellpath_names`` (list[str])
164-
165-
166-
SimulatorWelsegsHeaderEntry
167-
"""""""""""""""""""""""""""
168-
169-
**Source:** ``SimulatorTables.proto``
170-
171-
**Attributes:**
172-
173-
* ``well_name`` (str)
174-
* ``top_depth`` (float)
175-
* ``top_length`` (float)
176-
* ``info_type`` (str)
177-
178-
**Optional Attributes:**
179-
180-
* ``wellbore_volume`` (float | None)
181-
* ``pressure_omponents`` (str | None)
182-
* ``flow_model`` (str | None)
183-
184-
185-
SimulatorWelsegsRowEntry
186-
""""""""""""""""""""""""
187-
188-
**Source:** ``SimulatorTables.proto``
189-
190-
**Attributes:**
191-
192-
* ``segment_1`` (int)
193-
* ``segment_2`` (int)
194-
* ``branch`` (int)
195-
* ``join_segment`` (int)
196-
* ``length`` (float)
197-
* ``depth`` (float)
198-
199-
**Optional Attributes:**
200-
201-
* ``diameter`` (float | None)
202-
* ``roughness`` (float | None)
203-
* ``description`` (str | None)
204-
205-
206-
SimulatorWelsegsEntry
207-
"""""""""""""""""""""
208-
209-
**Source:** ``SimulatorTables.proto``
210-
211-
**Attributes:**
212-
213-
* ``header`` (SimulatorWelsegsHeaderEntry)
214-
215-
**Repeated Fields:**
216-
217-
* ``row`` (list[SimulatorWelsegsRowEntry])
218-
219-
220-
SimulatorCompsegsEntry
221-
""""""""""""""""""""""
222-
223-
**Source:** ``SimulatorTables.proto``
224-
225-
**Attributes:**
226-
227-
* ``i`` (int)
228-
* ``j`` (int)
229-
* ``k`` (int)
230-
* ``branch`` (int)
231-
* ``distance_start`` (float)
232-
* ``distance_end`` (float)
233-
234-
**Optional Attributes:**
235-
236-
* ``grid_name`` (str | None)
237-
238-
239-
SimulatorWsegvalvEntry
240-
""""""""""""""""""""""
241-
242-
**Source:** ``SimulatorTables.proto``
243-
244-
**Attributes:**
245-
246-
* ``well_name`` (str)
247-
* ``segment_number`` (int)
248-
* ``cv`` (float)
249-
* ``area`` (float)
250-
251-
**Optional Attributes:**
252-
253-
* ``extra_length`` (float | None)
254-
* ``pipe_d`` (float | None)
255-
* ``roughness`` (float | None)
256-
* ``pipe_a`` (float | None)
257-
* ``status`` (str | None)
258-
* ``max_a`` (float | None)
259-
260-
261-
SimulatorWsegaicdEntry
262-
""""""""""""""""""""""
263-
264-
**Source:** ``SimulatorTables.proto``
265-
266-
**Attributes:**
267-
268-
* ``well_name`` (str)
269-
* ``segment_1`` (int)
270-
* ``segment_2`` (int)
271-
* ``strength`` (float)
272-
* ``max_abs_rate`` (float)
273-
* ``flow_rate_exponent`` (float)
274-
* ``visc_exponent`` (float)
275-
276-
**Optional Attributes:**
277-
278-
* ``length`` (float | None)
279-
* ``density_cali`` (float | None)
280-
* ``viscosity_cali`` (float | None)
281-
* ``critical_value`` (float | None)
282-
* ``width_trans`` (float | None)
283-
* ``max_visc_ratio`` (float | None)
284-
* ``method_scaling_factor`` (int | None)
285-
* ``status`` (str | None)
286-
* ``oil_flow_fraction`` (float | None)
287-
* ``water_flow_fraction`` (float | None)
288-
* ``gas_flow_fraction`` (float | None)
289-
* ``oil_visc_fraction`` (float | None)
290-
* ``water_visc_fraction`` (float | None)
291-
* ``gas_visc_fraction`` (float | None)
292-
* ``description`` (str | None)
293-
294-
295148
WellPath Service
296149
""""""""""""""""
297150

0 commit comments

Comments
 (0)