• No results found

Program for the Monte Carlo simulation of vehicle traffic along two-lane rural roads

N/A
N/A
Protected

Academic year: 2021

Share "Program for the Monte Carlo simulation of vehicle traffic along two-lane rural roads"

Copied!
16
0
0

Loading.... (view fulltext now)

Full text

(1)

Nr 52 ' 1980

52

Statens väg- och trafikinstitut (VTI) 581 01 linköping National Road & Traffic Research Institute - S-581 01 Linköping - Sweden

A Program for the Monte Carlo Simulation

of Vehicle Traffic along Two-lane Rural Roads

by Anders Brodin

Presented at SIMULA Workshop SIMULA and Industrial Systems

(2)
(3)

Nr 52 ' 1980

52

Statens väg- och trafikinstitut (VTI) - 581 O1 Linköping National Road &Traffic Research Institute S-581 01 Linköping - Sweden

A Program for the Monte Carlo Simulation

of Vehicle Traffic along Two-lane Rural Roads

by Anders Brodin

Presented at SIMULA Workshop "SIMULA and Industrial Systems

(4)
(5)

PREFACE

Reprint from the reports No. 44, 143 and 192.

Introduction to the original problem

Knowledge of traffic and its behaviour is essential for the authorities

responsible for the road network on different levels in order to allow

. planning of the road network in the short and long term

0 development of a road design policy

0 maintenance and operation of the road network in order to estimate the different components of the road user cost as well as for defining a level of service concept.

It is essential, however, that the traffic models thus established for use in the different decision situations are consistent and also that they are

validated for real traffic conditions.

In order to furnish relevant information about the traffic mechanisms in

the interurban road network, a comprehensive traffic behaviour model has

been built.

Simultaneously, field studies have been carried out applying an integrated data technique for traffic registration, data processing and evaluation in

(6)

2.1

2.2

2.3

The systems approach

The research approach can be seen as an input/output problem in which the

operator consists of the traffic process in accordance with figure l below.

The input parameters describe measures by authorities and the output constitutes measures of effectiveness of the level of service concept and the components of road user cost.

The input parameters are defined on strategic as well as operational levels.

On the strategic level the ultimate goal is to fit together the needs of transportation and the traffic demand with regard to the resources

available.

On the operational level the road design factors, the traffic regulations

introduced, the types and characteristics of the vehicles and the road-user characteristics interact and constitute the traffic process and its quality on the individual road stretches in the road network.

The operator the traffic process

The operator "traffic process" in the centre of figure l converts the input

parameters into the requested effects. The output measures of effectiveness

Factors taken into account in the road users' cost and which will be

included in the level of service concept are as follows

road users' level of

cost service Journey time x x Accident consequences/ result x x Traffic comfort x Fuel consumption x Vehicle deterioration x

(7)

T e x n b t g SS BD OH d OI d VH l BD NH IN HA NO D GN V lH O WO D NO Il V lI S lD IW dN OD HB AI HG NO Il IS Od NO D DI dV Hl BW DI HH A EN HW OA DI dV Hl

t

SH H SV BW HH SO dX H NS IH

N0

11

v1

n9

33

DI

dd

VH

l

(av

am

313

1H3

A)

BD NV lS IG lH SI S En d do NG Il dN SN OO lN HW ND IW V SA VW BG HW IL

SH NV W AH VI WI XH V Hl IM NO IL DH S SS OH D GN VW HG NO Il Vl , HO dS NV Hl NO Il Vl HO dS NV Hl dO GH HN

k

DI SH LV HLS WV NO IL VH Bd O

.l

ll

ll

'.

II

I

SH Il IH OH l V AH SH H SV HN HW Il AO NO Il dw nS NO O '9 '3 SN OI LI GN OD DN IL VH Hd O SH Ol OV d GV OH HW HV WI VA V 83 38 00 83 8

SS HN HA IL DH d H AO SB HH SV HW

(8)

3.1

1,0

0,5

Introduction into the model to be analysed

The traffic model is split up into two parts

0 The traffic stream generation model constituting the individual

driver-vehicle units (equipage) and putting them into the two directions of the road stretch.

| The traffic behaviour model describing the consecutive adaptions of the

speed of the equipage along the road with regard to the road parame-ters and the different types of interactions with equipages in the vicinity.

Free flow traffic

In the model, each vehicle is allotted a basic desired speed, i.e. the speed

on an ideal road, a wide, straight road with no speed limit. The following factors reduce the basic desired speed of a free-moving equipage

(1) Road width (2) Bends

(3) Speed limits

