Lauther commited on
Commit
1da7e30
·
verified ·
1 Parent(s): 89f5628

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +343 -212
README.md CHANGED
@@ -10,10 +10,11 @@ base_model: intfloat/multilingual-e5-large-instruct
10
  widget:
11
  - source_sentence: How are calibration points linked to equipment?
12
  sentences:
13
- - 'How are flow computers and measurement systems related?
 
14
 
15
- Flow computers can have multiple systems assigned to them. However, a measurement
16
- system can only be assigned to one flow computer.
17
 
18
 
19
  Database terminology:
@@ -29,264 +30,386 @@ widget:
29
 
30
  Storage of the relationship:
31
 
32
- The relationship between a flow computer and its assigned measurement system is
33
- stored in a special table.
34
 
35
 
36
  User context:
37
 
38
- When a user refers to a "meter stream," they are indicating that they are searching
39
- for a measurement system assigned to a specific flow computer.'
40
- - "How does a flow computer generate and store reports?\nA flow computer generates\
41
- \ daily or hourly reports to provide users with operational data. These reports\
42
- \ are stored in the flow computer's memory in an organized format.\n\nReport structure:\n\
43
- - Each report includes:\n- Date and time of the data recording.\n- Data recorded\
44
- \ from flow computers.\n\nData storage in tables:\nThe reports are saved in two\
45
- \ tables:\n1. Main table (Index):\n - Stores the date, time, and flow computer\
46
- \ identifier.\n2. Detail table:\n - Stores the measured values associated with\
47
- \ the report.\n\nConnection to the Modbus table:\nThe flow computer's reports\
48
- \ are linked to a Modbus table. This table contains the names corresponding to\
49
- \ each value in the reports, making it easier to interpret the data."
50
- - "What is uncertainty?\nUncertainty is a measure of confidence in the precision\
51
- \ and reliability of results obtained from equipment or measurement systems. It\
52
- \ quantifies the potential error or margin of error in measurements.\n\nTypes\
53
- \ of uncertainty:\nThere are two main types of uncertainty:\n1. Uncertainty of\
54
- \ magnitudes (variables):\n - Refers to the uncertainty of specific variables,\
55
- \ such as temperature or pressure.\n - It is calculated after calibrating a\
56
- \ device or obtained from the equipment manufacturer's manual.\n - This uncertainty\
57
- \ serves as a starting point for further calculations related to the equipment.\n\
58
- \n2. Uncertainty of the measurement system:\n - Refers to the uncertainty calculated\
59
- \ for the overall flow measurement.\n - It depends on the uncertainties of\
60
- \ the individual variables (magnitudes) and represents the combined margin of\
61
- \ error for the entire system.\n\nKey points:\n- The uncertainties of magnitudes\
62
- \ (variables) are the foundation for calculating the uncertainty of the measurement\
63
- \ system. Think of them as the \"building blocks.\"\n- Do not confuse the two\
64
- \ types of uncertainty:\n - **Uncertainty of magnitudes/variables**: Specific\
65
- \ to individual variables (e.g., temperature, pressure).\n - **Uncertainty\
66
- \ of the measurement system**: Specific to the overall flow measurement.\n\nDatabase\
67
- \ storage for uncertainties:\nIn the database, uncertainty calculations are stored\
68
- \ in two separate tables:\n1. Uncertainty of magnitudes (variables):\n - Stores\
69
- \ the uncertainty values for specific variables (e.g., temperature, pressure).\n\
70
- \n2. Uncertainty of the measurement system:\n - Stores the uncertainty values\
71
- \ for the overall flow measurement system.\n\nHow to retrieve uncertainty data:\n\
72
- - To find the uncertainty of the measurement system, join the measurement systems\
73
- \ table with the uncertainty of the measurement system table.\n- To find the uncertainty\
74
- \ of a specific variable (magnitude), join the measurement systems table with\
75
- \ the uncertainty of magnitudes (variables) table.\n\nImportant note:\nDo not\
76
- \ confuse the two types of uncertainty:\n- If the user requests the uncertainty\
77
- \ of the measurement system, use the first join (measurement systems table + uncertainty\
78
- \ of the measurement system table).\n- If the user requests the uncertainty of\
79
- \ a specific variable (magnitude) in a report, use the second join (measurement\
80
- \ systems table + uncertainty of magnitudes table)."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  - source_sentence: What is the primary key of the flow computer table?
82
  sentences:
83
- - 'What is equipment calibration?
 
84
 
85
- Calibration is a metrological verification process used to ensure the accuracy
86
- of measurement equipment. It is performed periodically, based on intervals set
87
- by the company or a regulatory body.
88
 
89
 
90
  Purpose of calibration:
91
 
92
- The calibration process corrects any deviations in how the equipment measures
93
- physical magnitudes (variables). This ensures the equipment provides accurate
94
- and reliable data.
95
 
96
 
97
  Calibration cycles:
98
 
99
  There are two main calibration cycles:
100
 
101
- 1. As-found: Represents the equipment''s measurement accuracy before any adjustments
102
- are made. This cycle is almost always implemented.
103
 
104
- 2. As-left: Represents the equipment''s measurement accuracy after adjustments
105
- are made. This cycle is used depending on regulatory requirements.
 
106
 
107
 
108
  Calibration uncertainty:
109
 
110
  - Uncertainty is included in the results of a calibration.
111
 
112
- - Calibration uncertainty refers to the margin of error in the device''s measurements,
113
- which also affects the uncertainty of the measured variable or magnitude.'
114
- - 'What is equipment calibration?
 
 
115
 
116
- Calibration is a metrological verification process used to ensure the accuracy
117
- of measurement equipment. It is performed periodically, based on intervals set
118
- by the company or a regulatory body.
119
 
120
 
121
  Purpose of calibration:
122
 
123
- The calibration process corrects any deviations in how the equipment measures
124
- physical magnitudes (variables). This ensures the equipment provides accurate
125
- and reliable data.
126
 
127
 
128
  Calibration cycles:
129
 
130
  There are two main calibration cycles:
131
 
132
- 1. As-found: Represents the equipment''s measurement accuracy before any adjustments
133
- are made. This cycle is almost always implemented.
134
 
135
- 2. As-left: Represents the equipment''s measurement accuracy after adjustments
136
- are made. This cycle is used depending on regulatory requirements.
 
137
 
138
 
139
  Calibration uncertainty:
140
 
141
  - Uncertainty is included in the results of a calibration.
142
 
143
- - Calibration uncertainty refers to the margin of error in the device''s measurements,
144
- which also affects the uncertainty of the measured variable or magnitude.'
145
- - "How does a flow computer generate and store reports?\nA flow computer generates\
146
- \ daily or hourly reports to provide users with operational data. These reports\
147
- \ are stored in the flow computer's memory in an organized format.\n\nReport structure:\n\
148
- - Each report includes:\n- Date and time of the data recording.\n- Data recorded\
149
- \ from flow computers.\n\nData storage in tables:\nThe reports are saved in two\
150
- \ tables:\n1. Main table (Index):\n - Stores the date, time, and flow computer\
151
- \ identifier.\n2. Detail table:\n - Stores the measured values associated with\
152
- \ the report.\n\nConnection to the Modbus table:\nThe flow computer's reports\
153
- \ are linked to a Modbus table. This table contains the names corresponding to\
154
- \ each value in the reports, making it easier to interpret the data."
155
- - source_sentence: Can you provide a sample query to test the retrieval of the uncertainty
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  result for the specified tag and date?
157
  sentences:
158
- - 'What is equipment calibration?
 
159
 
160
- Calibration is a metrological verification process used to ensure the accuracy
161
- of measurement equipment. It is performed periodically, based on intervals set
162
- by the company or a regulatory body.
163
 
164
 
165
  Purpose of calibration:
166
 
167
- The calibration process corrects any deviations in how the equipment measures
168
- physical magnitudes (variables). This ensures the equipment provides accurate
169
- and reliable data.
170
 
171
 
172
  Calibration cycles:
173
 
174
  There are two main calibration cycles:
175
 
176
- 1. As-found: Represents the equipment''s measurement accuracy before any adjustments
177
- are made. This cycle is almost always implemented.
178
 
179
- 2. As-left: Represents the equipment''s measurement accuracy after adjustments
180
- are made. This cycle is used depending on regulatory requirements.
 
181
 
182
 
183
  Calibration uncertainty:
184
 
185
  - Uncertainty is included in the results of a calibration.
186
 
187
- - Calibration uncertainty refers to the margin of error in the device''s measurements,
188
- which also affects the uncertainty of the measured variable or magnitude.'
189
- - 'What kind of data store an equipment?
 
 
190
 
191
- Equipments can capture meteorological data, such as pressure, temperature, and
192
- volume (magnitudes). This data is essential for users to perform various calculations.
 
193
 
194
 
195
  Data storage:
196
 
197
- - The measured values are stored in a special table in the database for magnitudes.
198
- This table contains the values of the variables captured by the equipments.
 
199
 
