Difference between revisions of "Sandbox"

From Testiwiki
Jump to: navigation, search
(Urgenche energy balance test)
(Urgenche energy balance test: removed)
Line 1: Line 1:
 
{{variable|moderator=Ehac}}
 
{{variable|moderator=Ehac}}
 
==Urgenche energy balance test==
 
 
<rcode variables="name:heat|description:What is the amount of heat needed (kWh)?|default:500|
 
name:electricity|description:What is the amount of electricity needed (kWh)?|default:1000">
 
library(OpasnetUtils)
 
library(xtable)
 
 
D <- data.frame(
 
CHP_Peat =        c(-1, 0,    1.205, 1.205, 0, -1),
 
CHP_Ren =        c(-1, 0,    -22.2, 0,    0, -1),
 
CHP_Mineral =    c(-1, 0,    0,    -7.40, 0, -1),
 
CHP_Heating =    c(1, 1.43,  0,    0,    1, 0),
 
Production_loss = c(1,  0,    0,    0,    0, 1/0.18),
 
CHP_Electricity = c(1, -3.28, 0,    0,    0, 0)
 
)
 
 
D <- as.matrix(D)
 
 
print(xtable(D), type  ='html')
 
B <- data.frame(Parameter = colnames(D), value = solve(D, c(0,0,0,0,heat, 0)))
 
print(xtable(B), type = 'html')
 
 
A <- data.frame(
 
MengeGas = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0),
 
MengeWarme = c(0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0),
 
MengeStrom = c(0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5),
 
MengeCO2 = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0),
 
KesselGas = c(-0.95, -55000, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0),
 
KesselWarme = c(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0),
 
KesselCO2 = c(0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0),
 
GUDGas = c(0, 0, -0.47, -55000, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0),
 
GUDStrom = c(0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0),
 
GUDCO2 = c(0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0),
 
BHKWGas = c(0, 0, 0, 0, -0.3, 0, -55000, 0, 0, -1, 0, 0, 0, 0),
 
BHKWWarme = c(0, 0, 0, 0, 0, -0.5, 0, 0, 0, 0, -1, 0, 0, 0),
 
BHKWStrom = c(0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, -1, 0, 1),
 
BHKWCO2 = c(0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1, 0)
 
)
 
A <- as.matrix(A)
 
 
B <- data.frame(Parameter = colnames(A), value = solve(A, c(0, 0, 0, 0, 0, 0, 0, heat, electricity, 0, 0, 0, 0, 0)))
 
print(xtable(B), type = 'html')
 
 
 
 
</rcode>
 
 
  
 
http://ytoswww/yhteiset/YMAL/Projects/  
 
http://ytoswww/yhteiset/YMAL/Projects/  

Revision as of 10:59, 29 August 2012


http://ytoswww/yhteiset/YMAL/Projects/

Edited by ehacfff math ei jekkase Failed to parse (Missing <code>texvc</code> executable. Please see math/README to configure.): L_{Aeq} = 10 \log \int_{t_0}^{t_1} \frac{p_A^2(t)}{p_0^2} dt

Failed to parse (Missing <code>texvc</code> executable. Please see math/README to configure.): \alpha + 8884444

Failed to parse (Missing <code>texvc</code> executable. Please see math/README to configure.): \textstyle L_{Aeq} = 10 \log \int_{t_0}^{t_1} \frac{p_A^2(t)}{p_0^2} dt

ovariable merge testing

+ Show code

Static GoogleMaps test

+ Show code


Kuopio buildings on Google maps test

Building minimum age:

+ Show code


GoogleMaps Sorvi MML TEST

+ Show code

GoogleMaps PostgreSQL test 2

+ Show code

GoogleMaps PostgreSQL test

+ Show code

Opasnet.csv test

+ Show code

Opasnet.data and BUGS test

+ Show code

+ Show code

Failed to parse (Missing <code>texvc</code> executable. Please see math/README to configure.): \alpha 444 + 9999 / 123


Hello

  • this works

Bluebox

  • works
  • ok


R-tools code include example

+ Show code

Jatropan viljelyala (ha):

n:

Mitkä tekijät halua eritellä tuloksessa?:
Katalyytin määrä
Ikä
Kastelu
Käytetty puristin

Minkä yhden tekijän halua eritellä kuvaajassa?:

+ Show code

+ Show code

Rectangle area test

width:

Rect height:

+ Show code