| Disaggregation of Revenue | The following table further disaggregates our revenue by major source by segment for the three and nine months ended September 30, 2021 and 2020. 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  | Three Months Ended September 30, 2021 |  
|  | Products and Services |  | Energy Production |  | Total |  
| Products | $ | 1,871,332 |  |  | $ | — |  |  | $ | 1,871,332 |  |  
| Installation services | 63,076 |  |  | — |  |  | 63,076 |  |  
| Maintenance services | 2,766,168 |  |  | — |  |  | 2,766,168 |  |  
| Energy production | — |  |  | 315,292 |  |  | 315,292 |  |  
| Total revenue | $ | 4,700,576 |  |  | $ | 315,292 |  |  | $ | 5,015,868 |  | 
 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  | Nine Months Ended September 30, 2021 |  
|  | Products and Services |  | Energy Production |  | Total |  
| Products | $ | 6,439,981 |  |  | $ | — |  |  | $ | 6,439,981 |  |  
| Installation services | 825,325 |  |  | — |  |  | 825,325 |  |  
| Maintenance services | 8,613,377 |  |  | — |  |  | 8,613,377 |  |  
| Energy production | — |  |  | 1,339,448 |  |  | 1,339,448 |  |  
| Total revenue | $ | 15,878,683 |  |  | $ | 1,339,448 |  |  | $ | 17,218,131 |  | 
 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  | Three Months Ended September 30, 2020 |  
|  | Products and Services |  | Energy Production |  | Total |  
| Products | $ | 2,705,422 |  |  | $ | — |  |  | $ | 2,705,422 |  |  
| Installation services | 1,513,686 |  |  | — |  |  | 1,513,686 |  |  
| Maintenance services | 2,611,904 |  |  | — |  |  | 2,611,904 |  |  
| Energy production | — |  |  | 368,695 |  |  | 368,695 |  |  
| Total revenue | $ | 6,831,012 |  |  | $ | 368,695 |  |  | $ | 7,199,707 |  | 
 
 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  | Nine Months Ended September 30, 2020 |  
|  | Products and Services |  | Energy Production |  | Total |  
| Products | $ | 9,543,316 |  |  | $ | — |  |  | $ | 9,543,316 |  |  
| Installation services | 4,125,191 |  |  | — |  |  | 4,125,191 |  |  
| Maintenance services | 7,533,072 |  |  | — |  |  | 7,533,072 |  |  
| Energy production | — |  |  | 1,395,886 |  |  | 1,395,886 |  |  
| Total revenue | $ | 21,201,579 |  |  | $ | 1,395,886 |  |  | $ | 22,597,465 |  |  |