public class FMI20CoSimulationCapabilities 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-2.0, the xml file may optionally contain a "CoSimulation" element that defines the capabilities of the CoSimulation FMU.
FMI documentation may be found at https://fmi-standard.org/.
FMI documentation may be found at http://www.modelisar.com/fmi.html.
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 |
---|
FMI20CoSimulationCapabilities()
Create an empty Capability.
|
FMI20CoSimulationCapabilities(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 FMI20CoSimulationCapabilities()
public FMI20CoSimulationCapabilities(org.w3c.dom.Element element)
element
- The XML Element that contains attributes.