Energy balance in Helsinki: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Energy Category:Helsinki Helsinki energy decision 2015, options. ==Option VE1== * Vuosaareen rakennettavaa uutta C-voimalaitosta sekä kaukolämmön ja...") |
(this page was marked outdated) |
||
(37 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{variable|moderator=Pauli}} | |||
[[Category:Energy]] | [[Category:Energy]] | ||
[[Category:Helsinki]] | [[Category:Helsinki]] | ||
==Scope== | |||
What are the amounts of energy produced, consumed, imported, and exported in Helsinki? | |||
==Answer== | |||
[[ | {{attack|# |The code on this page is outdated. For up-to-date answers to this question, see [[Helsinki energy decision 2015]].|--[[User:Jouni|Jouni]] ([[User talk:Jouni|talk]]) 12:49, 1 September 2015 (UTC)}} | ||
<rcode name="answer" graphics=1> | |||
### This code was run from page [[Energy balance in Kuopio#Answer]] | |||
library(OpasnetUtils) | |||
library(ggplot2) | |||
N <- 10 | |||
objects.latest("Op_en5141", code_name = "initiate") | |||
balance <- Ovariable("balance", ddata = "Op_en5469.equations") | |||
balance@data$Policy[balance@data$Policy == ""] <- NA # Prepare indices for fillna. This should be part of fillna. | |||
balance@data$CHPcapacity[balance@data$CHPcapacity == ""] <- NA | |||
balance@data <- fillna(balance@data, marginals = 1:2) # Fill empty slots in indices. | |||
nonlinearity <- Ovariable("nonlinearity", ddata = "Op_en5469", subset = "Nonlinearity parameters") | |||
directinput <- Ovariable("directinput", ddata = "Op_en5141", subset = "No modelled upstream variables") | |||
energy.balance <- EvalOutput(energy.balance) | |||
oprint(summary(energy.balance)) | |||
ggplot(energy.balance@output, aes_string(x = "energybalanceVars", y = "energy.balanceResult", fill = "Policy")) + | |||
geom_boxplot() + | |||
theme_grey(base_size = 24) + | |||
theme(axis.text.x = element_text(angle = 90, hjust = 1)) | |||
</rcode> | |||
{{attack|# |Code directly from page [[Energy balance in Kuopio]]!|--[[User:Heta|Heta]] ([[User talk:Heta|talk]]) 12:39, 10 June 2015 (UTC)}} | |||
==Rationale== | |||
<t2b name="Equations" index="CHPcapacity,Policy,Equation" obs="Dummy" desc="Description" unit="GWh /a"> | |||
| | | | | |||
</t2b> | |||
==See also== | |||
{{Helsinki energy decision 2015}} | |||
==References== | |||
<references/> |
Latest revision as of 12:49, 1 September 2015
Moderator:Pauli (see all) |
|
Upload data
|
Scope
What are the amounts of energy produced, consumed, imported, and exported in Helsinki?
Answer
⇤--#: . The code on this page is outdated. For up-to-date answers to this question, see Helsinki energy decision 2015. --Jouni (talk) 12:49, 1 September 2015 (UTC) (type: truth; paradigms: science: attack)
⇤--#: . Code directly from page Energy balance in Kuopio! --Heta (talk) 12:39, 10 June 2015 (UTC) (type: truth; paradigms: science: attack)
Rationale
Obs | CHPcapacity | Policy | Equation | Dummy | Description |
---|---|---|---|---|---|
1 |