-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatic test script for reference models (Linux only)
- Loading branch information
Showing
13 changed files
with
5,442 additions
and
4 deletions.
There are no files selected for viewing
1,001 changes: 1,001 additions & 0 deletions
1,001
CompositeModels/FmiTestLinux/FmiTestLinux_ref.csv
Large diffs are not rendered by default.
Oops, something went wrong.
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,19 @@ | ||
<Interface Angle321="0,0,0" Causality="Input" Dimensions="1" Domain="Signal" Name="x1" Position="0,0,0" model="cs_adder1fmu1"></Interface> | ||
<Interface Angle321="0,0,0" Causality="Input" Dimensions="1" Domain="Signal" Name="x2" Position="0,0,0" model="cs_adder1fmu1"></Interface> | ||
<Interface Angle321="0,0,0" Causality="Input" Dimensions="1" Domain="Signal" Name="y" Position="0,0,0" model="gainfmu1"></Interface> | ||
<Interface Angle321="0,0,0" Causality="Output" Dimensions="1" Domain="Signal" Name="u" Position="1,0,0" model="gainfmu1"></Interface> | ||
<Interface Angle321="0,0,0" Causality="Output" Dimensions="1" Domain="Signal" Name="y" Position="0,0,0" model="cs_source1fmu1"></Interface> | ||
<Interface Angle321="0,0,0" Causality="Output" Dimensions="1" Domain="Signal" Name="y" Position="0,0,0" model="cs_source1fmu2"></Interface> | ||
<Interface Angle321="0,0,0" Causality="Output" Dimensions="1" Domain="Signal" Name="y" Position="1,0,0" model="cs_adder1fmu1"></Interface> | ||
</Interfaces> | ||
<Interfaces> | ||
</ModelData> | ||
<ModelData> | ||
<Parameter DefaultValue="0.001" Name="Ki" model="gainfmu1"></Parameter> | ||
<Parameter DefaultValue="0.01" Name="Kp" model="gainfmu1"></Parameter> | ||
<Parameter DefaultValue="1" Name="A" model="cs_source1fmu1"></Parameter> | ||
<Parameter DefaultValue="1" Name="A" model="cs_source1fmu2"></Parameter> | ||
<Parameter DefaultValue="1" Name="omega" model="cs_source1fmu1"></Parameter> | ||
<Parameter DefaultValue="1" Name="omega" model="cs_source1fmu2"></Parameter> | ||
</Parameters> | ||
<Parameters> |
19 changes: 19 additions & 0 deletions
19
CompositeModels/HopsanHopsanOneWaySignal/HopsanHopsanOneWaySignal.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,19 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<Model Name="HopsanHopsanOneWaySignal"> | ||
<SubModels> | ||
<SubModel ModelFile="left.hmf" StartCommand="StartTLMHopsan" Name="left" ExactStep="0" Position="0,0,0" Angle321="0,0,0"> | ||
<Annotation Rotation="0" Visible="true" Origin="{8,14}" Extent="{-10,-10,10,10}"/> | ||
<InterfacePoint Name="out" Causality="Output" Domain="Signal" Dimensions="1" Position="1,0,0" Angle321="0,0,0"/> | ||
</SubModel> | ||
<SubModel ModelFile="right.hmf" StartCommand="StartTLMHopsan" Name="right" ExactStep="0" Position="0,0,0" Angle321="0,0,0"> | ||
<Annotation Rotation="0" Visible="true" Origin="{8,-16}" Extent="{-10,-10,10,10}"/> | ||
<InterfacePoint Name="in" Causality="Input" Domain="Signal" Dimensions="1" Position="0,0,0" Angle321="0,0,0"/> | ||
</SubModel> | ||
</SubModels> | ||
<Connections> | ||
<Connection Delay="0.001" To="right.in" From="left.out"> | ||
<Annotation Points="{{19,22},{19,23},{37,23},{37,-7.5},{19,-7.5}}"/> | ||
</Connection> | ||
</Connections> | ||
<SimulationParams StopTime="1" StartTime="0"/> | ||
</Model> |
Oops, something went wrong.