Opened 5 years ago

Last modified 5 years ago

#5586 closed enhancement

FMU info — at Initial Version

Reported by: massimo ceraolo Owned by: Lennart Ochel
Priority: normal Milestone: 1.16.0
Component: FMI Version:
Keywords: Cc:

Description

Consider the enclosed FMU. When loaded from Dymola the following very comprehensive info is available (consider that the original formatting is much better than the one here, where I put text only):

ModelDescription Attributes

fmiVersion = 2.0
modelName = fbSystemPkg.fbSubSysDX
generationTool = OpenModelica Compiler v1.14.0-dev-234-g5ef43cce8 (64-bit)
generationDateAndTime = 2019-07-12T16:10:42Z

Model Exchange Attributes

needsExecutionTool = false
completedIntegratorStepNotNeeded = false
canBeInstantiatedOnlyOncePerProcess = false
canNotUseMemoryManagementFunctions = false
canGetAndSetFMUstate = false
canSerializeFMUstate = false
providesDirectionalDerivative = false


Extends from fmuIcon.

Parameters

Type	Name	Default	Description
Real	_PI_x_start	0.0	 
Real	PI_T	1.0	Time Constant (T>0 required)
Real	PI_k	1.0	Gain
Real	PI_x_start	0.0	Initial or guess value of state
Real	PI_y_start	0.0	Initial value of output
Real	inertia1_J	0.1	Moment of inertia
Init	PI_initType	PI_initType(fixed=false)	Type of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output)
Boolean	torque1_useSupport	torque1_useSupport(fixed=fal...	= true, if support flange enabled, otherwise implicitly grounded
Start values for inputs
Real	_PIu_start	0.0	 
FMI
Instance name
String	fmi_instanceName	"fbSystemPkg_fbSubSysDX_fmu"	 
Enable logging
Boolean	fmi_loggingOn	false	 
Instantiation
String	fmi_resourceLocation	"file:///" + ModelicaService...	 
Connectors

Type	Name	Description
input RealInput	PIu	 
output RealOutput	w	 

Name: fbSystemPkg_fbSubSysDX_fmu
Path: fbSystemPkg_fbSubSysDX_fmu
Filename: C:/Users/Massimo Ceraolo/Documents/Dymola/fbSystemPkg_fbSubSysDX_fmu.mo

On the opposite side, if the same fmu is loaded in OM, and one asks £information" from the context menu no information at all is shown (except the name).
In think it would be useful to have some info available, at least the Model Description attributes, Model Exchange attributes, and full filename (with path).

Change History (1)

by massimo ceraolo, 5 years ago

Attachment: fbSystemPkg.fbSubSysDX.fmu added
Note: See TracTickets for help on using tickets.