Physical Quantity Dependent Tasks and Durations


Table of Contents

Physical Quantity and Physical quantity units are two useful task properties to show construction quantities for tasks. Physical quantity and physical quantity units can be entered manually or created by script. For Physical Quantity Dependent Tasks, we can compute the task durations based on:

Set up Physical Quantity and Physical Quantity Unit

  1. Create a TXT file > Save your script in it;

    Script can be saved as a TXT file and then opened to be run later.

    TASK (SELECTED) SET_PROPERTY (PHYSICALVOL_SH, "Cubic metre", SUM 3D.UFV("Volume"))

    This script assigns the UFV “Total Volume” to physical quantities with the unit “Cubic metre” for selected tasks. Here are some explanations:

    The basic format of one line of script is <Object> (Condition) <Command>.
    In this script:
    1. Object (condition): 
      TASK(SELECTED) - all selected tasks in the project;

    2. Command:
      SET_PROPERTY( PHYSICALVOL_SH, UNIT_STRING, VALUE ) - Sets Planned Physical Quantity for all selected tasks to the count all of the resources assigned to the task. Set Physical Quantity Unit for those tasks to "unit_string".

  1. Select All Tasks > “Project Control” Ribbon > Synchro Script > Script > Right-Click > Add External Script to open the script file;


    Our usual practice is to select a saved script. You can edit it in the script window and click “Save” to save your changes.
  1. Preview to Check > Run;
       

    When we go back to the Gantt Chart we can see all the Physical Quantities and Physical Quantity Unit have been populated.

Rules

  1. Windows > Rules > Description, Input Rate and Unit/Hour in Rule Panel;


  2. Select all tasks except piles tasks > Select Concrete rules from the drop-down of rules in the Task Rule column;


  3. Select all piles tasks > Select pile rule from the drop-down of rules in the Task Rule column;

Now you have applied right rules to related tasks. It is possible to assign any rules (root/parent and leaf/child). You can also confirm which rule is assigned to the selected task, in Task Properties > Resources by expanding the Rules node.

Set Duration Types

  1. Select all Tasks > Select “Physical Quantity Dependent” from the drop-down of duration types in the Durations column;

    When the Duration Type is set to Physical Quantity Dependent, the task duration is calculated based on Physical Quantity (eg. square feet of wall to paint, cubic meters of concrete to pour) and assigned Production Rate Rule.


  1. To adjust the duration: Change Duration Type back to Fixed> Input Integer Days manually;
    Note:Here if you forget to change the duration type back to Fixed, the quantities will change when you customize duration.

  2. Reschedule all the tasks: Select all Tasks > Plan > Reschedule Selected.

 Physical Quantity DependentTasks and Durations (Video)