Difference between revisions of "Sandbox"

From Testiwiki
Jump to: navigation, search
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)
 +
 +
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 09:18, 28 August 2012


Urgenche energy balance test

What is the amount of heat needed (kWh)?:

What is the amount of electricity needed (kWh)?:

+ Show code


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