I have a power supply that ranges from 12V-30V. I want to power a set of 4 (24V, 1A) solenoids in series. I also want to use a reduced hold current. So, I'm looking for an output of 96V for a time (~500ms) then reduce that to ~40V and hold there. There are some DC/DC switching controllers I see that we might be able to do this via the feedback resistor divider. Here is 1 possible part as a random example (<https://www.digikey.com/en/products/detail/texas-instruments/LM3488MM-NOPB/367045>) of a part that this might work for. Does anyone have any experience doing something like this? Can you forsee any any issues with this runtime adjustment of the feedback resistor network?

Alternatively, the solenoids could be in parallel and use a SEPIC with adjustable output and go from 24V to 10V, @ 4A if that would be better/easier. OR do a 2S2P configuration at 48V-20V and 2A.

EDIT: It doesn't particularly matter how quickly the output ramps down from peak to hold voltage. Could be over 1ms, or over 1000ms.