sysdynpy/exporter.py
def _check_if_system_elements_in_results(results, system_elements):
    """Checks if the given system elements are included in the result dictionary.

    :param results: The dictionary with simulation results.
    :type results: dict
    :param system_elements: List of system element names
    :type system_elements: list of strings
    :raises ValueError: If any of the system element names in not in the
        simulation results.
    """
    for element in system_elements:
        if element not in results.keys():
            raise ValueError("Given system element "
                + element + " is not in simulation results")
Checks if the given system elements are included in the result dictionary.

    :param results: The dictionary with simulation results.
    :type results: dict
    :param system_elements: List of system element names
    :type system_elements: list of strings
    :raises ValueError: If any of the system element names in not in the
        simulation results.
    
Checks if the given system elements are included in the result dictionary.
Checks if the given system elements are included in the result dictionary .
def _check_if_system_elements_in_results(results, system_elements):
    for element in system_elements:
        if element not in results.keys():
            raise ValueError("Given system element "
                + element + " is not in simulation results")
def _check_if_system_elements_in_results ( results , system_elements ) : for element in system_elements : if element not in results . keys ( ) : raise ValueError ( "Given system element " + element + " is not in simulation results" )
Checks if the given system elements are included in the result dictionary.
Checks if the given system elements are included in the result dictionary .
"""Checks if the given system elements are included in the result dictionary.

    :param results: The dictionary with simulation results.
    :type results: dict
    :param system_elements: List of system element names
    :type system_elements: list of strings
    :raises ValueError: If any of the system element names in not in the
        simulation results.
    """
If any of the system element names in not in the
simulation results.
If any of the system element names in not in the simulation results .
ValueError
results
The dictionary with simulation results.
The dictionary with simulation results .
system_elements
List of system element names
List of system element names