200
- - These values are **direct measurements** from the fluid (e.g., raw pressure,
201
- temperature, or volume readings). **They are not calculated values**, such as
202
- uncertainty.
203
 
204
- - The values stored in the variable values table are **different** from variable
205
- uncertainty values, which are calculated separately and represent the margin of
206
- error.
207
 
208
 
209
  Accessing the data:
210
 
211
- - Users typically access the data by referring to the readings from the measurement
212
- system, not directly from the individual equipments.
213
 
214
  - The readings are stored in a "variable values" table within the database.
215
 
216
 
217
  Linking variable names:
218
 
219
- If the user needs to know the name of a variable, they must link the data to another
220
- table that stores information about the types of variables.'
221
- - "What is uncertainty?\nUncertainty is a measure of confidence in the precision\
222
- \ and reliability of results obtained from equipment or measurement systems. It\
223
- \ quantifies the potential error or margin of error in measurements.\n\nTypes\
224
- \ of uncertainty:\nThere are two main types of uncertainty:\n1. Uncertainty of\
225
- \ magnitudes (variables):\n - Refers to the uncertainty of specific variables,\
226
- \ such as temperature or pressure.\n - It is calculated after calibrating a\
227
- \ device or obtained from the equipment manufacturer's manual.\n - This uncertainty\
228
- \ serves as a starting point for further calculations related to the equipment.\n\
229
- \n2. Uncertainty of the measurement system:\n - Refers to the uncertainty calculated\
230
- \ for the overall flow measurement.\n - It depends on the uncertainties of\
231
- \ the individual variables (magnitudes) and represents the combined margin of\
232
- \ error for the entire system.\n\nKey points:\n- The uncertainties of magnitudes\
233
- \ (variables) are the foundation for calculating the uncertainty of the measurement\
234
- \ system. Think of them as the \"building blocks.\"\n- Do not confuse the two\
235
- \ types of uncertainty:\n - **Uncertainty of magnitudes/variables**: Specific\
236
- \ to individual variables (e.g., temperature, pressure).\n - **Uncertainty\
237
- \ of the measurement system**: Specific to the overall flow measurement.\n\nDatabase\
238
- \ storage for uncertainties:\nIn the database, uncertainty calculations are stored\
239
- \ in two separate tables:\n1. Uncertainty of magnitudes (variables):\n - Stores\
240
- \ the uncertainty values for specific variables (e.g., temperature, pressure).\n\
241
- \n2. Uncertainty of the measurement system:\n - Stores the uncertainty values\
242
- \ for the overall flow measurement system.\n\nHow to retrieve uncertainty data:\n\
243
- - To find the uncertainty of the measurement system, join the measurement systems\
244
- \ table with the uncertainty of the measurement system table.\n- To find the uncertainty\
245
- \ of a specific variable (magnitude), join the measurement systems table with\
246
- \ the uncertainty of magnitudes (variables) table.\n\nImportant note:\nDo not\
247
- \ confuse the two types of uncertainty:\n- If the user requests the uncertainty\
248
- \ of the measurement system, use the first join (measurement systems table + uncertainty\
249
- \ of the measurement system table).\n- If the user requests the uncertainty of\
250
- \ a specific variable (magnitude) in a report, use the second join (measurement\
251
- \ systems table + uncertainty of magnitudes table)."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
252
  - source_sentence: How are the secondary equipment and measurement system related?
253
  sentences:
254
- - 'What kind of data store an equipment?
 
255
 
256
- Equipments can capture meteorological data, such as pressure, temperature, and
257
- volume (magnitudes). This data is essential for users to perform various calculations.
 
258
 
259
 
260
  Data storage:
261
 
262
- - The measured values are stored in a special table in the database for magnitudes.
263
- This table contains the values of the variables captured by the equipments.
 
264
 
265
- - These values are **direct measurements** from the fluid (e.g., raw pressure,
266
- temperature, or volume readings). **They are not calculated values**, such as
267
- uncertainty.
268
 
269
- - The values stored in the variable values table are **different** from variable
270
- uncertainty values, which are calculated separately and represent the margin of
271
- error.
272
 
273
 
274
  Accessing the data:
275
 
276
- - Users typically access the data by referring to the readings from the measurement
277
- system, not directly from the individual equipments.
278
 
279
  - The readings are stored in a "variable values" table within the database.
280
 
281
 
282
  Linking variable names:
283
 
284
- If the user needs to know the name of a variable, they must link the data to another
285
- table that stores information about the types of variables.'
286
- - 'What do measurement equipment measure?
 
287
 
