Skip to content

Commit

Permalink
Some bug fixes and added more test FMUs
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbattle committed Jan 17, 2024
1 parent 109e104 commit c4c2a9b
Show file tree
Hide file tree
Showing 6 changed files with 2,752 additions and 6 deletions.
2 changes: 1 addition & 1 deletion fmi2/rule-model/Common.vdmsl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ functions
elseif is_(v, Integer) or is_(v, IntegerType) then <Integer>
elseif is_(v, Boolean) or is_(v, BooleanType) then <Boolean>
elseif is_(v, String) or is_(v, StringType) then <String>
elseif is_(v, Enumeration) or is_(v, EnumerationType) then <Integer> -- NOTE!!
elseif is_(v, Enumeration) or is_(v, EnumerationType) then <Enumeration>
else undefined;

/**
Expand Down
1 change: 1 addition & 0 deletions fmi2/rule-model/FMIModelDescription.vdmsl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ types
-- The rules are defined in FmiModelDescription.adoc
validMinMax(fmd, evs),
validStart(fmd, evs),
validAliasNames(evs),
validMultipleSets(fmd, evs),
validVariableUnits(fmd, evs),
validOutputs(fmd, evs),
Expand Down
1 change: 0 additions & 1 deletion fmi2/rule-model/ModelVariables.vdmsl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ types
([
-- Rules are defined in ModelVariables.adoc
validModelVariables(mvs),
validAliasNames(mvs),
validIndependentVariable(mvs)
]);
Loading

0 comments on commit c4c2a9b

Please sign in to comment.