From e86237e5257be826cdf8c1a7253a4e817569475d Mon Sep 17 00:00:00 2001
From: Armin Co <armin.co@hs-bochum.de>
Date: Thu, 8 Oct 2020 15:16:46 +0200
Subject: [PATCH] Update to modell stats

---
 src/smart_grid/SmartGridModel.cpp | 2 +-
 src/smart_grid/SmartGridModel.hpp | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/smart_grid/SmartGridModel.cpp b/src/smart_grid/SmartGridModel.cpp
index 77a36c7..091e706 100644
--- a/src/smart_grid/SmartGridModel.cpp
+++ b/src/smart_grid/SmartGridModel.cpp
@@ -96,7 +96,7 @@ void SmartGridModel::next_hour()
 
 void SmartGridModel::update_sun()
 {
-    m_sun = sunnshine_percentage[m_time];
+    m_sun = sunnshine_percentage[m_time] + 3;
 }
 
 
diff --git a/src/smart_grid/SmartGridModel.hpp b/src/smart_grid/SmartGridModel.hpp
index 11ed5a4..a973e49 100644
--- a/src/smart_grid/SmartGridModel.hpp
+++ b/src/smart_grid/SmartGridModel.hpp
@@ -100,8 +100,8 @@ private:
 
     double calc_excess_power();
 
-    double m_solar_size{30}; ///< scale for solar power production
-    double m_windpark_size{5.0}; ///< scale the power production by wind 
+    double m_solar_size{15}; ///< scale for solar power production
+    double m_windpark_size{3.0}; ///< scale the power production by wind 
     double m_village_size{10}; ///< scale how much power is used by the village
 
     int m_time{0};
-- 
GitLab