sysdynpy/exporter.py
def _filter_results(results, system_elements):
    """Filters the simulation results to only include certain system elements.

    :param results: The simulation results
    :type results: dict
    :param system_elements: List of system element names to keep
    :type system_elements: list of strings
    :return: The filtered results
    :rtype: dict
    """
    results_filtered = {}
    for key in results.keys():
        if key in system_elements:
            results_filtered[key] = results[key]
    return results_filtered
Filters the simulation results to only include certain system elements.

    :param results: The simulation results
    :type results: dict
    :param system_elements: List of system element names to keep
    :type system_elements: list of strings
    :return: The filtered results
    :rtype: dict
    
Filters the simulation results to only include certain system elements.
Filters the simulation results to only include certain system elements .
def _filter_results(results, system_elements):
    results_filtered = {}
    for key in results.keys():
        if key in system_elements:
            results_filtered[key] = results[key]
    return results_filtered
def _filter_results ( results , system_elements ) : results_filtered = { } for key in results . keys ( ) : if key in system_elements : results_filtered [ key ] = results [ key ] return results_filtered
Filters the simulation results to only include certain system elements.
Filters the simulation results to only include certain system elements .
"""Filters the simulation results to only include certain system elements.

    :param results: The simulation results
    :type results: dict
    :param system_elements: List of system element names to keep
    :type system_elements: list of strings
    :return: The filtered results
    :rtype: dict
    """
The filtered results
The filtered results
dict
results
The simulation results
The simulation results
system_elements
List of system element names to keep
List of system element names to keep