parameter_optimizer module#

parameter_optimizer.create_simulation(args)#

Initializes a new simulation

Parameters:

args (tuple) – arguments for the simulation

Returns:

simulation

Return type:

Simulation

parameter_optimizer.map_parameters(parameters, changed_parameter)#

Maps the parameters of the minimizing function to the parameters of the model

Parameters:
  • parameters (list) – parameters of the minimizing function

  • changed_parameter (tuple) – changed parameter

Returns:

parameters of the model

Return type:

list

parameter_optimizer.run_simulation(args)#

Run a single simulation

Parameters:

args (tuple) – arguments for the simulation

Returns:

average waiting time

Return type:

float

parameter_optimizer.update_results(results)#

Update the current model with new parameters if a performance increase has been detected

Parameters:

results (list) – results of the simulations

parameter_optimizer.write_result(awt, params)#

Write the results to text

Parameters:
  • awt (float) – average waiting time

  • params (list) – parameters