pytrnsys_process.process#

Process Batch#

pytrnsys_process.process.process_batch.process_single_simulation

Process a single simulation folder using the provided processing step/scenario.

pytrnsys_process.process.process_batch.process_whole_result_set

Process all simulation folders in a results directory sequentially.

pytrnsys_process.process.process_batch.process_whole_result_set_parallel

Process all simulation folders in a results directory in parallel.

pytrnsys_process.process.process_batch.do_comparison

Execute comparison scenarios on processed simulation results.

Process Sim#

pytrnsys_process.process.process_sim.process_sim

pytrnsys_process.process.process_sim.handle_duplicate_columns

Process duplicate columns in a DataFrame, ensuring they contain consistent data.

Data Structures#

pytrnsys_process.process.data_structures.Simulation

Class representing a TRNSYS simulation with its associated data.

pytrnsys_process.process.data_structures.ProcessingResults

Results from processing one or more simulations.

pytrnsys_process.process.data_structures.SimulationsData

Class representing a result set

File Type Detector#

pytrnsys_process.process.file_type_detector.get_file_type_using_file_content

Determine the file type by analyzing its content.

pytrnsys_process.process.file_type_detector.get_file_type_using_file_name

Determine the file type by checking the filename against known patterns.

pytrnsys_process.process.file_type_detector.has_pattern

Check if a filename contains any of the patterns associated with a specific FileType.