Let's denote the time of the bus ride as \( t \) (in minutes). According to the situation described:
- The total travel time includes the time on the bus and the time Tran walked. The walking time is given as 30 minutes.
- The total travel time is stated to be 4 times as long as the bus ride.
Therefore, we can express the total travel time as the sum of the bus ride time and the walking time:
\[ \text{Total travel time} = t + 30 \]
According to the problem, the total travel time is also equal to 4 times the bus ride time:
\[ \text{Total travel time} = 4t \]
Now we can set up the equation:
\[ t + 30 = 4t \]
This equation models the situation described in the problem.