288
- Each equipment measures a physical magnitude, also known as a variable. Based
289
- on the type of variable they measure, devices are classified into different categories.
 
290
 
291
 
292
  Equipment classification:
@@ -300,8 +423,8 @@ widget:
300
 
301
  Equipment types in the database:
302
 
303
- The database includes a table listing all equipment types. Examples of equipment
304
- types are:
305
 
306
  - Differential pressure transmitters
307
 
@@ -325,8 +448,8 @@ widget:
325
 
326
  Data storage in tables:
327
 
328
- The database also includes a separate table for equipment classifications, which
329
- are:
330
 
331
  - Primary meter
332
 
@@ -334,77 +457,84 @@ widget:
334
 
335
  - Tertiary meter
336
 
337
- So, an equipment has equipment types and this types has classifications.'
338
- - 'What kind of data store an equipment?
 
339
 
340
- Equipments can capture meteorological data, such as pressure, temperature, and
341
- volume (magnitudes). This data is essential for users to perform various calculations.
 
342
 
343
 
344
  Data storage:
345
 
346
- - The measured values are stored in a special table in the database for magnitudes.
347
- This table contains the values of the variables captured by the equipments.
 
348
 
349
- - These values are **direct measurements** from the fluid (e.g., raw pressure,
350
- temperature, or volume readings). **They are not calculated values**, such as
351
- uncertainty.
352
 
353
- - The values stored in the variable values table are **different** from variable
354
- uncertainty values, which are calculated separately and represent the margin of
355
- error.
356
 
357
 
358
  Accessing the data:
359
 
360
- - Users typically access the data by referring to the readings from the measurement
361
- system, not directly from the individual equipments.
362
 
363
  - The readings are stored in a "variable values" table within the database.
364
 
365
 
366
  Linking variable names:
367
 
368
- If the user needs to know the name of a variable, they must link the data to another
369
- table that stores information about the types of variables.'
370
  - source_sentence: What is the table structure for secondary equipment?
371
  sentences:
372
- - 'What kind of data store an equipment?
 
373
 
374
- Equipments can capture meteorological data, such as pressure, temperature, and
375
- volume (magnitudes). This data is essential for users to perform various calculations.
 
376
 
377
 
378
  Data storage:
379
 
380
- - The measured values are stored in a special table in the database for magnitudes.
381
- This table contains the values of the variables captured by the equipments.
 
382
 
383
- - These values are **direct measurements** from the fluid (e.g., raw pressure,
384
- temperature, or volume readings). **They are not calculated values**, such as
385
- uncertainty.
386
 
387
- - The values stored in the variable values table are **different** from variable
388
- uncertainty values, which are calculated separately and represent the margin of
389
- error.
390
 
391
 
392
  Accessing the data:
393
 
394
- - Users typically access the data by referring to the readings from the measurement
395
- system, not directly from the individual equipments.
396
 
397
  - The readings are stored in a "variable values" table within the database.
398
 
399
 
400
  Linking variable names:
401
 
402
- If the user needs to know the name of a variable, they must link the data to another
403
- table that stores information about the types of variables.'
404
- - 'How are flow computers and measurement systems related?
 
405
 
406
- Flow computers can have multiple systems assigned to them. However, a measurement
407
- system can only be assigned to one flow computer.
408
 
409
 
410
  Database terminology:
@@ -420,18 +550,19 @@ widget:
420
 
421
  Storage of the relationship:
422
 
423
- The relationship between a flow computer and its assigned measurement system is
424
- stored in a special table.
425
 
426
 
427
  User context:
428
 
429
- When a user refers to a "meter stream," they are indicating that they are searching
430
- for a measurement system assigned to a specific flow computer.'
431
- - 'How are flow computers and measurement systems related?
 
432
 
433
- Flow computers can have multiple systems assigned to them. However, a measurement
434
- system can only be assigned to one flow computer.
435
 
436
 
437
  Database terminology:
@@ -447,17 +578,17 @@ widget:
447
 
448
  Storage of the relationship:
449
 
450
- The relationship between a flow computer and its assigned measurement system is
451
- stored in a special table.
452
 
453
 
454
  User context:
455
 
456
- When a user refers to a "meter stream," they are indicating that they are searching
457
- for a measurement system assigned to a specific flow computer.'
458
  datasets:
459
  - Lauther/measuring-embeddings-v3
460
- pipeline_tag: sentence-similarity
461
  library_name: sentence-transformers
462
  ---
463
 
 
10
  widget:
11
  - source_sentence: How are calibration points linked to equipment?
12
  sentences:
13
+ - >-
14
+ How are flow computers and measurement systems related?
15
 
16
+ Flow computers can have multiple systems assigned to them. However, a
17
+ measurement system can only be assigned to one flow computer.
18
 
19
 
20
  Database terminology:
 
30
 
31
  Storage of the relationship:
32
 
33
+ The relationship between a flow computer and its assigned measurement system
34
+ is stored in a special table.
35
 
36
 
37
  User context:
38
 
39
+ When a user refers to a "meter stream," they are indicating that they are
40
+ searching for a measurement system assigned to a specific flow computer.
41
+ - >-
42
+ How does a flow computer generate and store reports?
43
+
44
+ A flow computer generates daily or hourly reports to provide users with
45
+ operational data. These reports are stored in the flow computer's memory in
46
+ an organized format.
47
+
48
+
49
+ Report structure:
50
+
51
+ - Each report includes:
52
+
53
+ - Date and time of the data recording.
54
+
55
+ - Data recorded from flow computers.
56
+
57
+
58
+ Data storage in tables:
59
+
60
+ The reports are saved in two tables:
61
+
62
+ 1. Main table (Index):
63
+ - Stores the date, time, and flow computer identifier.
64
+ 2. Detail table:
65
+ - Stores the measured values associated with the report.
66
+
67
+ Connection to the Modbus table:
68
+
69
+ The flow computer's reports are linked to a Modbus table. This table
70
+ contains the names corresponding to each value in the reports, making it
71
+ easier to interpret the data.
72
+ - >-
73
+ What is uncertainty?
74
+
75
+ Uncertainty is a measure of confidence in the precision and reliability of
76
+ results obtained from equipment or measurement systems. It quantifies the
77
+ potential error or margin of error in measurements.
78
+
79
+
80
+ Types of uncertainty:
81
+
82
+ There are two main types of uncertainty:
83
+
84
+ 1. Uncertainty of magnitudes (variables):
85
+ - Refers to the uncertainty of specific variables, such as temperature or pressure.
86
+ - It is calculated after calibrating a device or obtained from the equipment manufacturer's manual.
87
+ - This uncertainty serves as a starting point for further calculations related to the equipment.
88
+
89
+ 2. Uncertainty of the measurement system:
90
+ - Refers to the uncertainty calculated for the overall flow measurement.
91
+ - It depends on the uncertainties of the individual variables (magnitudes) and represents the combined margin of error for the entire system.
92
+
93
+ Key points:
94
+
95
+ - The uncertainties of magnitudes (variables) are the foundation for
96
+ calculating the uncertainty of the measurement system. Think of them as the
97
+ "building blocks."
98
+
99
+ - Do not confuse the two types of uncertainty:
100
+ - **Uncertainty of magnitudes/variables**: Specific to individual variables (e.g., temperature, pressure).
101
+ - **Uncertainty of the measurement system**: Specific to the overall flow measurement.
102
+
103
+ Database storage for uncertainties:
104
+
105
+ In the database, uncertainty calculations are stored in two separate tables:
106
+
107
+ 1. Uncertainty of magnitudes (variables):
108
+ - Stores the uncertainty values for specific variables (e.g., temperature, pressure).
109
+
110
+ 2. Uncertainty of the measurement system:
111
+ - Stores the uncertainty values for the overall flow measurement system.
112
+
113
+ How to retrieve uncertainty data:
114
+
115
+ - To find the uncertainty of the measurement system, join the measurement
116
+ systems table with the uncertainty of the measurement system table.
117
+
118
+ - To find the uncertainty of a specific variable (magnitude), join the
119
+ measurement systems table with the uncertainty of magnitudes (variables)
120
+ table.
121
+
122
+
123
+ Important note:
124
+
125
+ Do not confuse the two types of uncertainty:
126
+
127
+ - If the user requests the uncertainty of the measurement system, use the
128
+ first join (measurement systems table + uncertainty of the measurement
129
+ system table).
130
+
131
+ - If the user requests the uncertainty of a specific variable (magnitude) in
132
+ a report, use the second join (measurement systems table + uncertainty of
133
+ magnitudes table).
134
  - source_sentence: What is the primary key of the flow computer table?
135
  sentences:
136
+ - >-
137
+ What is equipment calibration?
138
 
139
+ Calibration is a metrological verification process used to ensure the
140
+ accuracy of measurement equipment. It is performed periodically, based on
141
+ intervals set by the company or a regulatory body.
142
 
143
 
144
  Purpose of calibration:
145
 
146
+ The calibration process corrects any deviations in how the equipment
147
+ measures physical magnitudes (variables). This ensures the equipment
148
+ provides accurate and reliable data.
149
 
