@DragonPetter: You're right. I actually have to use a 8Ω resistor anyway to have a current of 1.6A at the solenoid coil (7Ω) from a 24V DC source. So my circuit currently has a 24V source in series with an 8 ohm resistor, a .056 F capacitor and the coil. Of course linear ramp is difficult here...