- Fixed critical safety limit loading bug: get_safety_limits() now queries pump_safety_limits table - Fixed emergency stop logic: setpoint manager returns 0.0 during emergency stop - Added comprehensive test data with proper column mappings - All 5 safety workflow tests now passing - 5/6 optimization-to-SCADA integration tests passing - Created failsafe operation test suite (requires DatabaseWatchdog API updates) Key fixes: - Safety limit enforcement now works correctly - Emergency stop properly shuts down pumps (0.0 setpoint) - Dynamic safety limit updates are reflected in real-time - Test data includes all required columns for setpoint calculation Remaining issues: - REST API test failing (no server running on port 8000) - Failsafe tests require DatabaseWatchdog public API methods |
||
|---|---|---|
| .. | ||
| core | ||
| database | ||
| monitoring | ||
| protocols | ||
| main.py | ||
| main_phase1.py | ||
| main_phase3.py | ||