150
 
151
  Calibration cycles:
152
 
153
  There are two main calibration cycles:
154
 
155
+ 1. As-found: Represents the equipment's measurement accuracy before any
156
+ adjustments are made. This cycle is almost always implemented.
157
 
158
+ 2. As-left: Represents the equipment's measurement accuracy after
159
+ adjustments are made. This cycle is used depending on regulatory
160
+ requirements.
161
 
162
 
163
  Calibration uncertainty:
164
 
165
  - Uncertainty is included in the results of a calibration.
166
 
167
+ - Calibration uncertainty refers to the margin of error in the device's
168
+ measurements, which also affects the uncertainty of the measured variable or
169
+ magnitude.
170
+ - >-
171
+ What is equipment calibration?
172
 
173
+ Calibration is a metrological verification process used to ensure the
174
+ accuracy of measurement equipment. It is performed periodically, based on
175
+ intervals set by the company or a regulatory body.
176
 
177
 
178
  Purpose of calibration:
179
 
180
+ The calibration process corrects any deviations in how the equipment
181
+ measures physical magnitudes (variables). This ensures the equipment
182
+ provides accurate and reliable data.
183
 
184
 
185
  Calibration cycles:
186
 
187
  There are two main calibration cycles:
188
 
189
+ 1. As-found: Represents the equipment's measurement accuracy before any
190
+ adjustments are made. This cycle is almost always implemented.
191
 
192
+ 2. As-left: Represents the equipment's measurement accuracy after
193
+ adjustments are made. This cycle is used depending on regulatory
194
+ requirements.
195
 
196
 
197
  Calibration uncertainty:
198
 
199
  - Uncertainty is included in the results of a calibration.
200
 
201
+ - Calibration uncertainty refers to the margin of error in the device's
202
+ measurements, which also affects the uncertainty of the measured variable or
203
+ magnitude.
204
+ - >-
205
+ How does a flow computer generate and store reports?
206
+
207
+ A flow computer generates daily or hourly reports to provide users with
208
+ operational data. These reports are stored in the flow computer's memory in
209
+ an organized format.
210
+
211
+
212
+ Report structure:
213
+
214
+ - Each report includes:
215
+
216
+ - Date and time of the data recording.
217
+
218
+ - Data recorded from flow computers.
219
+
220
+
221
+ Data storage in tables:
222
+
223
+ The reports are saved in two tables:
224
+
225
+ 1. Main table (Index):
226
+ - Stores the date, time, and flow computer identifier.
227
+ 2. Detail table:
228
+ - Stores the measured values associated with the report.
229
+
230
+ Connection to the Modbus table:
231
+
232
+ The flow computer's reports are linked to a Modbus table. This table
233
+ contains the names corresponding to each value in the reports, making it
234
+ easier to interpret the data.
235
+ - source_sentence: >-
236
+ Can you provide a sample query to test the retrieval of the uncertainty
237
  result for the specified tag and date?
238
  sentences:
239
+ - >-
240
+ What is equipment calibration?
241
 
242
+ Calibration is a metrological verification process used to ensure the
243
+ accuracy of measurement equipment. It is performed periodically, based on
244
+ intervals set by the company or a regulatory body.
245
 
246
 
247
  Purpose of calibration:
248
 
249
+ The calibration process corrects any deviations in how the equipment
250
+ measures physical magnitudes (variables). This ensures the equipment
251
+ provides accurate and reliable data.
252
 
253
 
254
  Calibration cycles:
255
 
256
  There are two main calibration cycles:
257
 
258
+ 1. As-found: Represents the equipment's measurement accuracy before any
259
+ adjustments are made. This cycle is almost always implemented.
260
 
261
+ 2. As-left: Represents the equipment's measurement accuracy after
262
+ adjustments are made. This cycle is used depending on regulatory
263
+ requirements.
264
 
265
 
266
  Calibration uncertainty:
267
 
268
  - Uncertainty is included in the results of a calibration.
269
 
270
+ - Calibration uncertainty refers to the margin of error in the device's
271
+ measurements, which also affects the uncertainty of the measured variable or
272
+ magnitude.
273
+ - >-
274
+ What kind of data store an equipment?
275
 
276
+ Equipments can capture meteorological data, such as pressure, temperature,
277
+ and volume (magnitudes). This data is essential for users to perform various
278
+ calculations.
279
 
280
 
281
  Data storage:
282
 
283
+ - The measured values are stored in a special table in the database for
284
+ magnitudes. This table contains the values of the variables captured by the
285
+ equipments.
286
 
