UFO‐Net application requirements - WaterCam-Team/documentation GitHub Wiki
Network Levels:
- Node: sensor component
- Neighborhood: hydraulically linked nodes (6 camera nodes, 1 stage node, 1 gateway for demo)
- City: geographically linked neighborhoods
- Manager of RTMs
Variables:
Variable Name | Description | Level | Value | Default Value | Options (count) |
---|---|---|---|---|---|
Area Threshold (at) | # of inundated pixels constituting flood | Node | Discretized (every 10%) | 10% | 10 |
Stage Threshold (st) | Depth of water constituting sewer backup | Node | Continuous | 5 cm | |
Monitoring Period (mp) | Time interval between wake ups in monitoring mode | > neighborhood | Discrete | 24 hours | 5 (1, 3, 6, 24, 72 hrs) |
Emergency Period (ep) | Emergency mode sampling period (camera node) | > neighborhood | Discrete, bounded at minimum sampling period | Min sampling period | 3 (2, 5, 10 minutes) |
Flooding check Period (fp) | Period that flooding status is checked/decided at the neighborhood level | > city | Discrete | 10 minutes | 6 values (10, 20, 30, 40, 50, 60 minutes) |
Messages:
Basic information:
Sensor outputs:
Monitoring mode:
- Time stamp (to what level)
- Tilt/roll/yaw (IMU)
- delta IMU (IMU)
- GPS
- Temp
- RH
- Battery level
- Floodmap
- Stage
- Flood status
- Classification model updates*
Emergency mode:
Flood Code Positive Conditions (thresholds for neighborhood emergency mode):
-
inundated pixels for any node in neighborhood > Area Threshold
- Storm sewer stage > stage threshold
- Manually defined (user or API directive)
- If > 2 nodes inundate pixels in adjacent neighborhood > Area Threshold
- If any condition has been reached in time < ff
Monitoring Mode:
- Monitoring Period (mp):
- Wake up
- Check for change in IMU
- Check for change in GPS
- Check battery level
- Check for flooding -> Count flooded pixels -> NO FLOODING/FLOODING
- Go to sleep
Emergency Mode:
- At flood check period (period):
- Send node emergency mode status
- Check neighborhood emergency code designation, if emergency
- At Emergency Period (ep):
- Check for flooding
- If flooding, send alert
- Send node flood code (emergency heartbeat)
- Start counting flooded pixels
- If inundated pixels FOR ANY NODE > Area Threshold
- Compare with previous capture
- If number of inundated pixels > previous capture, assume flood growing
- Save bitmap + image to SD card
- If number of inundated pixels < previous capture, assume local maximum
- Transmit bitmap
- Save bitmap
- If number of inundated pixels > previous capture, assume flood growing
- Compare with previous capture
- Check for flooding