-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Peter Meisrimel
authored and
Peter Meisrimel
committed
Jul 8, 2024
1 parent
65926d6
commit ba2a66e
Showing
7 changed files
with
119 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...st_xmls/variability_causality_initial/invalid/independent_with_start/modelDescription.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<fmiModelDescription fmiVersion="3.0" modelName="" instantiationToken=""> | ||
<CoSimulation modelIdentifier="id" /> | ||
|
||
<ModelVariables> | ||
<!-- "If initial = calculated or causality = independent, it is not allowed to provide a start attribute." --> | ||
<Float64 name="f64_indep" valueReference="1" causality="independent" start="0"/> | ||
</ModelVariables> | ||
|
||
<ModelStructure/> | ||
</fmiModelDescription> |
30 changes: 30 additions & 0 deletions
30
.../variability_causality_initial/invalid/initial_calculated_with_start/modelDescription.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<fmiModelDescription fmiVersion="3.0" modelName="" instantiationToken=""> | ||
<CoSimulation modelIdentifier="id" /> | ||
|
||
<TypeDefinitions> | ||
<EnumerationType name="MyEnum" quantity="TypeQuantity"> | ||
<Item name="item1" value="1"/> | ||
</EnumerationType> | ||
</TypeDefinitions> | ||
|
||
<ModelVariables> | ||
<!-- "If initial = calculated or causality = independent, it is not allowed to provide a start attribute." --> | ||
<Float64 name="f64" valueReference="1" initial="calculated" start="0"/> | ||
<Int64 name="i64" valueReference="2" initial="calculated" start="0"/> | ||
<Boolean name="bool" valueReference="3" initial="calculated" start="true"/> | ||
<Binary name="binary" valueReference="4" initial="calculated"> | ||
<Start value="0011BBff029eE4Cd"/> | ||
</Binary> | ||
<Binary name="binary_arr" valueReference="5" initial="calculated"> | ||
<Dimension start="1"/> | ||
<Start value="0011BBff029eE4Cd"/> | ||
</Binary> | ||
<String name="string" valueReference="6" initial="calculated"> | ||
<Start value="abc"/> | ||
</String> | ||
<Enumeration name="enumDefault" valueReference="7" declaredType="MyEnum" initial="calculated" start="1"/> | ||
</ModelVariables> | ||
|
||
<ModelStructure/> | ||
</fmiModelDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters