Electricity use in a house with geothermal heating: Difference between revisions
Jump to navigation
Jump to search
(placeholder for data) |
(→See also: Fronius) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
The answer is based on a single example house located near the Savilahti weather station, Kuopio, Finland. | 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 === | === Dependencies === | ||
=== | === Calculations === | ||
<rcode label="Documentation code"> | |||
# This code only works from a computer within THL network. | |||
dat1 <- read.csv("//cesium/yhteiset/YMAL/Projects/Urgenche/WP4 Buildings/report2013b.csv") | |||
dat1$Kulutus <- as.numeric(gsub(",", ".", dat1$Kulutus)) | |||
dat1 <- dat1[!is.na(dat1$Kulutus) , ] | |||
dat1$Aika <- as.POSIXct("2013-01-19 0:00:00 EET") + (0:(nrow(dat1) - 1)) * 3600 | |||
dat1 <- dat1[c(4,2)] | |||
write.csv(dat1 , file = "//cesium/yhteiset/YMAL/Projects/Urgenche/WP4 Buildings/report2013c.csv", row.names = FALSE) | |||
# The function below does not work from own computer. The same was done using OpasnetBaseImport. | |||
#opbase.upload(dat1, ident = "Op_en6315", name = "Electricity use in a house with geothermal heating", subset = "2013", | |||
# obj_type = "variable", act_type = "replace", language = "eng", | |||
# unit = "kWh", who = "Jouni", rescol = "Kulutus" | |||
#) | |||
</rcode> | |||
<rcode name="fmi" embed=0 recall_inputs=1 variables=" | |||
name:apiKey|type:text | |||
"> | |||
library(OpasnetUtils) | |||
library(fmi) | |||
library(rwfs) | |||
library(rgdal) | |||
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", | |||
storedquery_id="fmi::observations::weather::daily::timevaluepair", | |||
starttime="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") | |||
client <- FMIWFSClient$new(request=request) | |||
client | |||
layers <- client$listLayers() | |||
layers | |||
#response <- client$getLayer(layer=layers[1], parameters=list(splitListFields=TRUE)) | |||
#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> | |||
* [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== | ||
* Fronius Solar Web [https://www.solarweb.com/] | |||
** PyFronius: a Python interface for Fronius [https://pypi.org/project/PyFronius/] | |||
* Home Assistant Android app for monitoring home systems [https://www.home-assistant.io/] | |||
{{urgenche}} | {{urgenche}} | ||
Line 27: | Line 109: | ||
<references/> | <references/> | ||
==Related files== | ==Related files==<!-- __OBI_TS:1478636349 --> |
Latest revision as of 18:03, 9 November 2020
Moderator:Jouni (see all) |
|
Upload data
|
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
- Fronius Solar Web [1]
- PyFronius: a Python interface for Fronius [2]
- Home Assistant Android app for monitoring home systems [3]
Keywords
References