awsmodel
Class AlbrechtWindStormModel

java.lang.Object
  extended by awsmodel.AWSModelCore
      extended by awsmodel.AlbrechtWindStormModel
All Implemented Interfaces:
java.awt.event.ItemListener, java.util.EventListener

public class AlbrechtWindStormModel
extends AWSModelCore
implements java.awt.event.ItemListener

This class implements the equations of the different submodels that are part of Albrecht et al.'s wind storm model. This model predict an average probability of wind-induced damage without knowledge or assumption of wind storm occurrence. The wind storm occurrence is implicitly derived from the observed occurrence in the Baden-Wuerttemberg over the 1950-2005 period. IMPORTANT : This model applies to 0.25-ha plot, with regular structure and homogeneous composition.

Author:
M. Fortin and A. Albrecht - August 2010
See Also:
Albrecht, A., M. Hanewinkel, J. Bauhus, and U. Kohnle. 2010. How does silviculture affect storm damage in forests of south-western Germany? Results from empirical modeling based in long-term observations. European Journal of Forest Research.

Constructor Summary
AlbrechtWindStormModel()
          General constructor.
 
Method Summary
 java.util.Collection<AWSTree> getDamagedTreesOfThisStand(AWSStand stand, AWSTreatment treatment)
          This method returns a collection of damaged trees.
 AlbrechtWindStormModelUI getGuiInterface()
          This method returns the GUI interface.
 double[] getPredictionForThisStand(AWSStand stand, AWSTreatment treatment)
          This method generates three predictions : 1- the probability of stand damage, 2- the probability of total damage (>75% of basal area damaged) conditional on the occurrence of stand damaged, and 3- the proportion of stand damage (<75% of basal area damaged) given that the stand is not totally damaged.
 boolean isStochasticModeEnabled()
           
 void itemStateChanged(java.awt.event.ItemEvent evt)
           
static void main(java.lang.String[] args)
           
 void setStochasticModeEnabled(boolean enabled)
          This method makes it possible to enable the stochastic mode.
 void showInterface()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlbrechtWindStormModel

public AlbrechtWindStormModel()
General constructor.

Method Detail

setStochasticModeEnabled

public void setStochasticModeEnabled(boolean enabled)
This method makes it possible to enable the stochastic mode. BY DEFAULT, THE STOCHASTIC MODE IS DISABLED.

Parameters:
enabled -

isStochasticModeEnabled

public boolean isStochasticModeEnabled()

getPredictionForThisStand

public double[] getPredictionForThisStand(AWSStand stand,
                                          AWSTreatment treatment)
                                   throws java.lang.Exception
This method generates three predictions : 1- the probability of stand damage, 2- the probability of total damage (>75% of basal area damaged) conditional on the occurrence of stand damaged, and 3- the proportion of stand damage (<75% of basal area damaged) given that the stand is not totally damaged.

Parameters:
stand - a AWSStand object
treatment - a AWSTreatment object
Returns:
an array of three doubles corresponding to the above mentioned probabilities
Throws:
java.lang.Exception

getDamagedTreesOfThisStand

public java.util.Collection<AWSTree> getDamagedTreesOfThisStand(AWSStand stand,
                                                                AWSTreatment treatment)
                                                         throws java.lang.Exception
This method returns a collection of damaged trees. The probability of damage is also recorded in the tree through the registerProbability method.

Parameters:
stand - a AWSStand instance
treatment - a AWSTreatment instance
Returns:
the list of damaged trees
Throws:
java.lang.Exception

getGuiInterface

public AlbrechtWindStormModelUI getGuiInterface()
This method returns the GUI interface. If the interface has not been created so far, the method creates it and sends it to the Event Dispatch Thread. The dialog pops up.

Returns:
a AlbrechtWindStormMakerUI instance

showInterface

public void showInterface()

main

public static void main(java.lang.String[] args)

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent evt)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener