You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Report errors if the required attributes of HeatStorage assets are not set. NOTE: excluding ATES here (also a kind of HeatStorage), which is checked separately below.",
139
+
"type": "error",
140
+
"message": "Required Attribute Not Set",
141
+
"selects": [{
142
+
"function": "get",
143
+
"alias": "heatstorages",
144
+
"args": {
145
+
"type": ["HeatStorage"],
146
+
"exclude_type": ["ATES"]
147
+
}
148
+
}
149
+
],
150
+
"check": {
151
+
"function": "attributes_not_null",
152
+
"dataset": "heatstorages",
153
+
"args": {
154
+
"checks": [
155
+
{
156
+
"attribute": "name",
157
+
"count_as_null": [""]
158
+
},
159
+
{
160
+
"attribute": "maxChargeRate",
161
+
"count_as_null": [0.0]
162
+
},
163
+
{
164
+
"attribute": "maxDischargeRate",
165
+
"count_as_null": [0.0]
166
+
},
167
+
{
168
+
"attribute": "volume",
169
+
"count_as_null": [0.0]
170
+
}
171
+
],
172
+
"resultMsgJSON": true
173
+
}
174
+
}
175
+
},
176
+
{
177
+
"name": "ATES_required_attributes_are_set",
178
+
"description": "Report errors if the required attributes of ATES assets are not set.",
179
+
"type": "error",
180
+
"message": "Required Attribute Not Set",
181
+
"selects": [{
182
+
"function": "get",
183
+
"alias": "ates",
184
+
"args": {
185
+
"type": ["ATES"]
186
+
}
187
+
}
188
+
],
189
+
"check": {
190
+
"function": "attributes_not_null",
191
+
"dataset": "ates",
192
+
"args": {
193
+
"checks": [
194
+
{
195
+
"attribute": "name",
196
+
"count_as_null": [""]
197
+
},
198
+
{
199
+
"attribute": "aquiferTopDepth",
200
+
"count_as_null": [0.0]
201
+
},
202
+
{
203
+
"attribute": "aquiferThickness",
204
+
"count_as_null": [0.0]
205
+
},
206
+
{
207
+
"attribute": "aquiferMidTemperature",
208
+
"count_as_null": [0.0]
209
+
},
210
+
{
211
+
"attribute": "aquiferPorosity",
212
+
"count_as_null": [0.0]
213
+
},
214
+
{
215
+
"attribute": "aquiferPermeability",
216
+
"count_as_null": [0.0]
217
+
},
218
+
{
219
+
"attribute": "aquiferAnisotropy",
220
+
"count_as_null": [0.0]
221
+
},
222
+
{
223
+
"attribute": "salinity",
224
+
"count_as_null": [0.0]
225
+
},
226
+
{
227
+
"attribute": "wellCasingSize",
228
+
"count_as_null": [0.0]
229
+
},
230
+
{
231
+
"attribute": "wellDistance",
232
+
"count_as_null": [0.0]
233
+
}
234
+
],
235
+
"resultMsgJSON": true
236
+
}
237
+
}
238
+
},
239
+
{
240
+
"name": "pipe_required_attributes_are_set",
241
+
"description": "Report errors if the required attributes of Pipe assets are not set.",
0 commit comments