Simulation Folder¶
Base simulation
¶
This package contains the interface to different simulation packages.
Module assimulo_interface
¶
This file contains code for mapping our JMI Models to the Problem specifications required by Assimulo.
-
exception
pyfmi.simulation.assimulo_interface.
FMIModel_Exception
[source]¶ Bases:
exceptions.Exception
A FMIModel Exception.
-
class
pyfmi.simulation.assimulo_interface.
FMIODE
(model, input=None, result_file_name='', with_jacobian=False, start_time=0.0, logging=False, result_handler=None)[source]¶ Bases:
assimulo.problem.Explicit_Problem
An Assimulo Explicit Model extended to FMI interface.
-
input
¶ Property for accessing the input. The input must be a 2-tuple with the first object as a list of names of the input variables and with the other as a subclass of the class Trajectory.
-
-
class
pyfmi.simulation.assimulo_interface.
FMIODE2
(model, input=None, result_file_name='', with_jacobian=False, start_time=0.0, logging=False, result_handler=None, extra_equations=None)[source]¶ Bases:
assimulo.problem.Explicit_Problem
An Assimulo Explicit Model extended to FMI interface.
-
input
¶ Property for accessing the input. The input must be a 2-tuple with the first object as a list of names of the input variables and with the other as a subclass of the class Trajectory.
-
-
class
pyfmi.simulation.assimulo_interface.
FMIODESENS
(model, input=None, result_file_name='', with_jacobian=False, start_time=0.0, parameters=None, logging=False, result_handler=None)[source]¶ Bases:
pyfmi.simulation.assimulo_interface.FMIODE
FMIODE extended with sensitivity simulation capabilities
-
class
pyfmi.simulation.assimulo_interface.
FMIODESENS2
(model, input=None, result_file_name='', with_jacobian=False, start_time=0.0, logging=False, result_handler=None, extra_equations=None, parameters=None)[source]¶ Bases:
pyfmi.simulation.assimulo_interface.FMIODE2
FMIODE2 extended with sensitivity simulation capabilities