Skip to content
Snippets Groups Projects
Commit 08e681b6 authored by Bart Arendarczyk's avatar Bart Arendarczyk
Browse files

Fixed incorrect GCR calculation.

parent a990a255
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ public class SolarPotentialItem implements RasterItem { ...@@ -38,7 +38,7 @@ public class SolarPotentialItem implements RasterItem {
public void calcOptimalGCR(double latitude) { public void calcOptimalGCR(double latitude) {
// https://doi.org/10.1016/j.solener.2023.04.038 // https://doi.org/10.1016/j.solener.2023.04.038
// Optimal panel spacing and therefore Ground Coverage ratio depends on latitude // Optimal panel spacing and therefore Ground Coverage ratio depends on latitude
this.optimalGCR = -0.55 / (1 + Math.exp(-0.138 * (latitude - 43.4))) + 0.71; this.optimalGCR = -0.55 / (1 + Math.exp(-0.138 * (Math.abs(latitude) - 43.4))) + 0.71;
this.agrivoltaicsGCR = ModelConfig.AV_GCR; this.agrivoltaicsGCR = ModelConfig.AV_GCR;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment