#head.html
EcolMod Lab
#header.html#models#Virtual Greenhouse model

xxx

Virtual Greenhouse

The description of the Virtual Greenhouse model is currently available only as a PDF file.

xxx

vg plugin

Instructions...

xxx

xxx

#plugins/vg/actuatorchalk.html

ActuatorChalk

Interface

InputsTypeDefaultPurpose / Expression
statedouble- setpoints/chalk[value]
swReflectivitydouble0.0Short-wave reflectivity potentially added to cover [0;1]
lwReflectivitydouble0.0Long-wave reflectivity potentially added to cover [0;1]
Outputs   
swReflectivityValuedouble0.0Short-wave reflectivity actually added to cover [0;1]
lwReflectivityValuedouble0.0Long-wave reflectivity actually added to cover [0;1]

xxx

xxx

#plugins/vg/actuatorgrowthlight.html

ActuatorGrowthLight

Interface

InputsTypeDefaultPurpose / Expression
isOnboolFALSE Is light currently switched on?
powerdouble0.0 W/m2Power of installed lamps per greenhouse area
ballastdouble0.0 W/m2Power used by lamp ballast
parPhotonCoefdouble1.6 micromole PAR/JNumber of PAR photons per spent lamp energy
efficiencydouble1.0Proportion of intensity actually emitted [0;1]
propSwdouble0.5Proportion of power emitted as short-wave radiation [0;1]
propLwdouble0.1Proportion of power emitted as long-wave radiation [0;1]
propConvdouble0.4Proportion of power emitted as convective heat [0;1]
propBallastLwdouble0.7Proportion of ballast emitted as long-wave radiation [0;1]
propBallastConvdouble0.3Proportion of ballast emitted as convective heat [0;1]
Outputs   
parEmissionBottomdouble0.0 micromole PAR/m2/sPAR emission downwards
swEmissionBottomdouble0.0 W/m2Short-wave emission downwards
lwEmissionBottomdouble0.0 W/m2Long-wave emission downwards
lwEmissionTopdouble0.0 W/m2Long-wave emission upwards
convectionBottomdouble0.0 W/m2Convective heat downwards
convectionTopdouble0.0 W/m2Convective heat upwards
powerUsagedouble0.0 W/m2Current power usage

xxx

xxx

#plugins/vg/actuatorchalk.html

ActuatorChalk

Interface

InputsTypeDefaultPurpose / Expression
statedouble- setpoints/chalk[value]
swReflectivitydouble0.0Short-wave reflectivity potentially added to cover [0;1]
lwReflectivitydouble0.0Long-wave reflectivity potentially added to cover [0;1]
Outputs   
swReflectivityValuedouble0.0Short-wave reflectivity actually added to cover [0;1]
lwReflectivityValuedouble0.0Long-wave reflectivity actually added to cover [0;1]

xxx

xxx

#plugins/vg/actuatorgrowthlight.html

ActuatorGrowthLight

Interface

InputsTypeDefaultPurpose / Expression
isOnboolFALSE Is light currently switched on?
powerdouble0.0 W/m2Power of installed lamps per greenhouse area
ballastdouble0.0 W/m2Power used by lamp ballast
parPhotonCoefdouble1.6 micromole PAR/JNumber of PAR photons per spent lamp energy
efficiencydouble1.0Proportion of intensity actually emitted [0;1]
propSwdouble0.5Proportion of power emitted as short-wave radiation [0;1]
propLwdouble0.1Proportion of power emitted as long-wave radiation [0;1]
propConvdouble0.4Proportion of power emitted as convective heat [0;1]
propBallastLwdouble0.7Proportion of ballast emitted as long-wave radiation [0;1]
propBallastConvdouble0.3Proportion of ballast emitted as convective heat [0;1]
Outputs   
parEmissionBottomdouble0.0 micromole PAR/m2/sPAR emission downwards
swEmissionBottomdouble0.0 W/m2Short-wave emission downwards
lwEmissionBottomdouble0.0 W/m2Long-wave emission downwards
lwEmissionTopdouble0.0 W/m2Long-wave emission upwards
convectionBottomdouble0.0 W/m2Convective heat downwards
convectionTopdouble0.0 W/m2Convective heat upwards
powerUsagedouble0.0 W/m2Current power usage

xxx

xxx

#plugins/vg/actuatorheatpipe.html

ActuatorHeatPipe

Interface

InputsTypeDefaultPurpose / Expression
volumedouble15.0 m3Pipe volume
flowRatedouble20.0 m3/hWater flow rate
kdouble0.0063 Calibration parameter
bdouble1.25 Calibration parameter(!=1)
propLwdouble0.5Proportion of energy emitted as long-wave radiation [0;1]
minTemperaturedouble20.0 oCMinimum inflow temperature
maxTemperaturedouble80.0 oCMaximum inflow temperature
desiredTemperaturedouble0.0 oCDesired inflow temperature
indoorsTemperaturedouble- oCindoors[temperature]
groundAreadouble- m2geometry[groundArea]
Outputs   
inflowTemperaturedouble0.0 oCWater temperature at entry
outflowTemperaturedouble0.0 oCWater temperature at exit
transitTimedouble0.0 minAverage transit time of water
temperatureDropdouble0.0 oCDrop in water temperature from entry to exit
energyFluxdouble0.0 W/m2Energy flux
lwEmissionTopdouble0.0 W/m2Long-wave emission upwards
lwEmissionBottomdouble0.0 W/m2Long-wave emission downwards
convectionTopdouble0.0 W/m2Convective heat flux upwards
convectionBottomdouble0.0 W/m2Convective heat flux downwards
isHeatingboolFALSE Is heat pipe inflow above minimum temperature?

xxx

xxx

#plugins/vg/actuatorheatpump.html

ActuatorHeatPump

Interface

InputsTypeDefaultPurpose / Expression
groundAreadouble- construction/geometry[groundArea]
indoorsTemperaturedouble- indoors[temperature]
indoorsRhdouble- indoors/humidity[rh]
statedouble-setpoints/elementary/heatPumpsOn[value] (Running state relative to full effect)
numberint1 0,1,2,...Number of heat pumps
maxCoolingPowerdouble78.4 kWMaximum cooling power
coolingEfficiencydouble0.69Effective proportion of cooling power [0;1]
maxFlowRatedouble2.5 m3/sMaximum air flow rate
maxPowerUserParasiticdouble2.2 kWMaximum basic power use
coolingTemperaturedouble10.0 oCTemperature of the cooling aggregate
Outputs   
condensationRatedouble0.0 kg/m2/sRate of water condensed in the unit
powerUseCoolingdouble0.0 kW/m2Power used for cooling
powerUserParasiticdouble0.0 kW/m2Power lost
powerUsedouble0.0 kW/m2Power used (total)
heatdouble0.0 kW/m2Heat generated

