VLECK:Sandbox

From VLECK
Jump to: navigation, search

This sandbox is for experimenting.

Welcome to the VLECK Sandbox! This page allows you to carry out experiments.


DOI

Author, 1999

HVLECK:Sandbox/2O

Carabid Model

IN: Contamination
IN: Availability




Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("<p>There was a problem during the HTTP request: 400 Bad Request </p>") from server "http://mathoid.testme.wmflabs.org":): n = availability \\ agegap = \dfrac{maxage}{n}



Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("<p>There was a problem during the HTTP request: 400 Bad Request </p>") from server "http://mathoid.testme.wmflabs.org":): \\ contamination = \frac {\sum(carabidContamination)}{n} \cdot \frac{1}{wetdryconversion} \\ \\ \\ stdev = \sqrt{\mbox{var} (carabidContamination, n)}


Merk op dat de variantie uitsluitend afhangt van de density n (=availability).

UIT: conatmination
UIT: stdev

insets

EL CAPTIONE

To produce protein, in addition to C, O, and H, also Nitrogen is necessary, and therefore a nitrogen source in addition to glucose as carbon source. Proteins come in thousands of kinds, but for the CSR-model a protein is a icosapeptide consisting of 20 amino acids (C107H157N29O29).



example

To produce protein, in addition to C, O, and H, also Nitrogen is necessary, and therefore a nitrogen source in addition to glucose as carbon source. Proteins come in thousands of kinds, but for the CSR-model a protein is a icosapeptide consisting of 20 amino acids (C107H157N29O29).

The energetic cost of construction proteins vary depending on the nitrogen source and location in the plant. CSR can construct proteins from amino acids, ammonium and nitrate. For the latter two, amino acids are tacidly constructed as intermediate products within the process.

In the previous calculation step, the stoichiometry of the construction was determined, which was subsequently scaled to fit the available amount of carbon from glucose. For one kmol of glucose this would be (N-source = NO3 in the leaf):

"in:"
º glucose  = 1000.0
º nitrate  = 1140.5
"out:"
º protein  =   39.3
º oxygen   = 2684.2
º water    = 2912.7 



source code

python
@virtual
  def simulationComplete(self):
    """
    called when simulation has finished, to close files etc.  
    members are called before self.
    """
    pass



xml
<type name="PlantOrgan" implementation="PlantComponent">
  <parameter name="cAllocNPP">0.5</parameter>
  <detail name="composition">lignin=0.25; cellulose=0.40; hemicellulose=0.30; nonstructural=0.05; protein=0.075</detail>
  <state name="carbon"   units="mol">1.0</state>
  <state name="ammonium" units="mol">1.0</state>
  <state name="nitrate"  units="mol">1.0</state>
</type>



table test

no. issue priority action by who when
123 A longer piece of text. Lorem ipsum dolor sit amet, consectetur adipisicing elit, high A longer piece of text. Lorem ipsum dolor sit amet, consectetur adipisicing elit, WikiSysop 11:10, 8 February 2012 (CET)


124 A longer piece of text. Lorem ipsum dolor sit amet, consectetur adipisicing elit, high - A longer piece of text. Lorem ipsum dolor sit amet, consectetur adipisicing elit, who? open



125 A longer piece of text. Lorem ipsum dolor sit amet, consectetur adipisicing elit, high - A longer piece of text. Lorem ipsum dolor sit amet, consectetur adipisicing elit, WikiSysop open




126 A longer piece of text. Lorem ipsum dolor sit amet, consectetur adipisicing elit, high - A longer piece of text. Lorem ipsum dolor sit amet, consectetur adipisicing elit, who? open


soil proxy

 
from Generic.utils import printDictionary
from soil.unlimitedSoil import UnlimitedSoil
 
