Did I find the right examples for you? yes no

All Samples(6)  |  Call(5)  |  Derive(0)  |  Import(1)

src/p/y/PyFMI-1.4/src/pyfmi/fmi_algorithm_drivers.py   PyFMI(Download)
import pyfmi
import pyfmi.fmi as fmi
from pyfmi.common.algorithm_drivers import AlgorithmBase, AssimuloSimResult, OptionBase, InvalidAlgorithmOptionException, InvalidSolverArgumentException, JMResultBase
from pyfmi.common.io import ResultDymolaTextual, ResultHandlerFile, ResultHandlerMemory, ResultHandler
from pyfmi.common.core import TrajectoryLinearInterpolation
            self.options = options
        else:
            raise InvalidAlgorithmOptionException(options)
 
        # set options
        else:
            raise InvalidAlgorithmOptionException(
                "The solver: "+solver+ " is unknown.")
 
        # solver options
            self.options = options
        else:
            raise InvalidAlgorithmOptionException(options)
 
        # set options
        else:
            raise InvalidAlgorithmOptionException(
                "The solver: "+solver+ " is unknown.")
 
        # solver options