YogiPWD

Tentative Project schedule Generator

MoRTH Resource & Machinery Planner

🚧 Road Project Resource & Machinery Planner

Activity Description Quantity Unit Start Date End Date Days Machinery Output/Day

Timeline Visualization

Road Project Resource & Machinery Planner – Civil Engineering Perspective

This code is an advanced Road Construction Planning and Scheduling System developed for civil engineering projects.

It automates:

  • Project Scheduling
  • Road Construction Planning
  • Machinery Requirement Analysis
  • Resource Allocation
  • Timeline Visualization
  • Gantt Chart Generation
  • Project Monitoring
  • PDF Reporting

1. Purpose of the Software

This software behaves like a digital:

  • Construction Planning Cell
  • Project Monitoring Unit (PMU)
  • Road Execution Scheduler
  • Machinery Deployment Planner
Engineering Activity Code Function
Project Scheduling generateSchedule()
Machinery Planning updateResources()
Duration Analysis updateDuration()
Timeline Visualization drawGantt()
PDF Report Generation downloadPDF()
Project Saving saveProject()

2. Main User Interface

<div id="civil-scheduler">

This is the complete project planning dashboard.

The interface allows engineers to:

  • Create projects
  • Generate schedules
  • Manage timelines
  • Calculate machinery requirements
  • Export reports

3. Project Information Inputs

<input id="projectName">
<input id="woDate">
<input id="projLength">
<input id="totalDuration">

Engineering Meaning

Input Engineering Purpose
Project Name Identification of road work
Work Order Date Project commencement reference
Project Length Total road length in km
Duration Total contractual period
Equivalent to:
  • Work Program Register
  • Contract Agreement Data
  • Construction Time Schedule

4. IndexedDB Project Storage

const request = indexedDB.open("MoRTHPlannerDB", 1);

Creates a local browser database for storing projects.

Engineering Interpretation

Acts like:

  • Digital DPR Archive
  • Construction Schedule Register
  • Project Monitoring Database

5. Saving Projects

function saveProject()

Stores:

  • Project Details
  • Schedule Table
  • Gantt Chart
  • Timeline Data
  • Resource Calculations
Equivalent to saving:
  • CPM Charts
  • Bar Charts
  • Construction Programs
  • Project Planning Reports

6. Project Loading & Deletion

loadProject()
deleteProject()

Allows:

  • Opening saved construction schedules
  • Revising project plans
  • Removing old schedules

7. Schedule Generation Engine

function generateSchedule()

This is the core planning engine of the software.

Engineering Purpose

Automatically generates:

  • Construction Activities
  • Start Dates
  • End Dates
  • Machinery Deployment
  • Execution Sequence

8. Activity Template

const activityTemplate = [
["Earthwork (Embankment/Subgrade)", 0.12, 0.50, "cum", 300]
]

Engineering Interpretation

Each activity contains:

Parameter Meaning
Activity Name Construction Operation
Start Fraction Project Start Position
End Fraction Project Completion Position
Unit Measurement Unit
Output Rate Daily Machinery Productivity

9. Pre-Construction Activities

The software includes planning activities such as:

  • DPR Preparation
  • Forest Clearance
  • Utility Shifting
  • Land Acquisition
  • Tender Process
  • Agreement Execution
This makes the software highly realistic for:
  • MoRTH Projects
  • PWD Road Works
  • EPC Contracts
  • BOT Highway Projects

10. Construction Activities

The software includes actual field construction operations:

Activity Engineering Work
Earthwork Formation & Embankment
GSB Granular Sub Base
WMM Wet Mix Macadam
DBM Dense Bituminous Macadam
PQC Pavement Quality Concrete
BC/SDBC Bituminous Wearing Course

11. Automatic Quantity Estimation

const getQty = (name) => {
    if(name.includes("Embankment"))
        return km * 4500;
}

The software estimates quantities automatically using road length.

Engineering Meaning

Example:

Earthwork Quantity = Road Length × Standard Earthwork Factor

For a 10 km road:

Earthwork = 10 × 4500 = 45,000 cum

12. Unit Determination Logic

getUnit()

Automatically assigns engineering units:

  • cum → Earthwork
  • sqm → Pavement Layers
  • m → Drainage
  • nos → Structures
  • Ha → Forest Clearance

13. Dynamic Date Generation

addDays()
formatDate()

Automatically calculates:

  • Activity Start Date
  • Activity End Date
  • Total Duration

Engineering Significance

Equivalent to:

  • CPM Scheduling
  • PERT Planning
  • Bar Chart Planning

14. Monsoon Adjustment Logic

if (task[0].includes("Bituminous"))

This is one of the most important engineering features.

The software detects:

  • Bituminous activities during monsoon

and automatically postpones them.

Engineering Reason:
  • Bituminous works should not be executed during heavy rainfall
  • Moisture affects compaction
  • Rain damages hot mix quality
  • Temperature control becomes difficult

This reflects actual site engineering practice.


15. Machinery Requirement Calculation

machinesNeeded = qty / (dur × stdRate)
Machinery Sets Required = Quantity ÷ (Available Days × Daily Production)

Example

Parameter Value
Earthwork Quantity 45,000 cum
Duration 50 Days
Excavator Output 300 cum/day
Machines Needed = 45000 ÷ (50 × 300) = 3 Sets

16. Resource Warning System

badge.style.background =
(machinesNeeded > 15)

If machinery requirement becomes excessive:

  • System shows warning color
  • Indicates unrealistic planning
  • Suggests schedule revision

17. Duration Update Logic

updateDuration()

If engineer changes dates:

  • Duration recalculates automatically
  • Machinery requirements update instantly
  • Gantt chart refreshes automatically

18. Gantt Chart Generation

drawGantt()
drawEditableGantt()

This generates a visual construction timeline.

Engineering Meaning

Equivalent to:

  • MS Project Charts
  • Primavera Schedules
  • Construction Bar Charts
  • Highway Execution Programs

19. Timeline Header

month:'short',
year:'2-digit'

The software automatically creates:

  • Monthly Progress Timeline
  • Year-wise Schedule Markers

Example:

Timeline
Jan-26
Feb-26
Mar-26

20. Gantt Bars

bar.style.left
bar.style.width

These determine:

  • Activity start position
  • Activity duration
  • Execution overlap

Engineering Interpretation

Allows engineers to visualize:

  • Critical activities
  • Parallel operations
  • Project sequencing
  • Resource conflicts

21. Editable Scheduling

When engineers manually edit dates:

  • Schedule updates dynamically
  • Resources recalculate
  • Timeline regenerates
Equivalent to live project planning in:
  • Primavera P6
  • MS Project
  • TILOS

22. PDF Report Generation

downloadPDF()

Generates:

  • A3 Project Schedule
  • Printable Gantt Charts
  • Construction Planning Reports

Engineering Importance

Useful for:

  • Review Meetings
  • Progress Monitoring
  • Client Submission
  • Authority Approvals
  • Site Execution Planning

23. Automatic File Naming

Road_Project_2026-05-14.pdf

The system automatically:

  • Adds Project Name
  • Adds Date
  • Creates organized documentation

24. Engineering Strengths of This Software

  • Realistic Construction Sequencing
  • Automatic Machinery Planning
  • Monsoon-sensitive Scheduling
  • Dynamic Resource Allocation
  • Editable Gantt Charts
  • Automatic Quantity Estimation
  • Project Database Storage
  • A3 PDF Reporting

25. Practical Applications

  • MoRTH Highway Projects
  • PWD Road Works
  • Rural Roads
  • Expressways
  • Bridge Approach Roads
  • Urban Roads
  • Industrial Corridor Projects
  • EPC Contracts

26. Equivalent Commercial Software

This code partially replicates features of:

  • Primavera P6
  • MS Project
  • TILOS
  • Asta Powerproject
  • Candy Construction Planning

27. Final Engineering Interpretation

This software is a browser-based road construction planning and machinery deployment system integrating:
  • Construction Scheduling
  • Road Activity Sequencing
  • Resource Planning
  • Machinery Analysis
  • Timeline Visualization
  • Gantt Chart Monitoring
  • Project Archiving
  • PDF Reporting

In practical civil engineering terms, this software automates the complete workflow from project initiation to construction scheduling, machinery deployment, and progress visualization for road infrastructure projects.

Post a Comment

0 Comments