• Frame Config

    The Frame Configuration (FrameConfig) is a short snippet of Xml that contains specific instructions to the model for that run.  These instructions (Number of days to simulate, hour of the day to report results, number of initial groups of each life-stage, optional, universal--for that frame--temperature offset...) are external from the other, data-value, properties of a Frame (Date, Latitude, Longitude, Currently Infested Tree Count, Previously Infested Tree Count...)   The snippet of Xml, adhering to the above schema, is included, as a whole, as just one value in each row of the Frame table of the SharpHog SPBModel schema--see the escaped special characters in the SPBModel Input sample.

    Continued. . .
    Tuesday, July 14, 2009
  • States Coordinate Data

    The HogModel calculates a temperature for every simulated hour, basing the value on the latitude and the hour of day and the day of year.  Interfaces to the model have tradiitonally hidden the actual coordinates while exposing a selection of Southeastern States for users.  Information for State Name, State Abbreviation, Average Latitude, & Average Longitude was collected for two sets, the original HogModel Thirteen and a set including All 50 States.  Both sets of xml data adhere to the StatesData schema shown here.   I didn't write the StatesData schema, I drew it using the Visual Studio DataSet Designer. But, drawing out the dataset made writing the StateInfo class much easier.    

    Continued. . .
    Tuesday, July 14, 2009
  • Temperature Data

    A Table of temperatures and ordinal days is calculated for use internally by the SharpHog model.  Creating the TemperatureData DataSet in the Visual Designer made writing the temperature calculation methods much cleaner.      

    Continued. . .
    Tuesday, July 14, 2009
  • Value Request

    The "Value Request" schema describes the Xml that is used internally by SharpHog to find a value for an equation from those defined in the Equations Xslt. Value Request Schema  

    Continued. . .
    Tuesday, July 14, 2009
Check XHTML « spb.xanderlih.com Copyright © Xander Lih 2000-2012  » Check CSS