287
+ - These values are **direct measurements** from the fluid (e.g., raw
288
+ pressure, temperature, or volume readings). **They are not calculated
289
+ values**, such as uncertainty.
290
 
291
+ - The values stored in the variable values table are **different** from
292
+ variable uncertainty values, which are calculated separately and represent
293
+ the margin of error.
294
 
295
 
296
  Accessing the data:
297
 
298
+ - Users typically access the data by referring to the readings from the
299
+ measurement system, not directly from the individual equipments.
300
 
301
  - The readings are stored in a "variable values" table within the database.
302
 
303
 
304
  Linking variable names:
305
 
306
+ If the user needs to know the name of a variable, they must link the data to
307
+ another table that stores information about the types of variables.
308
+ - >-
309
+ What is uncertainty?
310
+
311
+ Uncertainty is a measure of confidence in the precision and reliability of
312
+ results obtained from equipment or measurement systems. It quantifies the
313
+ potential error or margin of error in measurements.
314
+
315
+
316
+ Types of uncertainty:
317
+
318
+ There are two main types of uncertainty:
319
+
320
+ 1. Uncertainty of magnitudes (variables):
321
+ - Refers to the uncertainty of specific variables, such as temperature or pressure.
322
+ - It is calculated after calibrating a device or obtained from the equipment manufacturer's manual.
323
+ - This uncertainty serves as a starting point for further calculations related to the equipment.
324
+
325
+ 2. Uncertainty of the measurement system:
326
+ - Refers to the uncertainty calculated for the overall flow measurement.
327
+ - It depends on the uncertainties of the individual variables (magnitudes) and represents the combined margin of error for the entire system.
328
+
329
+ Key points:
330
+
331
+ - The uncertainties of magnitudes (variables) are the foundation for
332
+ calculating the uncertainty of the measurement system. Think of them as the
333
+ "building blocks."
334
+
335
+ - Do not confuse the two types of uncertainty:
336
+ - **Uncertainty of magnitudes/variables**: Specific to individual variables (e.g., temperature, pressure).
337
+ - **Uncertainty of the measurement system**: Specific to the overall flow measurement.
338
+
339
+ Database storage for uncertainties:
340
+
341
+ In the database, uncertainty calculations are stored in two separate tables:
342
+
343
+ 1. Uncertainty of magnitudes (variables):
344
+ - Stores the uncertainty values for specific variables (e.g., temperature, pressure).
345
+
346
+ 2. Uncertainty of the measurement system:
347
+ - Stores the uncertainty values for the overall flow measurement system.
348
+
349
+ How to retrieve uncertainty data:
350
+
351
+ - To find the uncertainty of the measurement system, join the measurement
352
+ systems table with the uncertainty of the measurement system table.
353
+
354
+ - To find the uncertainty of a specific variable (magnitude), join the
355
+ measurement systems table with the uncertainty of magnitudes (variables)
356
+ table.
357
+
358
+
359
+ Important note:
360
+
361
+ Do not confuse the two types of uncertainty:
362
+
363
+ - If the user requests the uncertainty of the measurement system, use the
364
+ first join (measurement systems table + uncertainty of the measurement
365
+ system table).
366
+
367
+ - If the user requests the uncertainty of a specific variable (magnitude) in
368
+ a report, use the second join (measurement systems table + uncertainty of
369
+ magnitudes table).
370
  - source_sentence: How are the secondary equipment and measurement system related?
371
  sentences:
372
+ - >-
373
+ What kind of data store an equipment?
374
 
375
+ Equipments can capture meteorological data, such as pressure, temperature,
376
+ and volume (magnitudes). This data is essential for users to perform various
377
+ calculations.
378
 
379
 
380
  Data storage:
381
 
382
+ - The measured values are stored in a special table in the database for
383
+ magnitudes. This table contains the values of the variables captured by the
384
+ equipments.
385
 
386
+ - These values are **direct measurements** from the fluid (e.g., raw
387
+ pressure, temperature, or volume readings). **They are not calculated
388
+ values**, such as uncertainty.
389
 
390
+ - The values stored in the variable values table are **different** from
391
+ variable uncertainty values, which are calculated separately and represent
392
+ the margin of error.
393
 
394
 
395
  Accessing the data:
396
 
397
+ - Users typically access the data by referring to the readings from the
398
+ measurement system, not directly from the individual equipments.
399
 
400
  - The readings are stored in a "variable values" table within the database.
401
 
402
 
403
  Linking variable names:
404
 
