Hi,A starting point rule of thumb for reliable electronic circuits is to run the parts at 50% or less of their ratings. 24 V circuit - use transistors and capacitors rated for at least 50 V. 0.1 W power in a resistor - use a quarter-watt part. Some companies have strict mandatory rules about this. Of course there are exceptions, but the 50% thing is a common number.
ak
Yes, I use that idea too, and even less than 50 percent to keep power resistors cooler. I cannot put up with power resistors that I can easily fry an egg on, even if they last 100 years like that.