_generate_parameter_file

_generate_parameter_file(simulation_config: SimulationConfig, model: Model, file_name: str) Parameters[source]

Generate and save the parameter file for the simulation.

This function generates the parameters for the given model, updates them based on the simulation configuration, validates the updated parameters, and saves them to a file.

Parameters:
  • simulation_config (SimulationConfig) – The configuration for the simulation.

  • model (Model) – The model for which parameters are to be generated.

  • file_name (str) – The name of the file to save the parameters.

Returns:

The updated and validated parameters.

Return type:

Parameters