This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
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
Showing
46 changed files
with
9,149 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file added
BIN
+54.4 KB
...am/src/main/resources/singlewatertank-20sim/binaries/darwin64/singlewatertank-20sim.dylib
Binary file not shown.
Binary file added
BIN
+55.7 KB
...rogram/src/main/resources/singlewatertank-20sim/binaries/linux32/singlewatertank-20sim.so
Binary file not shown.
Binary file added
BIN
+55.7 KB
...rogram/src/main/resources/singlewatertank-20sim/binaries/linux64/singlewatertank-20sim.so
Binary file not shown.
Binary file added
BIN
+133 KB
...program/src/main/resources/singlewatertank-20sim/binaries/win32/singlewatertank-20sim.dll
Binary file not shown.
Binary file added
BIN
+184 KB
...program/src/main/resources/singlewatertank-20sim/binaries/win64/singlewatertank-20sim.dll
Binary file not shown.
123 changes: 123 additions & 0 deletions
123
test-program/src/main/resources/singlewatertank-20sim/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,123 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<fmiModelDescription fmiVersion="2.0" modelName="SingleWatertank" guid="{cfc65592-9ece-4563-9705-1581b6e7071c}" generationTool="20-sim" numberOfEventIndicators="0" copyright="Controllab Products B.V." license="-"> | ||
<CoSimulation modelIdentifier="SingleWatertank" needsExecutionTool="false" canHandleVariableCommunicationStepSize="true" canInterpolateInputs="false" maxOutputDerivativeOrder="0" canRunAsynchronuously="false" canBeInstantiatedOnlyOncePerProcess="true" canNotUseMemoryManagementFunctions="true" canGetAndSetFMUstate="false" canSerializeFMUstate="false" providesDirectionalDerivative="false" /> | ||
<DefaultExperiment startTime="0.0" stopTime="16.0" stepSize="0.01" /> | ||
<ModelVariables> | ||
<ScalarVariable name="Drain.p.e" valueReference="14" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="Drain.p.f" valueReference="7" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="Drain.r" valueReference="0" variability="tunable" causality="parameter"> | ||
<Real start="9.0" /> | ||
</ScalarVariable> | ||
<ScalarVariable name="FlowSource.p.p" valueReference="10" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="FlowSource.p.phi" valueReference="8" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="FlowSource.phi" valueReference="1" description="flow rate" variability="tunable" causality="parameter"> | ||
<Real start="1.0" /> | ||
</ScalarVariable> | ||
<ScalarVariable name="FlowSource.inflow" valueReference="9" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Node1.p1.p" valueReference="10" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Node1.p2.p" valueReference="10" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Node1.p3.p" valueReference="10" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Node1.p1.phi" valueReference="20" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Node1.p2.phi" valueReference="8" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Node1.p3.phi" valueReference="13" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Tank.p.e" valueReference="10" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Tank.level" valueReference="11" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Tank.area" valueReference="2" variability="tunable" causality="parameter"> | ||
<Real start="1.0" /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Tank.gravity" valueReference="3" variability="tunable" causality="parameter"> | ||
<Real start="9.81" /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Tank.liquid_density" valueReference="4" variability="tunable" causality="parameter"> | ||
<Real start="1.0" /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.p.p" valueReference="10" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.p.phi" valueReference="8" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.p1.p" valueReference="10" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.p1.phi" valueReference="13" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.level" valueReference="11" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="Valve.valvecontrol" valueReference="12" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="Valve.powerIn.p" valueReference="10" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="Valve.powerIn.phi" valueReference="13" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="Valve.powerOut.e" valueReference="14" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="Valve.powerOut.f" valueReference="7" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="Valve.puddle" valueReference="15" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="valvecontrol" valueReference="16" variability="continuous" causality="input"> | ||
<Real start="0.0" /> | ||
</ScalarVariable> | ||
<ScalarVariable name="level" valueReference="17" variability="continuous" causality="output"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Tank.p.f" valueReference="20" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Tank.volume" valueReference="18" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="tank.Tank.volume_initial" valueReference="5" variability="fixed" causality="parameter"> | ||
<Real start="0.0" /> | ||
</ScalarVariable> | ||
<ScalarVariable name="Valve.outflow" valueReference="21" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="Valve.outflow_int" valueReference="19" variability="continuous" causality="local"> | ||
<Real /> | ||
</ScalarVariable> | ||
<ScalarVariable name="Valve.outflow_int_initial" valueReference="6" variability="fixed" causality="parameter"> | ||
<Real start="0.0" /> | ||
</ScalarVariable> | ||
</ModelVariables> | ||
<ModelStructure> | ||
<Outputs> | ||
<Unknown index="31" /> | ||
</Outputs> | ||
</ModelStructure> | ||
</fmiModelDescription> |
31 changes: 31 additions & 0 deletions
31
test-program/src/main/resources/singlewatertank-20sim/sources/EulerAngles.c
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,31 @@ | ||
/********************************************************** | ||
* This file is generated by 20-sim ANSI-C Code Generator | ||
* | ||
* file: src\EulerAngles.c | ||
* model: Watertank | ||
* expmt: Watertank | ||
* date: September 17, 2015 | ||
* time: 7:49:50 pm | ||
* user: INTO-CPS | ||
* from: 20-sim 4.5 Professional Single | ||
* build: 4.5.1.5561 | ||
**********************************************************/ | ||
|
||
/***************************************************************************** | ||
-------------------------------------------------------------------------- | ||
Copyright � 1995-2007 Controllab Products B.V. All Rights Reserved. | ||
www.controllab.nl | ||
www.20sim.com | ||
Authors: Frank Groen | ||
-------------------------------------------------------------------------- | ||
Description: | ||
Contains code for converting between different angle representations | ||
all 24 different kind of Euler angles | ||
Quaternions and H-Matrices and Rotation Matrices | ||
-------------------------------------------------------------------------- | ||
******************************************************************************/ | ||
|
31 changes: 31 additions & 0 deletions
31
test-program/src/main/resources/singlewatertank-20sim/sources/EulerAngles.h
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,31 @@ | ||
/********************************************************** | ||
* This file is generated by 20-sim ANSI-C Code Generator | ||
* | ||
* file: src\EulerAngles.h | ||
* model: Watertank | ||
* expmt: Watertank | ||
* date: September 17, 2015 | ||
* time: 7:49:50 pm | ||
* user: INTO-CPS | ||
* from: 20-sim 4.5 Professional Single | ||
* build: 4.5.1.5561 | ||
**********************************************************/ | ||
|
||
/***************************************************************************** | ||
-------------------------------------------------------------------------- | ||
Copyright � 1995-2007 Controllab Products B.V. All Rights Reserved. | ||
www.controllab.nl | ||
www.20sim.com | ||
Authors: Frank Groen | ||
-------------------------------------------------------------------------- | ||
Description: | ||
Contains code for converting between different angle representations | ||
all 24 different kind of Euler angles | ||
Quaternions and H-Matrices and Rotation Matrices | ||
-------------------------------------------------------------------------- | ||
******************************************************************************/ | ||
|
4 changes: 4 additions & 0 deletions
4
test-program/src/main/resources/singlewatertank-20sim/sources/GUID.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,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<tokens> | ||
<token name="GUID"><![CDATA[cfc65592-9ece-4563-9705-1581b6e7071c]]></token> | ||
</tokens> |
Oops, something went wrong.