1Set up the Raspberry Pi
2Electrical Connection of Sensores and Actuators
3Set up the Connection
4Heating Control

no warranty for any of the provided information

MoistAir

Is used by:
HV_getSunPrediction

A set of functions to evaluate thermodynamic properties of humid air.

<?php
$GLOBALS['pTr']=611.657;   #Pa
$GLOBALS['Rw']=461.52;     #J/kg/K
$GLOBALS['Rair']=287.06;   #J/kg/K
$GLOBALS['Ttr']=273.16;    #K
$GLOBALS['p0']=101325;     #Pa
$GLOBALS['cpW']=1860;      #J/kg/K
$GLOBALS['cpAir']=1004.6;  #J/kg/K
$GLOBALS['cpWater']=4182.0;#J/kg/K
$GLOBALS['dhvW']=2500900;  #J
$GLOBALS['rhoAir']=1.204;  #kg/cbm
$GLOBALS['rhoWater']=998.2;#kg/cbm


# ====================
function densityAir($T,$p){
  $x = $p/$GLOBALS['Rair']/$T;
  return $x;
}

# ====================
function specHumidity($rhoW,$rhoAir){
  $x = $rhoW/$rhoAir;
  return $x;
}


# ====================
function relHumidity($T,$x){
  $phi = absHumidity1($x)/pSat($T)*$GLOBALS['Rw']*$T;
  return $phi;
}

# ====================
function absHumidity1($x){
  if ($x<1){
    $rhoW = $x*$GLOBALS['rhoAir'];
  }else{
    $rhoW = $GLOBALS['rhoWater'];
  }
  return $rhoW;
}

# ====================
function absHumidity2($T,$phi){
  $rhoW = pSat($T)*$phi/$GLOBALS['Rw']/$T;
  return $rhoW;
}

# ====================
function pSat($T){
  $k1=17.2799;
  $k2=4102.99;
  $k3=237.431;
  $theta = $T - $GLOBALS['Ttr'];
  $p=$GLOBALS['pTr']*exp($k1 - $k2/($theta + $k3));
  return $p;
}

# ====================
function specEnthalpy($T,$x){
  $hAir = $GLOBALS['cpAir']*($T - $GLOBALS['Ttr']);
  $hW = $x*($GLOBALS['dhvW'] + $GLOBALS['cpW']*($T - $GLOBALS['Ttr']));
  $h = $hAir+$hW;
return $h;
}

# ====================
function heatCapacity($T,$x){
$cp = $GLOBALS['cpAir'] + $x*$GLOBALS['cpW'];
return $cp;
}

?>
1HV_Admin_Login
2HV_colorMap
3HV_config
4HV_convertASCII
5HV_getSunPrediction
6HV_heatingControl
7HV_loop
8HV_readOperationState
9HV_readTemperatures
10HV_restart
11HV_serviceLog
12HV_setActuators
13HV_setParameters
14HV_showHouse
15HV_showLog
16HV_showRawValues
17HV_showWeatherForecast
18HV_thermos200
19HV_ventProg
20HV_writeLog
21index
22MoistAir
23readFilenames
24readNamedData
25tableInterpol

 

gnuplot

gnuplot is used to visualise the results - via script you can do infinite diagrams in 1 second.
Run 'test' in gnuplot to get an owerview of the available line- and symbolstyles.

Login
Valid HTML 4.01!