class SoilProxy(object):
  """
  SoilProxy is intended as an interface (http://en.wikipedia.org/wiki/Protocol_(object-oriented_programming))
  between the soil submodel and the aboveground models. Goal is to prevent proliferation of soil internals
  into other parts of the model, so the soil can continue to be developed independently.
  No program logic other than data adaptoring ought to be implemented here.
 
  @author: Wim de Winter, 11 oktober 2011
  """
 
 
 
 
  def __init__(self, aSoil):
    self.proxySetSoil(aSoil)
 
 
 
  def proxyGetIntegratedObject(self):  
    # the hidden implementation must still be accessible to allow integration, or
    # alternatively, the whole integration interface must be copied here
    return self._soil
 
 
 
  def proxySetSoil(self, aSoil):
    if aSoil:
      self._checkImplementation(aSoil)
    self._soil = aSoil
 
 
 
  @classmethod
  def _checkImplementation(cls, aSoil):
    """
    the implementation must implement at least all methods of this proxy,
    unless the methods is private ('_xxxx()') or it is marked as a proxy-method
    ('proxyXxxxxx()')
    @param aSoil: implementing object
    """
    missing = []
    for method in cls.__dict__:
      if not (method.startswith('_') or method.startswith('proxy')):
        if not hasattr(aSoil, method):
          missing.append(method)
    if not (len(missing) == 0):
      raise Exception('%s is an incomplete Soil-implementation for it doesn`t have the method%s %s' % \
                    (aSoil.__class__.__name__, ':' if len(missing) == 1 else 's:', missing))
 
 
 
  # ----- delegated methods: ---------------------------------------------
 
  def setInitialValues(self, layers, componentStates, value):
    self._soil.setInitialValues(layers, componentStates, value)
 
 
 
  def getLayers(self):
    """    
    @return: a list[] of dictionaries per layer, containing:
    - index (of the layer)
    - top, bottom, depth and volume of the layer 
    """
    return self._soil.getLayers()   
 
 
 
  def getWaterPerLayer(self):
    return self._soil.getWaterPerLayer()
 
 
 
  def transferWater(self, layerIndex, amount, receivingStates):
    self._soil.transferWater(layerIndex, amount, receivingStates)



shortcutbox

FORGEM


references template

According to scientists, the Sun is pretty big.[1]

[2] [3] [4] [5] [6] [7]

The Moon, however, is not so big.[8]


This is an example of multiple references to the same footnote.[9]

Such references are particularly useful when citing sources, if different statements come from the same source.[9]


Notes

  1. E. Miller, 2005. The Sun. New York: Academic Press; 23-5.
  2. E. Miller, 2005. The Sun. New York: Academic Press; 23-5.
  3. anonymous, 2005. The Sun. New York: Academic Press; 23-5.
  4. E. Miller. The Sun. New York: Academic Press; 23-5.
  5. E. Miller. The Sun.
  6. E. Miller. New York: Academic Press; 23-5.
  7. E. Miller, 1234.
  8. R. Smith, 1978. Size of the Moon. Scientific American, 46: 44-6.
  9. 9.0 9.1 Remember that when you refer to the same footnote multiple times, the text from the first reference is used.

.

include article

A neat trick to include a completely differnt page into the current one:

{{:Growth - biomass}}

yields (note: shading from template:inset):



with:

W weight (kg tree-1)
y foliage, branches, heartwood, sapwood, coarse roots, fine roots, reserves
f fraction of net primary production allocated to plant component y
NPP net primary production (kg tree-1 d-1)
T turnover of plant component y (d-1)


your addition


out-dated
This page no longer contains the most actual facts and needs to be updated.
It was marked as out-dated on 02-05-2016.

Sandra's attempts

initialisation of the climate|climateLink title

spelen met tabellen

Soil characteristics required are those to determine water availability according to pedotransfer functions (Wosten et al. 1999, Wosten et al. 2001), including texture, soil organic matter and bulk density. Although the soil maps of the explanatory variables are available at Alterra, these are not yet in the NetCDF format which is the format of ForGEM input.


Wosten et al., 1999. Development and use of a database of hydraulic properties of European soils.



Wosten, J.H.M., Pachepsky, Y.A. and Rawls, W.J., 2001. Pedotransfer fuctions: bridging the gap between available basic soil data and missing soil hydraulic characteristics.


en waarom geeft ie het tijdschrift niet weer??????? Nou, omdat er scr staat ipv. src

Spelen met plaatjes

Distribution of Forest Management Approaches over Europe (Hengeveld et al., 2012)

komt uit Hengeveld et al. (2012) en wordt gebruikt bij de initialisatie. Het plaatje wordt aan de rechterkant van de pagina onder het kopje "management" en dat gebeurd met de bovenstaande code:


Dit wekrt heel aardig!

en dan ook maar meteen de volgende:

Error creating thumbnail: File missing
onderschrift