There is not actually anything Merrin can do to optimize over whether the sun goes behind cloud cover before it sets, so there's not much point thinking about it. She'll get the power she gets, and she should have empty battery storage to actually keep all of it, so that's better than turning it directly into stored oxygen if she doesn't know what she's most likely to need it for yet.
She'll definitely have enough to power the oxygen concentrator all night, just in existing stored battery power – she has two dath ilan days worth of battery power, so even if the winter night is forty-eight hours long, she would make it. And she thinks it probably won't be quite that long. She hasn't done the math properly yet, and would have to approximate it anyway since her measurement system was fully manual and she missed solar noon by being in the wrong place, but the "bite" of a circle that was the sun's arc above the horizon felt fatter than she would expect if the night were approaching twice as long as the day.
Her suit has six hours of battery-power-at-max-heating left. It's stretched longer than she feared – she's been using it for sixteen and a half hours, it just wasn't necessary for heating or cooling for most of that time.
The cooling overnight will be gradual, and might even be close to linear once the sun sets. If she makes a very rough guess that it'll cool down to 15º C by sunset, which feels plausible for a day on dath ilan in a desert (low heat retention in the atmosphere) where the daily high reached 30° C, and she also guesstimates the night duration at 40 hours, and makes an assumption that by the end of those 40 hours it will hit -40º C...
- ugh, she's too tired for math - if it were 10° C at nightfall (plausible, with the longer stretch of late-afternoon and early-evening) and the night were 50 hours, that would be a degree per hour. The temperature would hit -15° C halfway through the night, with 25 hours left to go.
She can handle -15° C with nothing except her tarp shelter - she'll want to make the smallest-internal-volume configuration, so her body heat and the small amount of waste heat from a running oxygen concentrator go as far as possible - and a sleeping bag. The sleeping bag is rated down to -20° C even with no other shelter! The temperature inside a well-sealed sleeping-shelter compartment will lag behind the dropping air temperature, so even if the outside air gets down to -20° C twenty hours before dawn, it could take - ugh this needs math - it'll take longer. Some amount longer. She might only have to endure ten hours of an interior temperature below what her sleeping bag is rated to handle...
...she can actually improve the insulation a bunch. She has six emergency blankets, the kind that are waterproof and have a super-engineered layer of insulation that weighs almost nothing and can be packed down to the size of a small drink container and is nonetheless very effective, and are lined with equally super-engineered reflective material to reflect body heat back at the person inside. She does not need them for wilderness first aid, right now, so she can instead line the entirety of her sleeping cubicle with extra insulation.
It might be a pretty uncomfortable night. But she's probably not going to be freezing to death with more than six hours to go until dawn.