Solenoid valve with optocoupler and transistor

If draw more than the power supply is rated to supply, it's too much.