To clarify: the mistake made here by the moderator was to answer the question.
It was correctly closed. Then it was incorrectly re-opened, likely because of this meta post. And now it is correctly closed again.
The question has a vague specification of a whole project - it is far too broad. As such, it could only be answered in general, vague ways. The Stack Exchange concept is to have questions with limited scope that can be answered without writing a whole essay. Broad questions also open up for discussion or debate. Summary here.
Please note that a question is closed - not deleted. The purpose of this is to give the original poster a chance to fix it. As soon as the original poster edit a closed question, it pops up in a "re-open review queue" where other users with user moderator previligies will review it and vote to re-open if appropriate.
Now as for how to fix the question: narrow the scope and state which is the specific problem you are trying to solve. There has to be a specific problem to solve - questions that ask for some vague, theoretical discussion cannot be salvaged.
Make a simple example circuit and ask how it could be completed to give the desired result. Or do some research about solar cells and clarify the specification: which components will be used, what is the result you are hoping for etc.
Also try to ask one question per question. If you come up with a new question which is related to the problem, then post a new question. Link to the old one if needed.