FMUInfo¶
- class persalys.FMUInfo(*args)¶
Retrieve information from a FMU file.
- Parameters:
- fmuFilestr
FMU file name
- fmuTypestr, default=’auto’
FMU type, either auto, ME or CS
Methods
Author accessor.
Causality accessor.
Accessor to the object's name.
Copyright accessor.
Date/Time accessor.
FMI version accessor.
File name accessor.
getGUID()GUID accessor.
Model identifier accessor.
Model type accessor.
getName()Accessor to the object's name.
Platform accessor.
Variables with values: names accessor.
Variables with values: values accessor.
getTool()Tool identifier accessor.
Variability accessor.
Variable names accessor.
Model version accessor.
hasName()Test if the object is named.
setName(name)Accessor to the object's name.
- __init__(*args)¶
- getAuthor()¶
Author accessor.
- Returns:
- authorstr
Author name
- getCausality()¶
Causality accessor.
- Returns:
- causality
openturns.Indices Causality values
- causality
- getClassName()¶
Accessor to the object’s name.
- Returns:
- class_namestr
The object class name (object.__class__.__name__).
- getCopyright()¶
Copyright accessor.
- Returns:
- copyrightstr
Copyright text
- getDateTime()¶
Date/Time accessor.
- Returns:
- dateTimestr
Date and time
- getFMIVersion()¶
FMI version accessor.
- Returns:
- fmiVersionstr
FMI specification version string
- getFileName()¶
File name accessor.
- Returns:
- fnstr
FMU file name
- getGUID()¶
GUID accessor.
- Returns:
- guidstr
Globally Unique Identifier string
- getIdentifier()¶
Model identifier accessor.
- Returns:
- identifierstr
Model identifier string
- getModelType()¶
Model type accessor.
- Returns:
- model_typestr
Model type string: either Model Exchange or Co-Simulation
- getName()¶
Accessor to the object’s name.
- Returns:
- namestr
The name of the object.
- getPlatform()¶
Platform accessor.
- Returns:
- platformstr
Platform string
- getStartKeys()¶
Variables with values: names accessor.
- Returns:
- startKeys
openturns.Description Variables names
- startKeys
- getStartValues()¶
Variables with values: values accessor.
- Returns:
- startValues
openturns.Point Default values
- startValues
- getTool()¶
Tool identifier accessor.
- Returns:
- toolstr
Generation tool identifier string
- getVariability()¶
Variability accessor.
- Returns:
- variability
openturns.Indices Variability values
- variability
- getVariableNames()¶
Variable names accessor.
- Returns:
- description
openturns.Description Variable names
- description
- getVersion()¶
Model version accessor.
- Returns:
- versionstr
Model version string
- hasName()¶
Test if the object is named.
- Returns:
- hasNamebool
True if the name is not empty.
- setName(name)¶
Accessor to the object’s name.
- Parameters:
- namestr
The name of the object.