TJ and I have been working on a guardian that we hope will eventually automate at least some of the seismic configuration transitions. I think TJ has two tests in this guardian, one that just watches the EQ_PEAK channel to go above a certain threshold and one that triggers when SEISMON sees a new earthquake (based on the metric from my eq response plot). If an earthquake that we might care about shows up on SEISMON, the guardian goes to a holding state (SEISMON_ALERT), where it watches the EQ_PEAK channel to get above a certain threshold, then the ENV_STAT node goes to its earthquake state. I emphasize here that this guardian doesn't actually make any changes yet, this is just a test to see if automating is a crazy idea or not.
TJ had an earthquake yesterday where he got a SEISMON notification, and the earthquake was big enough to be an issue when it arrived on site, so he transitioned SEI_CONF to it's earthquake state. FIrst attached plot shows the state progress of SEI_CONF (green? I can't tell) and the ENV_STAT (blue) nodes on the top plot and the ground velocity EQ_PEAK monitor channel in yellow on the bottom. The green trace changing values is TJ deciding on his own when to change the SEI_CONF state (40 is the normal WINDY state, 19 is EARTHQUAKE), the blue trace is when the tests we've put into ENV_STAT suggest when we should be transitioning (20 for blue is the alert state, -10 is the earthquake state). I think the tests for ENV_STAT could use some tweaking, I don't think the difference between what TJ actually did and what ENV_STAT wanted to do are wildly different. Not saying did or didn't do the right thing (probably), but the new guardian isn't totally bonkers.
I think the biggest advantage of automating the seismic earthquake response will be forcing consistency so we can tell if we are actually doing the right thing. Looking over the run, I would believe that each of the operators has a different way of thinking about whether or not to make the earthquake transition and when.
Currently watching a cluster of like 4 earthquakes from the Pacfic and Central America roll through, and again, the ENV_STAT doesn't seem totally crazy. Second plot is same as the first plot, but for my group of earthquakes this morning. I transitioned a bit before ENV_STAT wanted to, so maybe the "transition to earthquake " threshold should be lowered a bit.
Very cool ![]()