public class FMI20ModelExchangeCapabilities 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 "ModelExchange" element that defines the capabilities of the Model Exchange FMU.
FMI documentation may be found at https://fmi-standard.org/.
Red (cxh) |
Red (cxh) |
Modifier and Type | Field and Description |
---|---|
boolean |
canBeInstantiatedOnlyOncePerProcess
True if only one FMU can be instantiated per process.
|
boolean |
canGetAndSetFMUstate
If true, then the FMU can get and set state.
|
boolean |
canNotUseMemoryManagementFunctions
True if the slave ignores the allocateMemory()
and freeMemory() callback functions and the
slave uses its own memory management.
|
boolean |
canSerializeFMUstate
True if the environment can serialize the internal FMU state,
meaning that the following functions are supported:
fmiDeSerializeFMUstate(), fmiSerialFMUState() and
fmiSerializeFMUstateSize() are supported.
|
boolean |
completedIntegratorStepNotNeeded
True if fmiCompletedIntegratorStep() does not need to be
called.
|
java.lang.String |
modelIdentifier
The underscore separated class name.
|
boolean |
needsExecutionTool
The FMU contains only what is necessary to communicate
with the external tool.
|
boolean |
providesDirectionalDerivative
True if the fmiGetDirectionalDerivativMethod can be used to
compute the direction derivative.
|
Constructor and Description |
---|
FMI20ModelExchangeCapabilities()
Create an empty Capability.
|
FMI20ModelExchangeCapabilities(org.w3c.dom.Element element)
Create a FMIModelExchangeCapability from an XML Element.
|
getBoolean, toString
public java.lang.String modelIdentifier
public boolean canBeInstantiatedOnlyOncePerProcess
public boolean canGetAndSetFMUstate
public boolean canNotUseMemoryManagementFunctions
public boolean canSerializeFMUstate
public boolean completedIntegratorStepNotNeeded
public boolean needsExecutionTool
public boolean providesDirectionalDerivative
public FMI20ModelExchangeCapabilities()
public FMI20ModelExchangeCapabilities(org.w3c.dom.Element element)
element
- The XML Element that contains attributes.