Changeset 2703


Ignore:
Timestamp:
01/31/12 05:20:23 (4 months ago)
Author:
jouni
Message:

fix: update stand variable values after forced seeding

Location:
simo/trunk/simulator/xml
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • simo/trunk/simulator/xml/model_chains/stand_simulator/forced_operation/Chain_forced_operations_stand.xml

    r2615 r2703  
    40124012                        </task> 
    40134013                </model_chain> 
    4014                 <model_chain evaluate_at="comp_unit" name="Update attributes to comp_unit after planting"> 
    4015                         <condition>comp_unit:planting since_eq 0</condition> 
     4014                <model_chain evaluate_at="comp_unit" name="Update attributes to comp_unit after planting or seeding"> 
     4015                        <condition>comp_unit:planting since_eq 0 or comp_unit:seeding since_eq 0</condition> 
    40164016                        <task name="Update variables"> 
    40174017                                <task name="Update H_gM to seedling"> 
     
    40434043                                                                        <variable>time_step</variable> 
    40444044                                                                        <level>comp_unit</level> 
     4045                                                                </operand> 
     4046                                                        </operands> 
     4047                                                </aggregation> 
     4048                                        </model> 
     4049                                </task> 
     4050                                <task name="Assign SEEDTREESTAND_NO_SEEDLINGS to 0 as default value"> 
     4051                                        <model> 
     4052                                                <name>assign_value</name> 
     4053                                                <aggregation> 
     4054                                                        <target>SEEDTREESTAND_NO_SEEDLINGS</target> 
     4055                                                        <operands> 
     4056                                                                <operand> 
     4057                                                                        <value>0</value> 
    40454058                                                                </operand> 
    40464059                                                        </operands> 
  • simo/trunk/simulator/xml/model_chains/tree_simulator/forced_operation/Chain_forced_operations.xml

    r2639 r2703  
    45834583                        </task> 
    45844584                </model_chain> 
    4585                 <model_chain evaluate_at="comp_unit" name="Update attributes to comp_unit after planting"> 
    4586                         <condition>comp_unit:planting since_eq 0</condition> 
     4585                <model_chain evaluate_at="comp_unit" name="Update attributes to comp_unit after planting or seeding"> 
     4586                        <condition>comp_unit:planting since_eq 0 or comp_unit:seeding since_eq 0</condition> 
    45874587                        <task name="Update variables"> 
    45884588                                <task name="Update H_gM to seedling"> 
     
    46144614                                                                        <variable>time_step</variable> 
    46154615                                                                        <level>comp_unit</level> 
     4616                                                                </operand> 
     4617                                                        </operands> 
     4618                                                </aggregation> 
     4619                                        </model> 
     4620                                </task> 
     4621                                <task name="Assign SEEDTREESTAND_NO_SEEDLINGS to 0 as default value"> 
     4622                                        <model> 
     4623                                                <name>assign_value</name> 
     4624                                                <aggregation> 
     4625                                                        <target>SEEDTREESTAND_NO_SEEDLINGS</target> 
     4626                                                        <operands> 
     4627                                                                <operand> 
     4628                                                                        <value>0</value> 
    46164629                                                                </operand> 
    46174630                                                        </operands> 
  • simo/trunk/simulator/xml/operation_models/operation_mapping.xml

    r2615 r2703  
    142142                        <model_chain>Forced planting</model_chain> 
    143143                        <model_chain>Calculate attributes to stratum after planting or seeding</model_chain> 
    144                         <model_chain>Update attributes to comp_unit after planting</model_chain> 
     144                        <model_chain>Update attributes to comp_unit after planting or seeding</model_chain> 
    145145                </to> 
    146146        </operation> 
     
    152152                        <model_chain>Forced seeding</model_chain> 
    153153                        <model_chain>Calculate attributes to stratum after planting or seeding</model_chain> 
     154                        <model_chain>Update attributes to comp_unit after planting or seeding</model_chain> 
    154155                </to> 
    155156        </operation> 
  • simo/trunk/simulator/xml/operation_models/operation_mapping_stand.xml

    r2615 r2703  
    128128                        <model_chain>Forced planting</model_chain> 
    129129                        <model_chain>Calculate attributes to stratum after planting or seeding</model_chain> 
    130                         <model_chain>Update attributes to comp_unit after planting</model_chain> 
     130                        <model_chain>Update attributes to comp_unit after planting or seeding</model_chain> 
    131131                </to> 
    132132        </operation> 
     
    138138                        <model_chain>Forced seeding</model_chain> 
    139139                        <model_chain>Calculate attributes to stratum after planting or seeding</model_chain> 
     140                        <model_chain>Update attributes to comp_unit after planting or seeding</model_chain> 
    140141                </to> 
    141142        </operation> 
Note: See TracChangeset for help on using the changeset viewer.