(#) Hills

The road to be simulated is described in the model as two series of

homogeneous blocks (one in each direction).

Within each block, the road is considered to be of constant quality in

respect of each of the factors (1) to (4) above.

With regard to road width, speed limit and bend the speed distribution (VO)

for this ideal situation is transformed to separate speed distributions (V3)

for each road block as shown in figure 2. lh

block speed V3 V0

basic desired speed

(9)

3.2

These speed distributions block speeds indicate the driver's "wish". Each vehicle has been allotted a power/weight ratio, or p-value, as well as

air and rolling resistance, which decide its "ability" to reach or maintain its

block speed on the particular slope. If the momentary speed is lower than the block speed the speed is ordinarily computed by Newton's force equation.

Interaction model

In addition to the basic desired speed and p-value each equipage is allotted

an entry time and a road coordinate for starting as well as a direction of

travel and an entry speed. Faster equipages may catch up with slower equipages which leads to overtaking or following. After following an

accelerated overtaking may take place.

On a road without a wide shoulder overtaking takes place if

1) the equipage has sufficient acceleration ability to carry out an overtak-ing

2) space is available for overtaking with regard to surrounding equipages

3) there is no overtaking prohibition

#) a stochastic function is true. The probability of being true depends on a) the type and speed of impeding equipages

b) available sight distance

c) oncoming equipages within the sight distance available

If the road has a wide shoulder overtaking can also take place by "passing",

which means that the leading equipage moves with a particular probability

onto the shoulder.

If the road has a climbing lane the impeding equipage will move into this

lane.

During the overtaking procedure a sequence of movements takes place as

described in the freely-moving equipage model. When following occurs,

however, the equipage follows the preceding vehicle with a constant time

(10)

submodels adapted for simulation on a digital computer.

The traffic process is reproduced by an aggregation of micro level

T R A F F I C C H AR A C T E R I S T I C S D I F F E R E N T I A T E D B Y T R A F F I C C AT E G O R Y A S F U N C T I O N S O F T R A F F I C F L O W A N D C O M P O S I T I O N Fi re3 T R AF F I C V O L U M E T R A F F I C C O M P O S I TI O N >. J O U R N E Y S P E E D D I S T R I B U T I O N * = = = ~ J O U R N E Y T I M E D I S T R I B U T I O N m e a n v a l u e d i s p e r s i o n R O A D W I DT H l A LI G N M E N T S P E E D L I M I T D E S I R E D S P EE D ~ ~~ ~ ~ ) N U M B E R O F "C A T C H I N G S U P " P O W E R / M A S S R A T I O R O A D W I D T H O V E R T A K I N G R E S T R I C T I O N S S I G H T D I S T A N C E A V A I L A B L E ~ §I T B S I B L E OV E R T A K I N G .__ _=_ ___ ___ _.. ._t S I T UA T I O N S ( _ _ _ -J L I N C L I N A T I O N T O O V E R T A K E -u ¢ n ~ ; A C C E P T E D O V E R T A K I N G -w N U M B E R O F O V E R T A K I N G S P O W E R / M A S S R A T I O S I T U A T I O N S P E R C E N T A G E O F L _ _ _ = H E A D W A Y -_ _ _ _ " _ _ + FR E E M O V I N G V E H I C L E S D I S T R I B U T I O N Q U E U E L E N G T H Q U E U E F R E Q U E N C Y

(11)

#. Introduction into the SIMULA program

The simulation program described below comprises the "heart" of. a program system as shown in figure #.

Driver Vehicle Traffic Data Free Flow Traffic Simulation Road Blocking Program T

Description Of The Road

__ ___ _ _ Traffic Generation Program Description Of The Traffic Input

___ _-__ _-__ __ __ _ __ Traffic Simulation

Statistical Distributions At Spots . SFO! SPI |D . IHH IHÅDWH .Ql H [ IJNGIII . 01 M i imouxn Statistical Distributions Between Spots . J()l RN F$ SPE LD . JOllRNlX 'llWl AND . Nl MBPRS Ol' O\ ER'IAKING/ PASS] NGS

TrafficResults #* Traffic Result Processing _ Programs _ _ _ ____ _ __ ___ ___ __ ___ ___ __ _ __

Traffic Traffic Other

Description Safety Traffic

Characteristics Concepts Effects Along The Road

. [DRAFT l( VOICF ' Hg gm }? o RISK Exmsum.

. mun MOVING o CONFLICT . 'IRAFHC , QUEUWG sm ATIONS POLLl | lox . ovERTAKING/mssmc.

. [RAPPK llME DELAY . TRAP Fl( Fl EL

(ONSIWI PTION

(12)

An inventory of existing techniques and programming languages was made. The results were

a)

b)

application of Jackson Structured Programming Technique (JSP)

choice of SIMULA-67, which has exceptional qualities for simulation as well as permitting a lucid organisation of the program text and well structured data

The program is implemented in the following way:

BEGIN END Sim END ulation BEGIN REF(Head)direction1,direction2; REF(Head)ARRAY track(1:2,1:3);

REAL ARRAY breakpcoord1(1:n1),breakpcoord2(1:n2), sightdistan1(1:n1),sightdistan2(1:n2);

Process CLASS vehicle;

BEGIN INTEGER idnu,owntrack;

BOOLEAN following,behcatchuo,finish; INTEGER orign,dest,vehtype,blnu,dirnu; REAL 02,predblbordertime,predictnextevtime, localsp,localcoord,localtime,mintime,aversp,w, predictblbordersp,pnormal,timeheadwav,v0n; REF(roadblock)block; REAL PROCEDURE p; END PROCESSCLASSVEH; Link CLASS roadblock;

BEGIN INTEGER rco,rbllength,ri,rnonovert,rsightlmax, rsightref,roadwidh,lane;

REAL dvq,rq; END ROADBLOCK;

Process CLASS generatorprocess; BEGIN REF(veh)b; REAL arriveltime; PROCEDURE givevehattribut; END GENERATORPROCESS; o 9

(13)

The main principle of SIMULA is pseudo parallel execution, which can be regarded as a further develOpment of event control of dynamic sequences. The descriptions of the events which relate to a particular type of object are collected into a single process. The program consists of two processes:

a) Process CLASS generator process

b) Process CLASS vehicle.

The process, which also contains data and procedures, provides a natural picture of the object these describe. In this way good similarity to the model is obtained which is very important since simulation models tend to be highly complex.

The vehicle process describes all the possibilities for action of a particular

vehicle e.g.: "drive as a freely-moving equipage", "follow another vehicle"

or "overtake the vehicle in front". The road block describes

a) location and length

b) road geometry and traffic regulation

c) references to sight distance function

The roadblock object is linked in each direction in a Simset list.

The vehicle generator process creates vehicle objects and allots them individual driver-vehicle attributes. They are also allotted their traffic

attributes. Parameters which define vehicles consist of e.g.: identity

number, basic desired speed and power/weight ratio.

Parameters giving their traffic attributes consist of e.g. starting point, starting time and direction of travel. The equipage generator process also activates the equipages at their starting times.

(14)

lO

References

Brodin, A, Gynnerstedt, G, Levander, G,

A program for the Monte Carlo simulation of vehicle traffic along two-lane

rural roads.

Meddelande 143. National Swedish Road and Traffic Research Institute 1979

Gynnerstedt, G,

Systems analysis of road traffic

Meddelande 44. National Swedish Road and Traffic Research Institute 1977 Gynnerstedt, G,

Road geometric design as a function of level of service and road users' cost by traffic simulation.

Meddelande 192. National Swedish Road and Traffic Research Institute 1980

(15)
(16)

Figure

Figure 4: The position of the simulation program in the program system

References

Related documents

Respondenterna fick frågor gällande Grön omsorg i sin helhet men även kring deras situation gällande diagnos, när och varför de kom till gården samt hur deras vardag ser ut när

När det gäller mitt arbete för Drottning Sylvias barn- och ungdomssjukhus så vill jag att barnen verkligen ska se mina bilder, att det inte bara blir en fin skylt eller symbol som

För det andra kan man fråga sig vad man skall göra med de nuvarande offentliga företagen inom elförsörjningen, framför allt Vattenfall men också alla de företag

Inte minst Viktig roll skulle Svensk Tidskrift därmed ha Men v1 behöver även många andra stora möjligheter att fungera som forum for tankemöda och

Antal veckor mannen respektive kvinnan tar ut för andra barnet beroende på när mannen är äldre än kvinnan, när partnerna är jämngamla och när mannen är yngre än kvinnan..

Genom att den fackliga organisationen hjälper medlemmarna att ta eget ansvar för kompetensutveckling och synliggöra sina kompetensbehov kan de möjligtvis även

Det är två procedurer som skall tas fram, det ena avsedd till marknaden och skall guida ägare/operatörer/verkstäder och luftvärdighetsanvsariga och det andra

The electricity production is calculated for the two heat market scenarios giving the highest and lowest electricity consumption: SD-LSEL (slow development and a large share of