405
+ If the user needs to know the name of a variable, they must link the data to
406
+ another table that stores information about the types of variables.
407
+ - >-
408
+ What do measurement equipment measure?
409
 
410
+ Each equipment measures a physical magnitude, also known as a variable.
411
+ Based on the type of variable they measure, devices are classified into
412
+ different categories.
413
 
414
 
415
  Equipment classification:
 
423
 
424
  Equipment types in the database:
425
 
426
+ The database includes a table listing all equipment types. Examples of
427
+ equipment types are:
428
 
429
  - Differential pressure transmitters
430
 
 
448
 
449
  Data storage in tables:
450
 
451
+ The database also includes a separate table for equipment classifications,
452
+ which are:
453
 
454
  - Primary meter
455
 
 
457
 
458
  - Tertiary meter
459
 
460
+ So, an equipment has equipment types and this types has classifications.
461
+ - >-
462
+ What kind of data store an equipment?
463
 
464
+ Equipments can capture meteorological data, such as pressure, temperature,
465
+ and volume (magnitudes). This data is essential for users to perform various
466
+ calculations.
467
 
468
 
469
  Data storage:
470
 
471
+ - The measured values are stored in a special table in the database for
472
+ magnitudes. This table contains the values of the variables captured by the
473
+ equipments.
474
 
475
+ - These values are **direct measurements** from the fluid (e.g., raw
476
+ pressure, temperature, or volume readings). **They are not calculated
477
+ values**, such as uncertainty.
478
 
479
+ - The values stored in the variable values table are **different** from
480
+ variable uncertainty values, which are calculated separately and represent
481
+ the margin of error.
482
 
483
 
484
  Accessing the data:
485
 
486
+ - Users typically access the data by referring to the readings from the
487
+ measurement system, not directly from the individual equipments.
488
 
489
  - The readings are stored in a "variable values" table within the database.
490
 
491
 
492
  Linking variable names:
493
 
494
+ If the user needs to know the name of a variable, they must link the data to
495
+ another table that stores information about the types of variables.
496
  - source_sentence: What is the table structure for secondary equipment?
497
  sentences:
498
+ - >-
499
+ What kind of data store an equipment?
500
 
501
+ Equipments can capture meteorological data, such as pressure, temperature,
502
+ and volume (magnitudes). This data is essential for users to perform various
503
+ calculations.
504
 
505
 
506
  Data storage:
507
 
508
+ - The measured values are stored in a special table in the database for
509
+ magnitudes. This table contains the values of the variables captured by the
510
+ equipments.
511
 
512
+ - These values are **direct measurements** from the fluid (e.g., raw
513
+ pressure, temperature, or volume readings). **They are not calculated
514
+ values**, such as uncertainty.
515
 
516
+ - The values stored in the variable values table are **different** from
517
+ variable uncertainty values, which are calculated separately and represent
518
+ the margin of error.
519
 
520
 
521
  Accessing the data:
522
 
523
+ - Users typically access the data by referring to the readings from the
524
+ measurement system, not directly from the individual equipments.
525
 
526
  - The readings are stored in a "variable values" table within the database.
527
 
528
 
529
  Linking variable names:
530
 
531
+ If the user needs to know the name of a variable, they must link the data to
532
+ another table that stores information about the types of variables.
533
+ - >-
534
+ How are flow computers and measurement systems related?
535
 
536
+ Flow computers can have multiple systems assigned to them. However, a
537
+ measurement system can only be assigned to one flow computer.
538
 
539
 
540
  Database terminology:
 
550
 
551
  Storage of the relationship:
552
 
553
+ The relationship between a flow computer and its assigned measurement system
554
+ is stored in a special table.
555
 
556
 
557
  User context:
558
 
559
+ When a user refers to a "meter stream," they are indicating that they are
560
+ searching for a measurement system assigned to a specific flow computer.
561
+ - >-
562
+ How are flow computers and measurement systems related?
563
 
564
+ Flow computers can have multiple systems assigned to them. However, a
565
+ measurement system can only be assigned to one flow computer.
566
 
567
 
568
  Database terminology:
 
578
 
579
  Storage of the relationship:
580
 
581
+ The relationship between a flow computer and its assigned measurement system
582
+ is stored in a special table.
583
 
584
 
585
  User context:
586
 
587
+ When a user refers to a "meter stream," they are indicating that they are
588
+ searching for a measurement system assigned to a specific flow computer.
589
  datasets:
590
  - Lauther/measuring-embeddings-v3
591
+ pipeline_tag: feature-extraction
592
  library_name: sentence-transformers
593
  ---
594