Sounds perfectly normal to me.
I went through the same sexual stage when I was your age.
The cure was getting married.
My loneliness went away.
My perfectly normal God-given sexual desire was taken care of.
Although I too have had lifelong depression, I never considered my sexual desire to be a disease or a problem, just one more human need that required satisfaction, like thirst, hunger, need to urinate, stay warm in winter, cool in summer, dry in the rain, and wet in the dry (ie going swimming at the appropriate time and place).
Sorry to see you didn't receive any response to your simple post.
Anyone in the real world solve answer you similarly. Maybe you are consulting too many "experts" by which I mean doctors of every stripe, mental health people, academics, scientists, researchers, or others who are paid for their services. These people all have a vested interest in NOT solving your problem efficiently and inexpensively.
You might try listening to more music (Mick Jagger made a million singing "I Can't Get No....Satisfaction". For spiritual advise, Bob Dylan in his post-conversion period is helpful. Learn to dance -that solved ever[y one of my problems-depression, loneliness, getting horny, lack of exercise-I hate gyms, weight loss, etc. Try going to a "Five Rythymns" or "Sweat Your Prayers" class in your area-do a web search, or search under "Gabrielle Roth".)
Got it?
This forum is for addressing emotional and psychological concerns related to erections, and your concern is way too complex for a site such as this.
I'm so sorry that you feel badly and so out of control. I'm wondering if you are taking any medication for your bipolar illness. There are many helpful new medications that you might investigate. Also realize that, although there are many "belief systems" when it comes to human behavior, there is also science. One option for you might be to see a counselor who bases their treatment on scientific data rather than beliefs.