xxx

xxx

#plugins/vg/actuators.html

Actuators

Interface

InputsTypeDefaultPurpose / Expression
None
Outputs   
None

xxx

xxx

#plugins/vg/actuatorscreen.html

ActuatorScreen

Interface

InputsTypeDefaultPurpose / Expression
lagPerioddouble5.0 minTime to draw the screen completely
desiredStatedouble0.0State desired by screen controller [0;1]
timeStepSecsdouble- calendar[timeStepSecs]
Outputs   
statedouble0.0Proportion of the screen drawn [0;1]

xxx

xxx

#plugins/vg/actuatorventilation.html

ActuatorVentilation

Interface

InputsTypeDefaultPurpose / Expression
desiredValuedouble0.0 /hDesired ventilation rate
ventAreaRatiodouble0.4 intTotal vent area in proportion to groundarea
windCoefdouble50.0 /h/(m/s)Proportionality of air flux with windspeed
temperatureCoefdouble14.0 /h/KProportionality of air flux with temperature diffence
windSpeeddouble- outdoors[windSpeed]
leakagedouble- construction/leakage[value]
outdoorsTemperaturedouble- outdoors[temperature]
indoorsTemperaturedouble- indoors[temperature]
outdoorsRhdouble- outdoors[rh]
indoorsRhdouble- indoors[rh]
timeStepdouble- calendar[timeStepSecs]
indoorsVolumedouble- geometry[volume]
Outputs   
valuedouble0.0 /hVentilation air flux, including leakage
minValuedouble0.0 /hMinimum possible air flux, including leakage
maxValuedouble0.0 /hMaximum possible air flux, including leakage
relativedouble0.0Ventilation relative to maximum possible [0;1]
sensibleHeatFluxdouble0.0 W/m2Sensible heat flux
latentHeatFluxdouble0.0 W/m2Latent heat flux
isVentilatingboolFALSE Are vents more open than crack?

xxx

xxx

#plugins/vg/averagecover.html

AverageCover

Interface

