Skip to content

Commit

Permalink
- Added model's description/comment to fmi 1.0 modelDescription file.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20186 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Apr 16, 2014
1 parent 60e8e2a commit fd12944
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Compiler/Template/CodegenFMU.tpl
Expand Up @@ -153,17 +153,12 @@ case SIMCODE(modelInfo = MODELINFO(varInfo = vi as VARINFO(__), vars = SIMVARS(s
let fmiVersion = '1.0'
let modelName = dotPath(modelInfo.name)
let modelIdentifier = modelNamePrefix(simCode)
let description = ''
let author = ''
let version= ''
let description = modelInfo.description
let generationTool= 'OpenModelica Compiler <%getVersionNr()%>'
let generationDateAndTime = xsdateTime(getCurrentDateTime())
let variableNamingConvention = 'structured'
let numberOfContinuousStates = if intEq(vi.numStateVars,1) then statesnumwithDummy(listStates) else vi.numStateVars
let numberOfEventIndicators = vi.numZeroCrossings
// description="<%description%>"
// author="<%author%>"
// version="<%version%>"
<<
fmiVersion="<%fmiVersion%>"
modelName="<%modelName%>"
Expand Down

0 comments on commit fd12944

Please sign in to comment.