CADETProcess.simulator.Cadet.run#
- Cadet.run(process, cadet=None, file_path=None)[source]#
Interface to the solver run function.
The configuration is extracted from the process object and then saved as a temporary .h5 file. After termination, the same file is processed and the results are returned.
Cadet Return information: - 0: pass (everything allright) - 1: Standard Error - 2: IO Error - 3: Solver Error
- Parameters:
- processProcess
process to be simulated
- Returns:
- resultsSimulationResults
Simulation results including process and solver configuration.
- Raises:
- TypeError
If process is not instance of Process
See also