@@ -30,9 +30,19 @@ def _vuq(v_u: dict[str, Any]) -> PlainQuantity:
3030
3131 self .assertLess (_vuq (r .result ['SUMMARY OF RESULTS' ]['Average Net Electricity Production' ]), _q (2.0 , 'MW' ))
3232
33- self . assertGreater (
34- _vuq ( r .result ['RESERVOIR SIMULATION RESULTS' ]['Average Production Temperature' ]), _q ( 346 , 'degF' )
33+ max_total_power_q = _vuq (
34+ r .result ['SURFACE EQUIPMENT SIMULATION RESULTS' ]['Maximum Total Electricity Generation' ]
3535 )
36- self .assertLess (
37- _vuq (r .result ['RESERVOIR SIMULATION RESULTS' ]['Average Production Temperature' ]), _q (356 , 'degF' )
36+ self .assertGreaterEqual (max_total_power_q , _q (2.1 , 'MW' ))
37+ self .assertLess (max_total_power_q , _q (2.8 , 'MW' ))
38+
39+ reference_geofluid_availability_q = _q (60 , 'kW/(kg/s)' )
40+ result_geofluid_availability_q = _vuq (
41+ r .result ['SURFACE EQUIPMENT SIMULATION RESULTS' ]['Initial geofluid availability' ]
3842 )
43+ self .assertGreaterEqual (result_geofluid_availability_q , reference_geofluid_availability_q )
44+ self .assertLessEqual (result_geofluid_availability_q , reference_geofluid_availability_q * 2.5 )
45+
46+ avg_production_temp_q = _vuq (r .result ['RESERVOIR SIMULATION RESULTS' ]['Average Production Temperature' ])
47+ self .assertGreater (avg_production_temp_q , _q (346 , 'degF' ))
48+ self .assertLess (avg_production_temp_q , _q (356 , 'degF' ))
0 commit comments