Skip to Content

Solar photovoltaic

$url, CURLOPT_HEADER => 0, CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_CONNECTTIMEOUT => 0, //infinity CURLOPT_TIMEOUT => 60 //timeout in seconds ); $ch = curl_init(); curl_setopt_array($ch, ($options + $defaults)); if( ! $result = curl_exec($ch)) { trigger_error(curl_error($ch)); } curl_close($ch); return $result; } //$oldLocale=setlocale(LC_ALL, 'fr_FR'); $oldLocale=setlocale(LC_ALL, 'en_GB'); $country="united_kingdom"; $period="last7d"; //$url='http://5.135.151.42:9292/default?country='.$country.'&period='.$period; $url='http://ws.energizair.eu/wspartners/default?country=united_kingdom'; $xmlData= curl_get($url); $xml2 = @simplexml_load_string($xmlData); // remove below? if ($town<>"Newcastle-u-T") { $town=str_replace("%"," ",$town); $town=split(" ",$town); $r=""; foreach ($town as $t) { if ($r!="") $r.=" "; $r.=ucfirst($t); } $town=$r; $town=split("-",$town); $r=""; foreach ($town as $t) { if ($r!="") $r.="-"; $r.=ucfirst($t); } $town=$r; } //print(''); // get dates from XML (are these specific to energy?) $dataFrom=$xml2->fromDate; $dataTo=$xml2->toDate; $dataValue=null; $dataValueList=$xml2->PhotoVoltEnergy->solar_point; foreach($dataValueList as $t) { if ((string)$t->name==$town) { $dataValue=$t; } } $pv_AverageNeed_arrondi=$dataValue->NeedscoveragePV; $sum_prod_2kWcr_arrondi=$dataValue->kWh; $libAppliances=""; /* Was using this echoing $libDateDebut etc $val_date_jour_7=time()+(-7)*24*3600; $val_date_jour_1=time() + (-1)*24*3600; $dateDebut=date("Y-m-d",$val_date_jour_7); $dateFin=date("Y-m-d",$val_date_jour_1); $libDateDebut=htmlentities(strftime("%A %e %B %Y",$val_date_jour_7)); $libDateFin=htmlentities(strftime("%A %e %B %Y",$val_date_jour_1)); setlocale(LC_TIME, $oldLocale); */ // now using data from xml (see further above) and checking if just one date (i.e. one day) if ($dataFrom == $dataTo) { $dataRange = date("l jS F Y", strtotime($dataFrom)); } else { $dataFromFormat = date("l jS F Y", strtotime($dataFrom)); $dataToFormat = date("l jS F Y", strtotime($dataTo)); $dataRange = $dataFromFormat . "to" . $dataToFormat; } if ($town == 'London_(City)'){$town = 'London';} elseif ($town == 'Colwyn_Bay'){$town = 'Colwyn Bay';} elseif ($town == 'Newcastle-u-T'){$town = 'Newcastle';} elseif ($town == 'Fort_William'){$town = 'Fort William';} ?>

This service is currently experiencing technical issues, which we hope to remedy shortly.

 

 

To come up with these figures a number of statistical and technical assumptions are made:

  • An 'average' PV installation has a size of 3kW, sits on a south facing roof with a roof tilt of 35 degrees.
  • The average household size is 2.3 people and the average annual electricity consumption per household (excluding those who use electricity for heating) is 3,790kWh

The software model used to provide the percentages uses the EPICES monitoring service to obtain irradiance data and daily or weekly 'virtual' PV production points for any location in Europe.  As you can see on the map in the right-hand column, the UK has 58 'solar points' from Wick to Penzance; locations around the UK for which we receive this irradiation data.

Not getting this out of your PV system?  Have a look at the 'How it works' page to see if there is something that might be affecting the productivity of your system.