Professional Documents
Culture Documents
JOBS OmniTRANS MPS 2019
JOBS OmniTRANS MPS 2019
# ================================================== #
# OmniTRANS Lecturer Pack - Create distance skim #
# ================================================== #
# The purpose of this job is to calculate a skim #
# matrix with distance values for all OD-pairs. #
# This matrix can later be used for the purpose of #
# trip distribution. #
# ================================================== #
# The .network property is used to define the mode and time combination
# for which the skim is generated. This is set using a parameter
createSkimCalculator.network = [10,1]
# Now all relevant properties are set, we can run the model
createSkimCalculator.execute()
# ================================================== #
# OmniTRANS Lecturer Pack - Trip generation #
# ================================================== #
# The purpose of this job is to calculate total trip #
# production and attraction numbers per zone, based #
# on trip generation functions derived from linear #
# regression analysis. #
# ================================================== #
# The .combinations property is used to determine the relevant dimensions. The used parameters are
predefined
tripEndCalculator.combinations = [[PR_Produkcija, A_Atrakcija]]
# The .functionSpec property is used to define the regression functions. These are parameters that need
to be set.
tripEndCalculator.functionSpec = ["xxx*relativna_produkcija","xxx*relativna_atrakcija"]
# Now all relevant properties are set, we can run the model
tripEndCalculator.execute()
GRAVITACIONI MODEL
# ================================================== #
# OmniTRANS Lecturer Pack - Trip distribution model #
# ================================================== #
# The purpose of this job is to create a trip matrix #
# with trip numbers per OD-pair, using a gravity #
# model. #
# ================================================== #
# Now all relevant properties are set, we can run the model
distributionCalculator.execute()
RASPODELA TOKOVA NA MREŽU - METODA “SVE ILI NIŠTA”
# ================================================== #
# OmniTRANS Lecturer Pack - Template for assignment #
# ================================================== #
# This job is a template job that inclued many of #
# the properties of the OtTraffic class. It can be #
# used to define new jobs and determine what proper- #
# ties are relevant. #
# ================================================== #
# IMPORTANT:
# If a property is not relevant for your assignment, comment out that line of code using a # symbol
# The .network property is used to define the mode and time combination
# for which the assignment is performed. This is set using a parameter
assignmentCalculator.network = [10,1]
# The .odMatrix property defines the PMTU dimensions of the travel demand
# matrix that is to be assigned
assignmentCalculator.odMatrix = [1,10,1,1]
# The .load property defines the PMTURI dimensions where the resulting
# linkloads are stored. Note that this property should have a different
# value per assignmethod to match your project dimensions
assignmentCalculator.load = [1,10,1,1,2,1]
# Now all relevant properties are set, we can run the model
assignmentCalculator.execute()
RASPODELA TOKOVA NA MREŽU - METODA KAPACITETNOG OGRANIČENJA
# ================================================== #
# OmniTRANS Lecturer Pack - Template for assignment #
# ================================================== #
# This job is a template job that inclued many of #
# the properties of the OtTraffic class. It can be #
# used to define new jobs and determine what proper- #
# ties are relevant. #
# ================================================== #
# IMPORTANT:
# If a property is not relevant for your assignment, comment out that line of code using a # symbol
# The .network property is used to define the mode and time combination
# for which the assignment is performed. This is set using a parameter
assignmentCalculator.network = [10,1]
# The .odMatrix property defines the PMTU dimensions of the travel demand
# matrix that is to be assigned
assignmentCalculator.odMatrix = [1,10,1,1]
# The .load property defines the PMTURI dimensions where the resulting
# linkloads are stored. Note that this property should have a different
# value per assignmethod to match your project dimensions
assignmentCalculator.load = [1,10,1,1,3,1]
# Now all relevant properties are set, we can run the model
assignmentCalculator.execute()