Difference between revisions of "Electricity use in a house with geothermal heating"
From Testiwiki
(→Calculations) |
(→Calculations) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 41: | Line 41: | ||
name:apiKey|type:text | name:apiKey|type:text | ||
"> | "> | ||
+ | library(OpasnetUtils) | ||
library(fmi) | library(fmi) | ||
− | + | library(rwfs) | |
+ | library(rgdal) | ||
+ | |||
request <- FMIWFSRequest$new(apiKey=apiKey) | request <- FMIWFSRequest$new(apiKey=apiKey) | ||
+ | |||
+ | if(FALSE) { | ||
+ | #request$setParameters(request="getFeature", | ||
+ | # storedquery_id="fmi::observations::weather::daily::timevaluepair", | ||
+ | # starttime="2014-01-01T00:00:00Z", | ||
+ | # endtime="2014-01-01T00:00:00Z", | ||
+ | # place="savilahti,Kuopio", | ||
+ | # parameters="rrday,snow,tday,tmin,tmax") | ||
+ | |||
request$setParameters(request="getFeature", | request$setParameters(request="getFeature", | ||
storedquery_id="fmi::observations::weather::daily::timevaluepair", | storedquery_id="fmi::observations::weather::daily::timevaluepair", | ||
starttime="2014-01-01T00:00:00Z", | starttime="2014-01-01T00:00:00Z", | ||
endtime="2014-01-01T00:00:00Z", | endtime="2014-01-01T00:00:00Z", | ||
− | + | bbox="19.09,59.3,31.59,70.13", | |
parameters="rrday,snow,tday,tmin,tmax") | parameters="rrday,snow,tday,tmin,tmax") | ||
+ | |||
client <- FMIWFSClient$new(request=request) | client <- FMIWFSClient$new(request=request) | ||
client | client | ||
layers <- client$listLayers() | layers <- client$listLayers() | ||
layers | layers | ||
− | response <- client$getLayer(layer=layers[1], parameters=list(splitListFields=TRUE)) | + | #response <- client$getLayer(layer=layers[1], parameters=list(splitListFields=TRUE)) |
− | response | + | #response |
+ | |||
+ | request <- FMIWFSRequest$new(apiKey=apiKey) | ||
+ | client <- FMIWFSClient$new(request=request) | ||
+ | response <- client$getDailyWeather(startDateTime="2014-01-01", endDateTime="2014-01-01", bbox=getFinlandBBox(), parameters=list(explodeCollections=TRUE)) | ||
+ | #reponse | ||
+ | } | ||
+ | |||
+ | request$setParameters(request="getFeature", | ||
+ | storedquery_id="fmi::observations::weather::daily::timevaluepair", | ||
+ | parameters="rrday,snow,tday,tmin,tmax") | ||
+ | |||
+ | client <- FMIWFSClient$new(request=request) | ||
+ | |||
+ | response <- client$getDailyWeather(startDateTime="2014-01-01T00:00:00Z", | ||
+ | endDateTime="2014-01-01T00:00:00Z", | ||
+ | fmisid=101887) | ||
+ | dat <- as.data.frame(response) | ||
+ | oprint(dat) | ||
</rcode> | </rcode> | ||
+ | |||
+ | * [https://github.com/rOpenGov/fmi/blob/master/vignettes/fmi_tutorial.md fmi package tutorial] | ||
+ | * [http://data.fmi.fi/fmi-apikey/64d5c2cb-10dc-47f1-9ddb-8bdea18844a5/wfs?request=getFeature&storedquery_id=fmi::observations::weather::daily::timevaluepair&starttime=2013-02-27T20:00:00Z&endtime=2013-02-28T20:00:00Z&place=savilahti,Kuopio& a semi-successful query] | ||
+ | * [http://ilmatieteenlaitos.fi/tallennetut-kyselyt FMI: stored queries] | ||
+ | * [https://ilmatieteenlaitos.fi/avoin-data FMI open data] | ||
+ | * [https://online.kuopionenergia.fi/Home Kuopion Energia online] | ||
==See also== | ==See also== |
Latest revision as of 15:18, 10 November 2016
This page is a variable.
The page identifier is Op_en6315 |
---|
Moderator:Jouni (see all) |
Give your opinion to the peer rating of the content of this page. |
Upload data
|
Contents
Question
What is the energy (i.e. electricity) use of geothermal heating in a detached house?
Answer
Rationale
The answer is based on a single example house located near the Savilahti weather station, Kuopio, Finland.
Unit
kWh (or kW, as the data is given in hourly slots)
Dependencies
Calculations
- fmi package tutorial
- a semi-successful query
- FMI: stored queries
- FMI open data
- Kuopion Energia online
See also
Keywords
References