public class FMICoSimulationCapabilities extends FMICapabilities
A Functional Mock-up Unit file is a .fmu file in zip format that contains a .xml file named "modelDescription.xml". In FMI-1.0, the xml file may optionally contain a "Implementation" element that will contain either a "CoSimulation_Standalone" element or a "CoSimulation_Tool" element. Those two elements will contain a "Capabilities" element that has attributes that define the capabilities of the slave. This class has public fields that correspond to the attributes of the "Capabilities" element. The name of this class is taken from the FMI specification.
FMI documentation may be found at http://www.modelisar.com/fmi.html.
Red (cxh) |
Red (cxh) |
Modifier and Type | Field and Description |
---|---|
boolean |
canBeInstantiatedOnlyOncePerProcess
True if only one FMU can be instantiated per process.
|
boolean |
canHandleEvents
True if the step size can be zero.
|
boolean |
canHandleVariableCommunicationStepSize
True if the slave ignores the allocateMemory()
/** True if the slave can handle a variable step size.
|
boolean |
canInterpolateInputs
True if slave can interpolate inputs.
|
boolean |
canNotUseMemoryManagementFunctions
True if the slave ignores the allocateMemory()
and freeMemory() callback functions and the
slave uses its own memory management.
|
boolean |
canRejectSteps
True if the slave can discard and repeat a step.
|
boolean |
canRunAsynchronuously
True if the slave can run the fmiDoStep() call
asynchronously.
|
boolean |
canSignalEvents
True if the slave can signal events during a communication
step.
|
int |
maxOutputDerivativeOrder
The slave can supply derivatives with a maximum order.n
The default value is 0.
|
Constructor and Description |
---|
FMICoSimulationCapabilities()
Create an empty Capability.
|
FMICoSimulationCapabilities(org.w3c.dom.Element element)
Create a FMICoSimulationCapability from an XML Element.
|
getBoolean, toString
public boolean canBeInstantiatedOnlyOncePerProcess
public boolean canHandleVariableCommunicationStepSize
public boolean canHandleEvents
public boolean canInterpolateInputs
public boolean canNotUseMemoryManagementFunctions
public boolean canRunAsynchronuously
public boolean canRejectSteps
public boolean canSignalEvents
public int maxOutputDerivativeOrder
public FMICoSimulationCapabilities()
public FMICoSimulationCapabilities(org.w3c.dom.Element element)
element
- The XML Element that contains attributes.