InputsTypeDefaultPurpose / Expression
coverPerGroundAreadouble- geometry[coverPerGroundArea]
swAbsorptivityTopsvec_double- ./materials/*[swAbsorptivityTopAdj] (Vector of materials' adjusted values)
swAbsorptivityBottomsvec_double- ./materials/*[swAbsorptivityBottomAdj] (Vector of materials' adjusted values)
swReflectivityTopsvec_double- ./materials/*[swReflectivityTopAdj] (Vector of materials' adjusted values)
swReflectivityBottomsvec_double- ./materials/*[swReflectivityBottomAdj] (Vector of materials' adjusted values)
swTransmissivityTopsvec_double- ./materials/*[swTransmissivityTopAdj] (Vector of materials' adjusted values)
swTransmissivityBottomsvec_double- ./materials/*[swTransmissivityBottomAdj] (Vector of materials' adjusted values)
lwAbsorptivityTopsvec_double- ./materials/*[lwAbsorptivityTopAdj] (Vector of materials' adjusted values)
lwAbsorptivityBottomsvec_double- ./materials/*[lwAbsorptivityBottomAdj] (Vector of materials' adjusted values)
lwReflectivityTopsvec_double- ./materials/*[lwReflectivityTopAdj] (Vector of materials' adjusted values)
lwReflectivityBottomsvec_double- ./materials/*[lwReflectivityBottomAdj] (Vector of materials' adjusted values)
lwTransmissivityTopsvec_double- ./materials/*[lwTransmissivityTopAdj] (Vector of materials' adjusted values)
lwTransmissivityBottomsvec_double- ./materials/*[lwTransmissivityBottomAdj] (Vector of materials' adjusted values)
Utopsvec_double- ./materials/*[UtopAdj] (Vector of materials' adjusted values)
Ubottomsvec_double- ./materials/*[UbottomAdj] (Vector of materials' adjusted values)
heatCapacitysvec_double- ./materials/*[heatCapacityAdj] (Vector of materials' adjusted values)
groundAreadouble- geometry[groundArea]
Outputs   
swAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
UtopAdjdouble0.0 Parameter adjusted for chalk and state
UbottomAdjdouble0.0 Parameter adjusted for chalk and state
heatCapacityAdjdouble0.0 Parameter adjusted for chalk and state

xxx

xxx

#plugins/vg/averagematerial.html

AverageMaterial

Interface

InputsTypeDefaultPurpose / Expression
swAbsorptivityTopdouble0.0Short-wave absorptivity at the top [0;1]
swReflectivityTopdouble0.0Short-wave reflectivity at the top [0;1]
swTransmissivityTopdouble1.0Short-wave transmissivity at the top [0;1]
swAbsorptivityBottomdouble0.0Short-wave absorptivity at the bottom [0;1]
swReflectivityBottomdouble0.0Short-wave reflectivity at the bottom [0;1]
swTransmissivityBottomdouble1.0Short-wave transmissivity at the bottom [0;1]
lwAbsorptivityTopdouble0.0Long-wave absorptivity at the top [0;1]
lwReflectivityTopdouble0.0Long-wave reflectivity at the top [0;1]
lwTransmissivityTopdouble1.0Long-wave transmissivity at the top [0;1]
lwAbsorptivityBottomdouble0.0Long-wave absorptivity at the bottom [0;1]
lwReflectivityBottomdouble0.0Long-wave reflectivity at the bottom [0;1]
lwTransmissivityBottomdouble1.0Long-wave transmissivity at the bottom [0;1]
Utopdouble0.0 W/K/m2 layerHeat transfer coefficient at the top
Ubottomdouble0.0 W/K/m2 layerHeat transfer coefficient at the bottom
heatCapacitydouble0.0 J/K/m2 layerArea-specific heat capacity
coverPerGroundAreadouble- geometry[coverPerGroundArea]
myAreasvec_doublec()
myWeightsvec_doublec()
allAreasvec_double- shelter/faces/*[area]
allWeightsvec_double- shelter/faces/*[weight]
Outputs   
swAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
UtopAdjdouble0.0 Parameter adjusted for chalk and state
UbottomAdjdouble0.0 Parameter adjusted for chalk and state
heatCapacityAdjdouble0.0 Parameter adjusted for chalk and state

xxx

xxx

#plugins/vg/averagescreen.html

AverageScreen

Interface

InputsTypeDefaultPurpose / Expression
coverPerGroundAreadouble- geometry[coverPerGroundArea]
swAbsorptivityTopsvec_double- ./materials/*[swAbsorptivityTopAdj] (Vector of materials' adjusted values)
swAbsorptivityBottomsvec_double- ./materials/*[swAbsorptivityBottomAdj] (Vector of materials' adjusted values)
swReflectivityTopsvec_double- ./materials/*[swReflectivityTopAdj] (Vector of materials' adjusted values)
swReflectivityBottomsvec_double- ./materials/*[swReflectivityBottomAdj] (Vector of materials' adjusted values)
swTransmissivityTopsvec_double- ./materials/*[swTransmissivityTopAdj] (Vector of materials' adjusted values)
swTransmissivityBottomsvec_double- ./materials/*[swTransmissivityBottomAdj] (Vector of materials' adjusted values)
lwAbsorptivityTopsvec_double- ./materials/*[lwAbsorptivityTopAdj] (Vector of materials' adjusted values)
lwAbsorptivityBottomsvec_double- ./materials/*[lwAbsorptivityBottomAdj] (Vector of materials' adjusted values)
lwReflectivityTopsvec_double- ./materials/*[lwReflectivityTopAdj] (Vector of materials' adjusted values)
lwReflectivityBottomsvec_double- ./materials/*[lwReflectivityBottomAdj] (Vector of materials' adjusted values)
lwTransmissivityTopsvec_double- ./materials/*[lwTransmissivityTopAdj] (Vector of materials' adjusted values)
lwTransmissivityBottomsvec_double- ./materials/*[lwTransmissivityBottomAdj] (Vector of materials' adjusted values)
Utopsvec_double- ./materials/*[UtopAdj] (Vector of materials' adjusted values)
Ubottomsvec_double- ./materials/*[UbottomAdj] (Vector of materials' adjusted values)
heatCapacitysvec_double- ./materials/*[heatCapacityAdj] (Vector of materials' adjusted values)
effectiveAreadouble0.0 m2Total area of screens drawn
Outputs   
swAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
UtopAdjdouble0.0 Parameter adjusted for chalk and state
UbottomAdjdouble0.0 Parameter adjusted for chalk and state
heatCapacityAdjdouble0.0 Parameter adjusted for chalk and state

xxx

xxx

#plugins/vg/budget.html

Budget

Interface

InputsTypeDefaultPurpose / Expression
radPrecisiondouble0.1 W/m2|mumol/m2/sPrecision of numerical solution to radiation budget
tempPrecisiondouble0.5 KMax. allowed temperature change in a sub-step among layers
thresholdPrecisiondouble0.1 KPrecision of temperature thresholds for climate control
timeStepdouble- calendar[timeStepSecs]
averageHeightdouble- geometry[averageHeight]
coverPerGroundAreadouble- geometry[coverPerGroundArea]
outdoorsTemperaturedouble- outdoors[temperature]
outdoorsRhdouble- outdoors[rh]
outdoorsCo2double- outdoors[co2]
transpirationRatedouble- plant[transpiration]
Pndouble- plant[Pn]
co2Injectiondouble- actuators/co2[value]
heatPipeFluxdouble- actuators/heatPipes[heatFlux]
ventilationThresholddouble- controllers/ventilation/temperatureThreshold[value]
ventilationCostThresholddouble- controllers/ventilation/maxHeatingCost[value]
heatingThresholddouble- controllers/heating[value]
heatPipesOnvec_bool- heatPipes/*[isHeating]
ventilationOnbool- actuators/ventilation[isVentilating]
deltaVentControldouble0.3 /h/minControl increment of ventilation flux
deltaVentControlRelativedouble0.2 /minRelative control of ventilation flux
deltaHeatingControldouble4.0 K/minControl increment in heating temperature
babyTimeStepdouble1.0 sLength of first time step after climate control action
stepint- sim[step]
dateTimedatetime- calendar[dateTime]
Outputs   
subStepsint0 intNumber of sub-steps taken to resolve the whole budget
radIterationsint0 intNumber of iterations taken to resolve radiation budget
maxDeltaTdouble0.0 KMax. temperature change in a sub-step
controlCodeint0 intCode for the control option needed
actionCodeint0 intCode for the control action taken
transpirationdouble0.0 kg/m2Plant transpiration
condensationdouble0.0 kg/m2Condensation on cover
ventedWaterdouble0.0 kg/m2Water loss by ventilation
latentHeatBalancedouble0.0 W/m2Latent heat of water balance
ventilationHeatLossdouble0.0 W/m2Sensible heat lost by ventilation
indoorsSensibleHeatFluxdouble0.0 W/m2Rate of change in indoors air sensible heat
indoorsLatentHeatFluxdouble0.0 W/m2Rate of change in indoors air latent heat

xxx

xxx

#plugins/vg/budgetlayer.html

BudgetLayer

Interface

InputsTypeDefaultPurpose / Expression
initTemperaturedouble20.0 oCInitial temperature
Outputs   
temperaturedouble0.0
swEmissionTopdouble0.0
swEmissionBottomdouble0.0
swFlowTopdouble0.0
swFlowBottomdouble0.0
swAbsorbedTopdouble0.0
swAbsorbedBottomdouble0.0
lwEmissionTopdouble0.0
lwEmissionBottomdouble0.0
lwFlowTopdouble0.0
lwFlowBottomdouble0.0
lwAbsorbedTopdouble0.0
lwAbsorbedBottomdouble0.0
parEmissionTopdouble0.0
parEmissionBottomdouble0.0
parFlowTopdouble0.0
parFlowBottomdouble0.0
parAbsorbedTopdouble0.0
parAbsorbedBottomdouble0.0
convectionTopdouble0.0
convectionBottomdouble0.0
radiationDeltaTdouble0.0 oCChange in temperature due to net radiation
convectionDeltaTdouble0.0 oCChange in temperature due to net convection/conduction
totalDeltaTdouble0.0 oCTotal change in temperature
condensationdouble0.0 kg/m2Condensation (top+bottom)
netRadiationdouble0.0 W/m2Net radiation (absorption - emission
netConvectiondouble0.0 W/m2Net radiation (absorption - emission

xxx

xxx

#plugins/vg/budgetlayercover.html

BudgetLayerCover

Interface

InputsTypeDefaultPurpose / Expression
initTemperaturedouble20.0 oCInitial temperature
coverPerGroundAreadouble- geometry[coverPerGroundArea]
indoorsRhdouble- indoors[rh]
Outputs   
temperaturedouble0.0
swEmissionTopdouble0.0
swEmissionBottomdouble0.0
swFlowTopdouble0.0
swFlowBottomdouble0.0
swAbsorbedTopdouble0.0
swAbsorbedBottomdouble0.0
lwEmissionTopdouble0.0
lwEmissionBottomdouble0.0
lwFlowTopdouble0.0
lwFlowBottomdouble0.0
lwAbsorbedTopdouble0.0
lwAbsorbedBottomdouble0.0
parEmissionTopdouble0.0
parEmissionBottomdouble0.0
parFlowTopdouble0.0
parFlowBottomdouble0.0
parAbsorbedTopdouble0.0
parAbsorbedBottomdouble0.0
convectionTopdouble0.0
convectionBottomdouble0.0
radiationDeltaTdouble0.0 oCChange in temperature due to net radiation
convectionDeltaTdouble0.0 oCChange in temperature due to net convection/conduction
totalDeltaTdouble0.0 oCTotal change in temperature
condensationdouble0.0 kg/m2Condensation (top+bottom)
netRadiationdouble0.0 W/m2Net radiation (absorption - emission
netConvectiondouble0.0 W/m2Net radiation (absorption - emission

xxx

xxx

#plugins/vg/budgetlayerfloor.html

BudgetLayerFloor

Interface

InputsTypeDefaultPurpose / Expression
initTemperaturedouble20.0 oCInitial temperature
indoorsRhdouble- indoors[rh]
Outputs   
temperaturedouble0.0
swEmissionTopdouble0.0
swEmissionBottomdouble0.0
swFlowTopdouble0.0
swFlowBottomdouble0.0
swAbsorbedTopdouble0.0
swAbsorbedBottomdouble0.0
lwEmissionTopdouble0.0
lwEmissionBottomdouble0.0
lwFlowTopdouble0.0
lwFlowBottomdouble0.0
lwAbsorbedTopdouble0.0
lwAbsorbedBottomdouble0.0
parEmissionTopdouble0.0
parEmissionBottomdouble0.0
parFlowTopdouble0.0
parFlowBottomdouble0.0
parAbsorbedTopdouble0.0
parAbsorbedBottomdouble0.0
convectionTopdouble0.0
convectionBottomdouble0.0
radiationDeltaTdouble0.0 oCChange in temperature due to net radiation
convectionDeltaTdouble0.0 oCChange in temperature due to net convection/conduction
totalDeltaTdouble0.0 oCTotal change in temperature
condensationdouble0.0 kg/m2Condensation (top+bottom)
netRadiationdouble0.0 W/m2Net radiation (absorption - emission
netConvectiondouble0.0 W/m2Net radiation (absorption - emission

xxx

xxx

#plugins/vg/budgetlayerscreen.html

BudgetLayerScreen

Interface

InputsTypeDefaultPurpose / Expression
initTemperaturedouble20.0 oCInitial temperature
groundAreadouble- geometry[groundArea]
indoorsRhdouble- indoors[rh]
Outputs   
temperaturedouble0.0
swEmissionTopdouble0.0
swEmissionBottomdouble0.0
swFlowTopdouble0.0
swFlowBottomdouble0.0
swAbsorbedTopdouble0.0
swAbsorbedBottomdouble0.0
lwEmissionTopdouble0.0
lwEmissionBottomdouble0.0
lwFlowTopdouble0.0
lwFlowBottomdouble0.0
lwAbsorbedTopdouble0.0
lwAbsorbedBottomdouble0.0
parEmissionTopdouble0.0
parEmissionBottomdouble0.0
parFlowTopdouble0.0
parFlowBottomdouble0.0
parAbsorbedTopdouble0.0
parAbsorbedBottomdouble0.0
convectionTopdouble0.0
convectionBottomdouble0.0
radiationDeltaTdouble0.0 oCChange in temperature due to net radiation
convectionDeltaTdouble0.0 oCChange in temperature due to net convection/conduction
totalDeltaTdouble0.0 oCTotal change in temperature
condensationdouble0.0 kg/m2Condensation (top+bottom)
netRadiationdouble0.0 W/m2Net radiation (absorption - emission
netConvectiondouble0.0 W/m2Net radiation (absorption - emission

xxx

xxx

#plugins/vg/budgetlayersky.html

BudgetLayerSky

Interface

InputsTypeDefaultPurpose / Expression
initTemperaturedouble20.0 oCInitial temperature
Outputs   
temperaturedouble0.0
swEmissionTopdouble0.0
swEmissionBottomdouble0.0
swFlowTopdouble0.0
swFlowBottomdouble0.0
swAbsorbedTopdouble0.0
swAbsorbedBottomdouble0.0
lwEmissionTopdouble0.0
lwEmissionBottomdouble0.0
lwFlowTopdouble0.0
lwFlowBottomdouble0.0
lwAbsorbedTopdouble0.0
lwAbsorbedBottomdouble0.0
parEmissionTopdouble0.0
parEmissionBottomdouble0.0
parFlowTopdouble0.0
parFlowBottomdouble0.0
parAbsorbedTopdouble0.0
parAbsorbedBottomdouble0.0
convectionTopdouble0.0
convectionBottomdouble0.0
radiationDeltaTdouble0.0 oCChange in temperature due to net radiation
convectionDeltaTdouble0.0 oCChange in temperature due to net convection/conduction
totalDeltaTdouble0.0 oCTotal change in temperature
condensationdouble0.0 kg/m2Condensation (top+bottom)
netRadiationdouble0.0 W/m2Net radiation (absorption - emission
netConvectiondouble0.0 W/m2Net radiation (absorption - emission

xxx

xxx

#plugins/vg/budgetvolume.html

BudgetVolume

Interface

InputsTypeDefaultPurpose / Expression
initTemperaturedouble20.0 oCInitial temperature
initRhdouble70.0 %Initial relative humidity
initCo2double400.0 ppmInitial CO2 concentration
Outputs   
temperaturedouble0.0 oCTemperature
rhdouble0.0 %Relative humidity
co2double0.0 ppmCO2 concentration
heatInfluxdouble0.0 W/m2Total convective/conductive heat influx

xxx

xxx

#plugins/vg/canopyphotosynthesis.html

CanopyPhotosynthesis

Interface

InputsTypeDefaultPurpose / Expression
laidouble- /crop[lai]
leafAnvec_double- ./*/leafPhotosynthesis[An]
leafAgvec_double- ./*/leafPhotosynthesis[Ag]
growthRespirationdouble0.3Relative growth respiration [0;1]
trackPnbool- ..[trackPn]
Outputs   
Andouble0.0
Agdouble0.0
Ardouble0.0
Pndouble0.0 g dry mass/ground m2/hNet canopy growth rate
Pgdouble0.0 g dry mass/ground m2/hGross canopy growth rate
Prdouble0.0 g dry mass/ground m2/hCanopy respiration rate
trackedPnvec_doublec() Pn values if 'trackPn' is true

xxx

xxx

#plugins/vg/cover.html

Cover

Interface

InputsTypeDefaultPurpose / Expression
swAbsorptivityTopdouble0.0Short-wave absorptivity at the top [0;1]
swReflectivityTopdouble0.0Short-wave reflectivity at the top [0;1]
swTransmissivityTopdouble1.0Short-wave transmissivity at the top [0;1]
swAbsorptivityBottomdouble0.0Short-wave absorptivity at the bottom [0;1]
swReflectivityBottomdouble0.0Short-wave reflectivity at the bottom [0;1]
swTransmissivityBottomdouble1.0Short-wave transmissivity at the bottom [0;1]
lwAbsorptivityTopdouble0.0Long-wave absorptivity at the top [0;1]
lwReflectivityTopdouble0.0Long-wave reflectivity at the top [0;1]
lwTransmissivityTopdouble1.0Long-wave transmissivity at the top [0;1]
lwAbsorptivityBottomdouble0.0Long-wave absorptivity at the bottom [0;1]
lwReflectivityBottomdouble0.0Long-wave reflectivity at the bottom [0;1]
lwTransmissivityBottomdouble1.0Long-wave transmissivity at the bottom [0;1]
Utopdouble0.0 W/K/m2 layerHeat transfer coefficient at the top
Ubottomdouble0.0 W/K/m2 layerHeat transfer coefficient at the bottom
heatCapacitydouble0.0 J/K/m2 layerArea-specific heat capacity
coverPerGroundAreadouble- geometry[coverPerGroundArea]
transmissivityReductiondouble0.0Reduced cover transmission due to beams, dirt, etc. [0;1]
swShadingdouble0.0Additional short-wave reflectivity caused by chalk [0;1]
lwShadingdouble0.0Additional long-wave reflectivity caused by chalk [0;1]
Outputs   
swAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
UtopAdjdouble0.0 Parameter adjusted for chalk and state
UbottomAdjdouble0.0 Parameter adjusted for chalk and state
heatCapacityAdjdouble0.0 Parameter adjusted for chalk and state

xxx

xxx

#plugins/vg/crop.html

Crop

Interface

InputsTypeDefaultPurpose / Expression
laidouble3.0 m2/m2Leaf area index
coveragedouble1.0Proportion of floor area with crop [0;1]
kdouble0.7Light extinction coefficient [0;1]
gammaStardouble48.95 ppmCO2 compensation point
Jmaxdouble115.67
lightRespirationdouble0.29
ballBerryInterceptdouble0.106 Minimum stomatal conductance for CO2 (g0)
ballBerrySlopedouble1.64 Slope og stomatal conductance for CO2 (g1)
Vcmaxdouble98.0 Not used
alphadouble0.84 Not used
trackPnboolFALSE Track Pn values?
Outputs   
None

xxx

xxx

#plugins/vg/face.html

Face

Interface

InputsTypeDefaultPurpose / Expression
coverstring"glass" A material listed in shelter/covers
screensstring"" Zero or more screen materials listed in shelter/screens
areadouble0.0 m2Area of face
weightdouble1.0Weight given to face in radiation budget [0;1]
Outputs   
screenMaterialsvec_stringc() Vector of screen material names

xxx

xxx

#plugins/vg/floor.html

Floor

Interface

InputsTypeDefaultPurpose / Expression
swAbsorptivityTopdouble0.0Short-wave absorptivity at the top [0;1]
swReflectivityTopdouble0.0Short-wave reflectivity at the top [0;1]
swTransmissivityTopdouble1.0Short-wave transmissivity at the top [0;1]
swAbsorptivityBottomdouble0.0Short-wave absorptivity at the bottom [0;1]
swReflectivityBottomdouble0.0Short-wave reflectivity at the bottom [0;1]
swTransmissivityBottomdouble1.0Short-wave transmissivity at the bottom [0;1]
lwAbsorptivityTopdouble0.0Long-wave absorptivity at the top [0;1]
lwReflectivityTopdouble0.0Long-wave reflectivity at the top [0;1]
lwTransmissivityTopdouble1.0Long-wave transmissivity at the top [0;1]
lwAbsorptivityBottomdouble0.0Long-wave absorptivity at the bottom [0;1]
lwReflectivityBottomdouble0.0Long-wave reflectivity at the bottom [0;1]
lwTransmissivityBottomdouble1.0Long-wave transmissivity at the bottom [0;1]
Utopdouble0.0 W/K/m2 layerHeat transfer coefficient at the top
Ubottomdouble0.0 W/K/m2 layerHeat transfer coefficient at the bottom
heatCapacitydouble0.0 J/K/m2 layerArea-specific heat capacity
coverPerGroundAreadouble- geometry[coverPerGroundArea]
Outputs   
swAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
UtopAdjdouble0.0 Parameter adjusted for chalk and state
UbottomAdjdouble0.0 Parameter adjusted for chalk and state
heatCapacityAdjdouble0.0 Parameter adjusted for chalk and state

xxx

xxx

#plugins/vg/geometry.html

Geometry

Interface

InputsTypeDefaultPurpose / Expression
numSpansint1 Number of spans
spanWidthdouble40.0 mWidth of a span
lengthdouble100.0 mLength of side wall
heightdouble2.5 mWall height
roofPitchdouble26.0Pitch (slope) of roof [0;180]
Outputs   
sideAreadouble0.0 m2Total area of side walls
endAreadouble0.0 m2Total area of end face
roofAreadouble0.0 m2Total area of greenhouse roof
coverAreadouble0.0 m2Total area of greenhouse cover
groundAreadouble0.0 m2Total area covered by greenhouse
volumedouble0.0 m3Total greenhouse volume
coverPerGroundAreadouble0.0 m2/m2Area to ground cover ratio
averageHeightdouble0.0 mAverage height of total volume

xxx

xxx

#plugins/vg/growthlightcontroller.html

GrowthLightController

Interface

InputsTypeDefaultPurpose / Expression
modeint0 0|1|10Control mode can be 0=off, 1=threshold-controlled, 10=on
inputdouble0.0 Current value of threshold variable
thresholdLowdouble0.0 W/m2If threshold-controlled the light is switched on below this threshold
thresholdHighdouble0.0 W/m2If threshold-controlled the light is switched off above this threshold
minPeriodOndouble0.0 minMinimum period that light stays on
timeStepSecsdouble- calendar[timeStepSecs]
Outputs   
isOnboolFALSE Is light on?
periodOndouble0.0 minTime since last time light went on

xxx

xxx

#plugins/vg/growthlights.html

GrowthLights

Interface

InputsTypeDefaultPurpose / Expression
coverPerGroundAreadouble- geometry[coverPerGroundArea]
parEmissionBottomLightsvec_double- ./*[parEmissionBottom]
swEmissionBottomLightsvec_double- ./*[swEmissionBottom]
lwEmissionBottomLightsvec_double- ./*[lwEmissionBottom]
lwEmissionTopLightsvec_double- ./*[lwEmissionTop]
convectionBottomLightsvec_double- ./*[convectionBottom]
convectionTopLightsvec_double- ./*[convectionTop]
powerUsageLightsvec_double- ./*[powerUsage]
Outputs   
swAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
UtopAdjdouble0.0 Parameter adjusted for chalk and state
UbottomAdjdouble0.0 Parameter adjusted for chalk and state
heatCapacityAdjdouble0.0 Parameter adjusted for chalk and state
parEmissionBottomdouble0.0 micromole PAR/m2/sPAR emission downwards
swEmissionBottomdouble0.0 W/m2Short-wave emission downwards
lwEmissionBottomdouble0.0 W/m2Long-wave emission downwards
lwEmissionTopdouble0.0 W/m2Long-wave emission upwards
convectionBottomdouble0.0 W/m2Convective heat downwards
convectionTopdouble0.0 W/m2Convective heat upwards
powerUsagedouble0.0 W/m2Current power usage

xxx

xxx

#plugins/vg/heatpipes.html

HeatPipes

Interface

InputsTypeDefaultPurpose / Expression
coverPerGroundAreadouble- geometry[coverPerGroundArea]
lwEmissionTopPipesvec_double- ./*[lwEmissionTop]
lwEmissionBottomPipesvec_double- ./*[lwEmissionBottom]
convectionTopPipesvec_double- ./*[convectionTop]
convectionBottomPipesvec_double- ./*[convectionBottom]
inflowTemperaturePipesvec_double- ./*[inflowTemperature]
Outputs   
swAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
UtopAdjdouble0.0 Parameter adjusted for chalk and state
UbottomAdjdouble0.0 Parameter adjusted for chalk and state
heatCapacityAdjdouble0.0 Parameter adjusted for chalk and state
lwEmissionTopdouble0.0 W/m2Long-wave emission upwards
lwEmissionBottomdouble0.0 W/m2Long-wave emission downwards
convectionTopdouble0.0 W/m2Convective heat flux upwards
convectionBottomdouble0.0 W/m2Convective heat flux downwards
heatFluxdouble0.0 W/m2Total heat flux from pipes
inflowTemperatureAvgdouble0.0 oCAverage of inflow temperatures

xxx

xxx

#plugins/vg/igindoorshumidity.html

IgIndoorsHumidity

Interface

InputsTypeDefaultPurpose / Expression
rhdouble0.0Indoors relative humidity [0;100]
temperaturedouble- oCindoors/temperature[value]
Outputs   
ahdouble0.0 kg/m3Indoors absolute humidity

xxx

xxx

#plugins/vg/layer.html

Layer

Interface

InputsTypeDefaultPurpose / Expression
swAbsorptivityTopdouble0.0Short-wave absorptivity at the top [0;1]
swReflectivityTopdouble0.0Short-wave reflectivity at the top [0;1]
swTransmissivityTopdouble1.0Short-wave transmissivity at the top [0;1]
swAbsorptivityBottomdouble0.0Short-wave absorptivity at the bottom [0;1]
swReflectivityBottomdouble0.0Short-wave reflectivity at the bottom [0;1]
swTransmissivityBottomdouble1.0Short-wave transmissivity at the bottom [0;1]
lwAbsorptivityTopdouble0.0Long-wave absorptivity at the top [0;1]
lwReflectivityTopdouble0.0Long-wave reflectivity at the top [0;1]
lwTransmissivityTopdouble1.0Long-wave transmissivity at the top [0;1]
lwAbsorptivityBottomdouble0.0Long-wave absorptivity at the bottom [0;1]
lwReflectivityBottomdouble0.0Long-wave reflectivity at the bottom [0;1]
lwTransmissivityBottomdouble1.0Long-wave transmissivity at the bottom [0;1]
Utopdouble0.0 W/K/m2 layerHeat transfer coefficient at the top
Ubottomdouble0.0 W/K/m2 layerHeat transfer coefficient at the bottom
heatCapacitydouble0.0 J/K/m2 layerArea-specific heat capacity
Outputs   
None

xxx

xxx

#plugins/vg/layeradjusted.html

LayerAdjusted

Interface

InputsTypeDefaultPurpose / Expression
coverPerGroundAreadouble- geometry[coverPerGroundArea]
Outputs   
swAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
UtopAdjdouble0.0 Parameter adjusted for chalk and state
UbottomAdjdouble0.0 Parameter adjusted for chalk and state
heatCapacityAdjdouble0.0 Parameter adjusted for chalk and state

xxx

xxx

#plugins/vg/leakageventilation.html

LeakageVentilation

Interface

InputsTypeDefaultPurpose / Expression
leakagedouble1.0 /hInfiltration rate at a wind speed of 4 m/s
windSpeeddouble- outdoors[windSpeed]
Outputs   
valuedouble0.0 /hAir flux by leakage

xxx

xxx

#plugins/vg/outdoors.html

Outdoors

Interface

InputsTypeDefaultPurpose / Expression
co2double400.0 ppmOutdoors CO2 concentration
temperaturedouble- oC./records[Tair] (Outdoors ambient temperature)
rhdouble-./records[Rhair] (Outdoors ambient relative humidity)
radiationdouble- W/m2./records[GlobRad] (Total sunlight irradiation)
propPardouble0.45Proportion of PAR in radiation [0;1]
propUvdouble0.07Proportion of UV in radiation [0;1]
windSpeeddouble- m/s./records[Windspeed] (Outdoors wind speed)
Outputs   
pardouble0.0 mymol PAR/m2/sSunlight PAR
soilTemperaturedouble- oC./soilTemperature[value]

xxx

xxx

#plugins/vg/pidcontroller.html

PidController

Interface

InputsTypeDefaultPurpose / Expression
sensedValuedouble0.0 The sensed value
desiredValuedouble0.0 The desired value (setpoint)
Kpropdouble0.1 The proportional gain
Kintdouble0.0 /minThe integral gain
Kderivdouble0.0 minThe derivative gain
lookAheaddouble0.0 minComputed error from predicted sensed value this time ahead
minimumdouble-1.79769e+308 Minimum allowed value of control variable
maximumdouble1.79769e+308 Maximum allowed value of control variable
timeStepdouble- scalendar[timeStepSecs]
Outputs   
controlVariabledouble0.0 The control variable; tends to zero when all three error terms summed tend to zero
errordouble0.0 The error
integraldouble0.0 minThe integral error
derivativedouble0.0 /minThe derivative of the approach of sensed towards target value

xxx

xxx

#plugins/vg/plant.html

Plant

Interface

InputsTypeDefaultPurpose / Expression
coverPerGroundAreadouble- geometry[coverPerGroundArea]
k_swdouble0.7Short-wave extinction coefficient [0;1]
k_lwdouble1.0Long-wave extinction coefficient [0;1]
sigmadouble0.2 Scattering coefficient
g0double0.1 m/sBall-Berry model of stomatal resistance (H2O): intercept
g1double1.64 m3/molBall-Berry model of stomatal resistance (H2O): slope
redouble200.0 m/sBoundary layer resistance (H2O)
laidouble1.0 m2/m2Leaf area index in the cultivated area
coveragedouble0.9 m2/m2Proportion of floor covered by plants
Jmaxdouble194.0
Vcmaxdouble112.0
GammaStardouble41.0 ppmCO2 compensation point
Kmdouble600.0 PaMichaelis-Menten coefficient for Farquhar model
Rd0double0.49
alphadouble0.24 Slope of light response curve
thetadouble0.85 Shape of light response curve
EaVJdouble29680.0 Temperature response of Jmax
EdVJdouble200000.0 Temperature response of Jmax
delsJdouble631.88 Temperature response of Jmax
EaVCdouble58550.0 Temperature response of Vcmax
EdVCdouble200000.0 Temperature response of Vcmax
delsCdouble629.26 Temperature response of Vcmax
Q10double1.92 Temperature response of respiration
indoorsTemperaturedouble- indoors[temperature]
indoorsRhdouble- indoors[rh]
indoorsCo2double- indoors[co2]
timeStepdouble- calendar[timeStepSecs]
Outputs   
swAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
UtopAdjdouble0.0 Parameter adjusted for chalk and state
UbottomAdjdouble0.0 Parameter adjusted for chalk and state
heatCapacityAdjdouble0.0 Parameter adjusted for chalk and state
temperaturedouble0.0 oCLeaf temperature
transpirationdouble0.0 kg/m2 ground/sTranspiration rate
incidentPardouble0.0 mymol PAR/m2 ground/sPAR hitting the canopy
Pndouble0.0
Pgdouble0.0
Rddouble0.0
growthRatedouble0.0 g carbohydrate/m2 groundCarbohydrate biomass produced in this time step
leafAmdouble0.0
leafAcdouble0.0
leafAjdouble0.0
leafRddouble0.0
leafGrowthRatedouble0.0 g carbohydrate/m2 leafCarbohydrate biomass produced in this time step
luedouble0.0 g carbohydrate/micromole PAR absorbedLight use efficiency

xxx

xxx

#plugins/vg/screen.html

Screen

Interface

InputsTypeDefaultPurpose / Expression
swAbsorptivityTopdouble0.0Short-wave absorptivity at the top [0;1]
swReflectivityTopdouble0.0Short-wave reflectivity at the top [0;1]
swTransmissivityTopdouble1.0Short-wave transmissivity at the top [0;1]
swAbsorptivityBottomdouble0.0Short-wave absorptivity at the bottom [0;1]
swReflectivityBottomdouble0.0Short-wave reflectivity at the bottom [0;1]
swTransmissivityBottomdouble1.0Short-wave transmissivity at the bottom [0;1]
lwAbsorptivityTopdouble0.0Long-wave absorptivity at the top [0;1]
lwReflectivityTopdouble0.0Long-wave reflectivity at the top [0;1]
lwTransmissivityTopdouble1.0Long-wave transmissivity at the top [0;1]
lwAbsorptivityBottomdouble0.0Long-wave absorptivity at the bottom [0;1]
lwReflectivityBottomdouble0.0Long-wave reflectivity at the bottom [0;1]
lwTransmissivityBottomdouble1.0Long-wave transmissivity at the bottom [0;1]
Utopdouble0.0 W/K/m2 layerHeat transfer coefficient at the top
Ubottomdouble0.0 W/K/m2 layerHeat transfer coefficient at the bottom
heatCapacitydouble0.0 J/K/m2 layerArea-specific heat capacity
coverPerGroundAreadouble- geometry[coverPerGroundArea]
statedouble0.0Proportion drawn (0=fully withdrawn; 1=fully drawn [0;1]
Uinsulationdouble1e+16 W/K/m2 layerInsulation effect on cover
UinsulationEffectivitydouble1.0Effectivity of Uinsulation [0;1]
Outputs   
swAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
UtopAdjdouble0.0 Parameter adjusted for chalk and state
UbottomAdjdouble0.0 Parameter adjusted for chalk and state
heatCapacityAdjdouble0.0 Parameter adjusted for chalk and state
UinsulationAdjdouble0.0 W/K/m2 layerInsulation effect on cover adjusted for state and perfection

xxx

xxx

#plugins/vg/sensor.html

Sensor

Interface

InputsTypeDefaultPurpose / Expression
indoorsTemperatureIndouble-999.0
indoorsRhIndouble-999.0
indoorsCo2Indouble-999.0
indoorsWindspeedIndouble-999.0
outdoorsTemperatureIndouble-999.0
outdoorsRhIndouble-999.0
outdoorsCo2Indouble-999.0
outdoorsGlobalRadiationIndouble-999.0
outdoorsWindSpeedIndouble-999.0
soilTemperatureIndouble-999.0
sinbdouble- sun[sinb]
Outputs   
indoorsTemperaturedouble0.0
indoorsRhdouble0.0
indoorsAhdouble0.0
indoorsCo2double0.0
indoorsWindspeeddouble0.0
outdoorsTemperaturedouble0.0
outdoorsRhdouble0.0
outdoorsCo2double0.0
outdoorsGlobalRadiationdouble0.0
outdoorsWindSpeeddouble0.0
soilTemperaturedouble0.0

xxx

xxx

#plugins/vg/shading.html

Shading

Interface

InputsTypeDefaultPurpose / Expression
swReflectivitiesvec_double- ./*[swReflectivity]
lwReflectivitiesvec_double- ./*[lwReflectivity]
statesvec_double- ./*[state]
Outputs   
swReflectivitydouble0.0Short-wave reflectivity added to cover [0;1]
lwReflectivitydouble0.0Long-wave reflectivity added to cover [0;1]

xxx

xxx

#plugins/vg/shadingagent.html

ShadingAgent

Interface

InputsTypeDefaultPurpose / Expression
swReflectivitydouble0.0Short-wave reflectivity potentially added to cover [0;1]
lwReflectivitydouble0.0Long-wave reflectivity potentially added to cover [0;1]
statedouble0.0State of shading agent [0;1]
Outputs   
None

xxx

xxx

#plugins/vg/shelter.html

Shelter

Interface

InputsTypeDefaultPurpose / Expression
None
Outputs   
None

xxx

xxx

#plugins/vg/shelterlayers.html

ShelterLayers

Interface

InputsTypeDefaultPurpose / Expression
None
Outputs   
None

xxx

xxx

#plugins/vg/sky.html

Sky

Interface

InputsTypeDefaultPurpose / Expression
coverPerGroundAreadouble- geometry[coverPerGroundArea]
interceptdouble0.732Emissivity intercept on dew point temperature [0;1]
slopedouble0.00635 /KEmissivity slope on dew point temperature
airTemperaturedouble- oCoutdoors[temperature]
rhdouble-outdoors[rh]
Tskydouble- oCif exists(outdoors[Tsky]) then outdoors[Tsky] else - 273.0 (Sky temperature taken from records otherwise computed)
Outputs   
swAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
swTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityTopAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwAbsorptivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwReflectivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
lwTransmissivityBottomAdjdouble0.0Parameter adjusted for chalk and state [0;1]
UtopAdjdouble0.0 Parameter adjusted for chalk and state
UbottomAdjdouble0.0 Parameter adjusted for chalk and state
heatCapacityAdjdouble0.0 Parameter adjusted for chalk and state
temperaturedouble0.0 oCSky temperature

xxx

xxx

#plugins/vg/soiltemperature.html

SoilTemperature

Interface

InputsTypeDefaultPurpose / Expression
initialdouble5.0 oCInitial soil temperature
mindouble2.0 oCMinimum soil temperature
maxdouble40.0 oCMaximum soil temperature
outdoorsTemperaturedouble- outdoors[temperature]
atMidnightbool- calendar[atMidnight]
Outputs   
valuedouble0.0 oCSoil temperature

xxx

xxx

#plugins/vg/summary.html

Summary

Interface

InputsTypeDefaultPurpose / Expression
heatPipesHeatFluxdouble- W/m2actuators/heatPipes[heatFlux]
lampsPowerUsagedouble- W/m2actuators/growthLights[powerUsage]
co2Injectiondouble- g/m2/hactuators/co2[value]
transpirationFinitedouble- budget[transpiration]
condensationFinitedouble- budget[condensation]
ventedWaterFinitedouble- budget[ventedWater]
screenState1double- actuators/screens/layer1[state]
screenState2double- actuators/screens/layer2[state]
screenState3double- actuators/screens/layer3[state]
isSkippingbool- output/*[isSkipping]
lightState1double- actuators/growthLights/bank1[isOn]
lightState2double- actuators/growthLights/bank2[isOn]
lightState3double- actuators/growthLights/bank3[isOn]
Outputs   
heatingCostdouble0.0 MWh/m2/y
lampCostdouble0.0 MWh/m2/y
co2Costdouble0.0 kg CO2/m2/y
transpirationdouble0.0 kg/m2/y
condensationdouble0.0 kg/m2/y
ventedWaterdouble0.0 kg/m2/y
screen1double0.0Proportion of time screen layer 1 was drawn [0;1]
screen2double0.0Proportion of time screen layer 2 was drawn [0;1]
screen3double0.0Proportion of time screen layer 3 was drawn [0;1]
light1double0.0Proportion of time growth lights bank 1 was on [0;1]
light2double0.0Proportion of time growth lights bank 2 was on [0;1]
light3double0.0Proportion of time growth lights bank 3 was on [0;1]

xxx

xxx

#plugins/vg/uwind.html

UWind

Interface

InputsTypeDefaultPurpose / Expression
windSpeeddouble- m/soutdoors[windSpeed]
UwindMinimumdouble2.8 W/m2/KHeat transfer coefficient at no wind
UwindSlopedouble1.2 W/m2/K/(m/s)Heat transfer coefficient linear increase with wind speed
UwindExponentdouble0.8 Reduces effect of high windspeed
Outputs   
valuedouble0.0 W/K/m2 layerU-value
#right.html

Try it!

Download the latest version with the newly published Cereal Aphid-Fungus model. Also includes the Virtual Greenhouse model.

5 Oct 2023

Model just published

Read our paper on the Cereal Aphid-Fungus model and study the detailed documentation. Any questions? Write us.

2 Aug 2023

Home page overhaul

We remain candy-coloured until further notice.

1 Aug 2023

Contact

Any questions concerning our models and tools? Interested in visiting the lab? Want to chat online? Write us.

#footer.html