Quantcast
Channel: SBFspot Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 360

Closed Unassigned: No Efficiency in CSV-Output & Fix [99]

$
0
0
Hi,
there is a bug in V3.0.3 regarding calculation of Efficieny for CSV-Output, it's always 0. Reason is wrong variable name inside CSVexport.cpp.

Instead of using calPacTot it should be __TotalPac__:
```
float calEfficiency = inverters[inv]->calPdcTot == 0 ? 0 : (float)calPacTot / (float)inverters[inv]->calPdcTot * 100.0;
```

it should be:
```
float calEfficiency = inverters[inv]->TotalPac == 0 ? 0 : (float)inverters[inv]->TotalPac / (float)inverters[inv]->calPdcTot * 100.0;
```

By.
Comments: Fixed in 3.2

Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>