Add files via upload

Folder MMS contans SCADE Suite MMS model (essentially F_FC, flight control parts).
MMS_Interface_Synchro contains the MMS top level synchronization between SCADE Suite and SCADE Architect
This commit is contained in:
SylvanDissoubray
2018-02-08 16:09:27 +01:00
committed by GitHub
parent c491b3079e
commit c68a89b6b8
56 changed files with 37102 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,357 @@
<?xml version="1.0" encoding="UTF-8"?>
<Operator xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3" kind="function" name="F_Abs">
<inputs>
<Variable name="Input1">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/9036/7AC7/1190/598830cf476a"/>
</pragmas>
</Variable>
</inputs>
<outputs>
<Variable name="Output1">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/903a/7AC7/1190/598830de75e7"/>
</pragmas>
</Variable>
</outputs>
<numericTypes>
<NumericType>
<typeVar>
<TypeRef name="'T"/>
</typeVar>
</NumericType>
</numericTypes>
<locals>
<Variable name="_L1">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/9032/7AC7/1190/598830cf2552"/>
</pragmas>
</Variable>
<Variable name="_L4">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/9050/7AC7/1190/598830ef7faa"/>
</pragmas>
</Variable>
<Variable name="_L5">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/905a/7AC7/1190/598830f51118"/>
</pragmas>
</Variable>
<Variable name="_L6">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/9098/7AC7/1190/598831201ba7"/>
</pragmas>
</Variable>
<Variable name="_L7">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/90a2/7AC7/1190/598831287c53"/>
</pragmas>
</Variable>
</locals>
<data>
<!-- _L1 = Input1; -->
<Equation>
<lefts>
<VariableRef name="_L1"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="Input1"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/902e/7AC7/1190/598830cfa58"/>
</pragmas>
</Equation>
<!-- _L4 = _L1 < _L5; -->
<Equation>
<lefts>
<VariableRef name="_L4"/>
</lefts>
<right>
<!-- _L1 < _L5 -->
<BinaryOp name="1" operator="&lt;">
<operands>
<IdExpression>
<path>
<ConstVarRef name="_L1"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L5"/>
</path>
</IdExpression>
</operands>
</BinaryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/904f/7AC7/1190/598830ef69c2"/>
</pragmas>
</Equation>
<!-- _L5 = (0 : 'T); -->
<Equation>
<lefts>
<VariableRef name="_L5"/>
</lefts>
<right>
<!-- (0 : 'T) -->
<NumericCastOp name="2">
<type>
<TypeRef name="'T"/>
</type>
<flow>
<ConstValue value="0"/>
</flow>
</NumericCastOp>
</right>
<pragmas>
<ed:Equation oid="!ed/9059/7AC7/1190/598830f54d3"/>
</pragmas>
</Equation>
<!-- _L6 = - _L1; -->
<Equation>
<lefts>
<VariableRef name="_L6"/>
</lefts>
<right>
<!-- - _L1 -->
<UnaryOp name="1" operator="-">
<operand>
<IdExpression>
<path>
<ConstVarRef name="_L1"/>
</path>
</IdExpression>
</operand>
</UnaryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/9097/7AC7/1190/598831206162"/>
</pragmas>
</Equation>
<!-- _L7 = if _L4 then (_L6) else (_L1); -->
<Equation>
<lefts>
<VariableRef name="_L7"/>
</lefts>
<right>
<!-- if _L4 then (_L6) else (_L1) -->
<IfThenElseOp name="1">
<if>
<IdExpression>
<path>
<ConstVarRef name="_L4"/>
</path>
</IdExpression>
</if>
<then>
<ListExpression>
<items>
<IdExpression>
<path>
<ConstVarRef name="_L6"/>
</path>
</IdExpression>
</items>
</ListExpression>
</then>
<else>
<ListExpression>
<items>
<IdExpression>
<path>
<ConstVarRef name="_L1"/>
</path>
</IdExpression>
</items>
</ListExpression>
</else>
</IfThenElseOp>
</right>
<pragmas>
<ed:Equation oid="!ed/90a1/7AC7/1190/59883128453b"/>
</pragmas>
</Equation>
<!-- Output1 = _L7; -->
<Equation>
<lefts>
<VariableRef name="Output1"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="_L7"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/90a7/7AC7/1190/5988313bf83"/>
</pragmas>
</Equation>
</data>
<pragmas>
<ed:Operator oid="!ed/902d/7AC7/1190/598830cf1284" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<diagrams>
<NetDiagram name="F_Equal1_1" landscape="true" format="A4 (210 297)" oid="!ed/9031/7AC7/1190/598830cf2508">
<presentationElements>
<EquationGE presentable="!ed/902e/7AC7/1190/598830cfa58">
<position>
<Point x="2699" y="3281"/>
</position>
<size>
<Size width="264" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/904f/7AC7/1190/598830ef69c2">
<position>
<Point x="5503" y="1614"/>
</position>
<size>
<Size width="1006" height="661"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/902e/7AC7/1190/598830cfa58" dstEquation="!ed/904f/7AC7/1190/598830ef69c2">
<positions>
<Point x="2963" y="3545"/>
<Point x="4048" y="3545"/>
<Point x="4048" y="1826"/>
<Point x="5503" y="1826"/>
</positions>
</Edge>
<EquationGE kind="OBJ_LIT" presentable="!ed/9059/7AC7/1190/598830f54d3">
<position>
<Point x="4842" y="2037"/>
</position>
<size>
<Size width="211" height="318"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/9059/7AC7/1190/598830f54d3" dstEquation="!ed/904f/7AC7/1190/598830ef69c2">
<positions>
<Point x="5054" y="2196"/>
<Point x="5265" y="2196"/>
<Point x="5265" y="2064"/>
<Point x="5503" y="2064"/>
</positions>
</Edge>
<EquationGE presentable="!ed/9097/7AC7/1190/598831206162">
<position>
<Point x="5503" y="2566"/>
</position>
<size>
<Size width="1005" height="662"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/90a1/7AC7/1190/59883128453b">
<position>
<Point x="7964" y="2937"/>
</position>
<size>
<Size width="1005" height="926"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="3" srcEquation="!ed/902e/7AC7/1190/598830cfa58" dstEquation="!ed/90a1/7AC7/1190/59883128453b">
<positions>
<Point x="2963" y="3545"/>
<Point x="5450" y="3545"/>
<Point x="5450" y="3545"/>
<Point x="7964" y="3545"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/902e/7AC7/1190/598830cfa58" dstEquation="!ed/9097/7AC7/1190/598831206162">
<positions>
<Point x="2963" y="3545"/>
<Point x="5292" y="3545"/>
<Point x="5292" y="2910"/>
<Point x="5503" y="2910"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/9097/7AC7/1190/598831206162" dstEquation="!ed/90a1/7AC7/1190/59883128453b">
<positions>
<Point x="6509" y="2910"/>
<Point x="7223" y="2910"/>
<Point x="7223" y="3254"/>
<Point x="7964" y="3254"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/904f/7AC7/1190/598830ef69c2" dstEquation="!ed/90a1/7AC7/1190/59883128453b">
<positions>
<Point x="6509" y="1958"/>
<Point x="8467" y="1958"/>
<Point x="8467" y="2937"/>
</positions>
</Edge>
<EquationGE presentable="!ed/90a7/7AC7/1190/5988313bf83">
<position>
<Point x="9790" y="3149"/>
</position>
<size>
<Size width="317" height="502"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/90a1/7AC7/1190/59883128453b" dstEquation="!ed/90a7/7AC7/1190/5988313bf83">
<positions>
<Point x="8969" y="3413"/>
<Point x="9393" y="3413"/>
<Point x="9393" y="3413"/>
<Point x="9843" y="3413"/>
</positions>
</Edge>
</presentationElements>
</NetDiagram>
</diagrams>
</ed:Operator>
</pragmas>
</Operator>

View File

@@ -0,0 +1,384 @@
<?xml version="1.0" encoding="UTF-8"?>
<Operator xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3" kind="node" name="F_Equal">
<inputs>
<Variable name="Input1">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/8ff2/7AC7/1190/598830a33244"/>
</pragmas>
</Variable>
<Variable name="Input2">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/8ff3/7AC7/1190/598830a41947"/>
</pragmas>
</Variable>
</inputs>
<outputs>
<Variable name="Output1">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/8ff4/7AC7/1190/598830a44443"/>
</pragmas>
</Variable>
</outputs>
<numericTypes>
<NumericType>
<typeVar>
<TypeRef name="'T"/>
</typeVar>
</NumericType>
</numericTypes>
<locals>
<Variable name="_L1">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/900a/7AC7/1190/598830b75f32"/>
</pragmas>
</Variable>
<Variable name="_L2">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/900c/7AC7/1190/598830b74a4f"/>
</pragmas>
</Variable>
<Variable name="_L3">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/9014/7AC7/1190/598830c23f2f"/>
</pragmas>
</Variable>
<Variable name="_L4">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/90ad/7AC7/1190/5988314596a"/>
</pragmas>
</Variable>
<Variable name="_L5">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/90b3/7AC7/1190/5988314b7fb7"/>
</pragmas>
</Variable>
<Variable name="_L6">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/90bb/7AC7/1190/598831571db5"/>
</pragmas>
</Variable>
</locals>
<data>
<!-- _L1 = Input1; -->
<Equation>
<lefts>
<VariableRef name="_L1"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="Input1"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/9009/7AC7/1190/598830b73bfb"/>
</pragmas>
</Equation>
<!-- _L2 = Input2; -->
<Equation>
<lefts>
<VariableRef name="_L2"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="Input2"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/900b/7AC7/1190/598830b74b65"/>
</pragmas>
</Equation>
<!-- _L3 = _L1 - _L2; -->
<Equation>
<lefts>
<VariableRef name="_L3"/>
</lefts>
<right>
<!-- _L1 - _L2 -->
<BinaryOp name="1" operator="-">
<operands>
<IdExpression>
<path>
<ConstVarRef name="_L1"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L2"/>
</path>
</IdExpression>
</operands>
</BinaryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/9013/7AC7/1190/598830c25031"/>
</pragmas>
</Equation>
<!-- _L4 = F_Abs(_L3); -->
<Equation>
<lefts>
<VariableRef name="_L4"/>
</lefts>
<right>
<!-- F_Abs(_L3) -->
<CallExpression>
<operator>
<OpCall name="1">
<operator>
<OperatorRef name="F_Abs"/>
</operator>
</OpCall>
</operator>
<callParameters>
<IdExpression>
<path>
<ConstVarRef name="_L3"/>
</path>
</IdExpression>
</callParameters>
</CallExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/90ac/7AC7/1190/598831454202"/>
</pragmas>
</Equation>
<!-- _L5 = F_Epsilon; -->
<Equation>
<lefts>
<VariableRef name="_L5"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="F_Epsilon"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/90b2/7AC7/1190/5988314b189"/>
</pragmas>
</Equation>
<!-- _L6 = _L4 < _L5; -->
<Equation>
<lefts>
<VariableRef name="_L6"/>
</lefts>
<right>
<!-- _L4 < _L5 -->
<BinaryOp name="1" operator="&lt;">
<operands>
<IdExpression>
<path>
<ConstVarRef name="_L4"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L5"/>
</path>
</IdExpression>
</operands>
</BinaryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/90ba/7AC7/1190/5988315765b3"/>
</pragmas>
</Equation>
<!-- Output1 = _L6; -->
<Equation>
<lefts>
<VariableRef name="Output1"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="_L6"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/90c0/7AC7/1190/598831617309"/>
</pragmas>
</Equation>
</data>
<pragmas>
<ed:Operator oid="!ed/8fdf/7AC7/1190/598830812675" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<diagrams>
<NetDiagram name="F_Equal_1" landscape="true" format="A4 (210 297)" oid="!ed/8fe0/7AC7/1190/598830815994">
<presentationElements>
<EquationGE presentable="!ed/9009/7AC7/1190/598830b73bfb">
<position>
<Point x="3598" y="2831"/>
</position>
<size>
<Size width="264" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/900b/7AC7/1190/598830b74b65">
<position>
<Point x="3598" y="3836"/>
</position>
<size>
<Size width="264" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/9013/7AC7/1190/598830c25031">
<position>
<Point x="4948" y="2884"/>
</position>
<size>
<Size width="1005" height="662"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/9009/7AC7/1190/598830b73bfb" dstEquation="!ed/9013/7AC7/1190/598830c25031">
<positions>
<Point x="3863" y="3096"/>
<Point x="4392" y="3096"/>
<Point x="4392" y="3096"/>
<Point x="4948" y="3096"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/900b/7AC7/1190/598830b74b65" dstEquation="!ed/9013/7AC7/1190/598830c25031">
<positions>
<Point x="3863" y="4101"/>
<Point x="4392" y="4101"/>
<Point x="4392" y="3334"/>
<Point x="4948" y="3334"/>
</positions>
</Edge>
<EquationGE presentable="!ed/90ac/7AC7/1190/598831454202">
<position>
<Point x="7276" y="2514"/>
</position>
<size>
<Size width="1773" height="1402"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/9013/7AC7/1190/598830c25031" dstEquation="!ed/90ac/7AC7/1190/598831454202">
<positions>
<Point x="5953" y="3228"/>
<Point x="6615" y="3228"/>
<Point x="6615" y="3228"/>
<Point x="7276" y="3228"/>
</positions>
</Edge>
<EquationGE kind="OBJ_LIT" presentable="!ed/90b2/7AC7/1190/5988314b189">
<position>
<Point x="10213" y="3784"/>
</position>
<size>
<Size width="212" height="318"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/90ba/7AC7/1190/5988315765b3">
<position>
<Point x="11562" y="3016"/>
</position>
<size>
<Size width="1006" height="662"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/90ac/7AC7/1190/598831454202" dstEquation="!ed/90ba/7AC7/1190/5988315765b3">
<positions>
<Point x="9049" y="3228"/>
<Point x="10292" y="3228"/>
<Point x="10292" y="3228"/>
<Point x="11562" y="3228"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/90b2/7AC7/1190/5988314b189" dstEquation="!ed/90ba/7AC7/1190/5988315765b3">
<positions>
<Point x="10425" y="3942"/>
<Point x="10980" y="3942"/>
<Point x="10980" y="3466"/>
<Point x="11562" y="3466"/>
</positions>
</Edge>
<EquationGE presentable="!ed/90c0/7AC7/1190/598831617309">
<position>
<Point x="13494" y="3096"/>
</position>
<size>
<Size width="317" height="503"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/90ba/7AC7/1190/5988315765b3" dstEquation="!ed/90c0/7AC7/1190/598831617309">
<positions>
<Point x="12568" y="3360"/>
<Point x="13044" y="3360"/>
<Point x="13044" y="3360"/>
<Point x="13547" y="3360"/>
</positions>
</Edge>
</presentationElements>
</NetDiagram>
</diagrams>
</ed:Operator>
</pragmas>
</Operator>

View File

@@ -0,0 +1,8 @@
Notes-Types { Esterel-Technologies } DEFINITIONS ::=
BEGIN
END
Notes-Values { Esterel-Technologies } DEFINITIONS ::=
BEGIN
END

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,340 @@
<?xml version="1.0" encoding="UTF-8"?>
<Operator xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3" kind="node" name="F_MM">
<inputs>
<Variable name="NavigationGS">
<type>
<NamedType>
<type>
<TypeRef name="Type::ts_Navigation"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4b68/471E/275C/5914545651c1"/>
</pragmas>
</Variable>
<Variable name="MissionAbortEL">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4bfa/471E/275C/59145743809"/>
</pragmas>
</Variable>
<Variable name="ControlPanelCmd">
<type>
<NamedType>
<type>
<TypeRef name="Type::ts_ControlPanelCommad"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4baf/471E/275C/591455aa3838"/>
</pragmas>
</Variable>
<Variable name="FligthControlEstimated">
<type>
<NamedType>
<type>
<TypeRef name="Type::ts_FligthControl"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4bb9/471E/275C/591455ed46d"/>
</pragmas>
</Variable>
</inputs>
<outputs>
<Variable name="MissionStatus">
<type>
<NamedType>
<type>
<TypeRef name="Type::ts_MissionStatus"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4bfd/471E/275C/591457f769cc"/>
</pragmas>
</Variable>
<Variable name="EmergencyLanding">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4c23/471E/275C/591458b94d16"/>
</pragmas>
</Variable>
<Variable name="FligthControlCmd">
<type>
<NamedType>
<type>
<TypeRef name="Type::ts_FligthControlCmd"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4c24/471E/275C/591458cb3053"/>
</pragmas>
</Variable>
</outputs>
<locals>
<Variable name="_L19">
<type>
<NamedType>
<type>
<TypeRef name="Type::ts_FligthControlCmd"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4e09/471E/275C/591467404e88"/>
</pragmas>
</Variable>
</locals>
<data>
<StateMachine name="SM1">
<states>
<State initial="true" name="OFF">
<unless>
<Transition kind="restart">
<target>
<StateRef name="ON"/>
</target>
<condition>
<!-- ControlPanelCmd.ON_PushButton -->
<PrjOp name="2">
<flow>
<IdExpression>
<path>
<ConstVarRef name="ControlPanelCmd"/>
</path>
</IdExpression>
</flow>
<with>
<Label name="ON_PushButton"/>
</with>
</PrjOp>
</condition>
<pragmas>
<ed:Transition oid="!ed/4cd5/471E/275C/591461a77755"/>
</pragmas>
</Transition>
</unless>
<pragmas>
<ed:State oid="!ed/4cc4/471E/275C/591461954d4a"/>
</pragmas>
</State>
<State name="ON">
<unless>
<Transition kind="restart">
<target>
<StateRef name="OFF"/>
</target>
<condition>
<!-- not ControlPanelCmd.ON_PushButton -->
<UnaryOp name="1" operator="not">
<operand>
<!-- ControlPanelCmd.ON_PushButton -->
<PrjOp name="3">
<flow>
<IdExpression>
<path>
<ConstVarRef name="ControlPanelCmd"/>
</path>
</IdExpression>
</flow>
<with>
<Label name="ON_PushButton"/>
</with>
</PrjOp>
</operand>
</UnaryOp>
</condition>
<pragmas>
<ed:Transition oid="!ed/4ce7/471E/275C/591461b45dcf"/>
</pragmas>
</Transition>
</unless>
<pragmas>
<ed:State oid="!ed/4cca/471E/275C/5914619a11e9"/>
</pragmas>
</State>
</states>
<pragmas>
<ed:StateMachine oid="!ed/4cba/471E/275C/5914618e6057"/>
</pragmas>
</StateMachine>
<!-- FligthControlCmd = _L19; -->
<Equation>
<lefts>
<VariableRef name="FligthControlCmd"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="_L19"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/4dfa/471E/275C/591467251710"/>
</pragmas>
</Equation>
<!-- _L19 = (make Type::ts_FligthControlCmd)(_null, _null, _null, _null, _null, _null)... -->
<Equation>
<lefts>
<VariableRef name="_L19"/>
</lefts>
<right>
<!-- (make Type::ts_FligthControlCmd)(_null, _null, _null, _null, _null, _null) -->
<CallExpression>
<operator>
<MakeOp>
<type>
<TypeRef name="Type::ts_FligthControlCmd"/>
</type>
</MakeOp>
</operator>
<callParameters>
<IdExpression>
<path>
<NullRef/>
</path>
</IdExpression>
<IdExpression>
<path>
<NullRef/>
</path>
</IdExpression>
<IdExpression>
<path>
<NullRef/>
</path>
</IdExpression>
<IdExpression>
<path>
<NullRef/>
</path>
</IdExpression>
<IdExpression>
<path>
<NullRef/>
</path>
</IdExpression>
<IdExpression>
<path>
<NullRef/>
</path>
</IdExpression>
</callParameters>
</CallExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/4e08/471E/275C/591467403014"/>
</pragmas>
</Equation>
</data>
<pragmas>
<ed:Operator oid="!ed/4b0f/471E/275C/591452d07e24" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<diagrams>
<NetDiagram name="F_MM_1" landscape="true" format="A4 (210 297)" oid="!ed/4b10/471E/275C/591452d03ac2">
<presentationElements>
<StateMachineGE presentable="!ed/4cba/471E/275C/5914618e6057">
<position>
<Point x="688" y="926"/>
</position>
<size>
<Size width="28337" height="18574"/>
</size>
</StateMachineGE>
<StateGE presentable="!ed/4cc4/471E/275C/591461954d4a">
<position>
<Point x="1482" y="9260"/>
</position>
<size>
<Size width="1852" height="1773"/>
</size>
</StateGE>
<StateGE presentable="!ed/4cca/471E/275C/5914619a11e9">
<position>
<Point x="4524" y="1693"/>
</position>
<size>
<Size width="23733" height="17251"/>
</size>
</StateGE>
<TransitionGE presentable="!ed/4cd5/471E/275C/591461a77755">
<positions>
<Point x="2302" y="9260"/>
<Point x="2223" y="7117"/>
<Point x="3360" y="7117"/>
<Point x="4524" y="7091"/>
</positions>
<labelSize>
<Size width="3254" height="370"/>
</labelSize>
<labelPos>
<Point x="1111" y="5556"/>
</labelPos>
<slashPos>
<Point x="3572" y="5556"/>
</slashPos>
</TransitionGE>
<TransitionGE presentable="!ed/4ce7/471E/275C/591461b45dcf">
<positions>
<Point x="4524" y="13785"/>
<Point x="2434" y="13811"/>
<Point x="2408" y="12435"/>
<Point x="2381" y="11033"/>
</positions>
<labelSize>
<Size width="3175" height="370"/>
</labelSize>
<labelPos>
<Point x="820" y="14155"/>
</labelPos>
<slashPos>
<Point x="3201" y="14155"/>
</slashPos>
</TransitionGE>
<EquationGE presentable="!ed/4dfa/471E/275C/591467251710">
<position>
<Point x="21775" y="22622"/>
</position>
<size>
<Size width="317" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/4e08/471E/275C/591467403014">
<position>
<Point x="17534" y="19889"/>
</position>
<size>
<Size width="2688" height="5995"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4e08/471E/275C/591467403014" dstEquation="!ed/4dfa/471E/275C/591467251710">
<positions>
<Point x="20214" y="22886"/>
<Point x="21008" y="22886"/>
<Point x="21008" y="22886"/>
<Point x="21828" y="22886"/>
</positions>
</Edge>
</presentationElements>
</NetDiagram>
</diagrams>
</ed:Operator>
</pragmas>
</Operator>

View File

@@ -0,0 +1,164 @@
<?xml version="1.0" encoding="UTF-8"?>
<File xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3">
<declarations>
<Package name="FlightControl">
<declarations>
<Package name="SafetyConstant" href="SafetyConstant.xscade"/>
<Constant external="imported" name="ClimbGains">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4e62/471E/275C/591476656ffd"/>
</pragmas>
</Constant>
<Constant external="imported" name="CruiseGains">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4e63/471E/275C/591476652787"/>
</pragmas>
</Constant>
<Constant external="imported" name="DescentGains">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4e64/471E/275C/5914766639a7"/>
</pragmas>
</Constant>
<Constant name="J0">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<value>
<ConstValue value="10.0"/>
</value>
<pragmas>
<ed:Constant oid="!ed/9890/471E/275C/591582123b6a" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<comment>kg.m²</comment>
</ed:Constant>
</pragmas>
</Constant>
<Constant name="L">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<value>
<ConstValue value="1000.0"/>
</value>
<pragmas>
<ed:Constant oid="!ed/9899/471E/275C/5915822c3eb8" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<comment>m</comment>
</ed:Constant>
</pragmas>
</Constant>
<Constant name="M0">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<value>
<ConstValue value="1000.0"/>
</value>
<pragmas>
<ed:Constant oid="!ed/98a2/471E/275C/5915823cf0a" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<comment>kg</comment>
</ed:Constant>
</pragmas>
</Constant>
<Constant name="RecoverySpeed">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<value>
<ConstValue value="1.0"/>
</value>
<pragmas>
<ed:Constant oid="!ed/98ab/471E/275C/5915824a24bb" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<comment>m/s</comment>
</ed:Constant>
</pragmas>
</Constant>
<Constant name="CommutationDuration">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<value>
<ConstValue value="1.0"/>
</value>
<pragmas>
<ed:Constant oid="!ed/99e7/471E/275C/591584b85457" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<comment>s</comment>
</ed:Constant>
</pragmas>
</Constant>
<Constant name="g">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<value>
<ConstValue value="9.8"/>
</value>
<pragmas>
<ed:Constant oid="!ed/8ac1/B5A/FD4/5982ecea8cd"/>
</pragmas>
</Constant>
<Operator name="F_FC" href="F_FC.xscade"/>
<Operator name="GainsPID" href="GainsPID.xscade"/>
<Operator name="CheckEnvelope" href="CheckEnvelope.xscade"/>
<Operator name="IntermediateSetPoint" href="IntermediateSetPoint.xscade"/>
<Operator name="PID" href="PID.xscade"/>
<Operator name="EnergyModeComputation" href="EnergyModeComputation.xscade"/>
<Operator name="StateVectorComputation" href="StateVectorComputation.xscade"/>
<Operator name="SetPointGeneration" href="SetPointGeneration.xscade"/>
<Operator name="ControlLaws" href="ControlLaws.xscade"/>
</declarations>
<pragmas>
<ed:Package oid="!ed/4e17/471E/275C/591474e348b9" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<diagrams>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/4e18/471E/275C/591474e3ac8" blockKind="constants"/>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/4e19/471E/275C/591474e33c33" blockKind="types"/>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/4e1a/471E/275C/591474e379dd" blockKind="sensors"/>
</diagrams>
</ed:Package>
</pragmas>
</Package>
</declarations>
</File>

View File

@@ -0,0 +1,569 @@
<?xml version="1.0" encoding="UTF-8"?>
<Operator xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3" kind="function" name="GainsPID">
<inputs>
<Variable name="Mass">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4e7f/471E/275C/591476bc250f"/>
</pragmas>
</Variable>
<Variable name="Altitude">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4e80/471E/275C/591476bf588c"/>
</pragmas>
</Variable>
<Variable name="Speed">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4e81/471E/275C/591476c5915"/>
</pragmas>
</Variable>
<Variable name="phase">
<type>
<NamedType>
<type>
<TypeRef name="Type::te_Phase"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4f89/471E/275C/59147971514d" hidden="true"/>
</pragmas>
</Variable>
</inputs>
<outputs>
<Variable name="Kp">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4e9a/471E/275C/591476d05a3b"/>
</pragmas>
</Variable>
<Variable name="Kd">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4e9b/471E/275C/591476d9525b"/>
</pragmas>
</Variable>
<Variable name="Ki">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4e9c/471E/275C/591476e76603"/>
</pragmas>
</Variable>
</outputs>
<locals>
<Variable name="_L1">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/9405/7AC7/1190/598839a45190"/>
</pragmas>
</Variable>
<Variable name="_L2">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/9428/7AC7/1190/598839ae3a4d"/>
</pragmas>
</Variable>
<Variable name="_L3">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/9447/7AC7/1190/598839b776fb"/>
</pragmas>
</Variable>
<Variable name="_L4">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/9459/7AC7/1190/598839c313a9"/>
</pragmas>
</Variable>
<Variable name="_L5">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/945b/7AC7/1190/598839c3303"/>
</pragmas>
</Variable>
<Variable name="_L6">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/945d/7AC7/1190/598839c33711"/>
</pragmas>
</Variable>
<Variable name="_L7">
<type>
<NamedType>
<type>
<TypeRef name="Type::te_Phase"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/945f/7AC7/1190/598839c38df"/>
</pragmas>
</Variable>
</locals>
<data>
<!-- Kp = _L1; -->
<Equation>
<lefts>
<VariableRef name="Kp"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="_L1"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/93fb/7AC7/1190/598839a14fac"/>
</pragmas>
</Equation>
<!-- Kd = _L2; -->
<Equation>
<lefts>
<VariableRef name="Kd"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="_L2"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/93fc/7AC7/1190/598839a12004"/>
</pragmas>
</Equation>
<!-- Ki = _L3; -->
<Equation>
<lefts>
<VariableRef name="Ki"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="_L3"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/93fd/7AC7/1190/598839a1208"/>
</pragmas>
</Equation>
<!-- _L1 = 1.0; -->
<Equation>
<lefts>
<VariableRef name="_L1"/>
</lefts>
<right>
<ConstValue value="1.0"/>
</right>
<pragmas>
<ed:Equation oid="!ed/9404/7AC7/1190/598839a4744"/>
</pragmas>
</Equation>
<!-- _L2 = 0.25; -->
<Equation>
<lefts>
<VariableRef name="_L2"/>
</lefts>
<right>
<ConstValue value="0.25"/>
</right>
<pragmas>
<ed:Equation oid="!ed/9427/7AC7/1190/598839ae4ac5"/>
</pragmas>
</Equation>
<!-- _L3 = 0.5; -->
<Equation>
<lefts>
<VariableRef name="_L3"/>
</lefts>
<right>
<ConstValue value="0.5"/>
</right>
<pragmas>
<ed:Equation oid="!ed/9446/7AC7/1190/598839b74893"/>
</pragmas>
</Equation>
<!-- _L4 = Mass; -->
<Equation>
<lefts>
<VariableRef name="_L4"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="Mass"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/9458/7AC7/1190/598839c34dcd"/>
</pragmas>
</Equation>
<!-- _L5 = Altitude; -->
<Equation>
<lefts>
<VariableRef name="_L5"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="Altitude"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/945a/7AC7/1190/598839c3221d"/>
</pragmas>
</Equation>
<!-- _L6 = Speed; -->
<Equation>
<lefts>
<VariableRef name="_L6"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="Speed"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/945c/7AC7/1190/598839c3249d"/>
</pragmas>
</Equation>
<!-- _L7 = phase; -->
<Equation>
<lefts>
<VariableRef name="_L7"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="phase"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/945e/7AC7/1190/598839c369e6"/>
</pragmas>
</Equation>
<!-- _ = _L4; -->
<Equation>
<lefts>
<VariableRef name="_"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="_L4"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/9467/7AC7/1190/598839c710c5"/>
</pragmas>
</Equation>
<!-- _ = _L5; -->
<Equation>
<lefts>
<VariableRef name="_"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="_L5"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/946c/7AC7/1190/598839c87002"/>
</pragmas>
</Equation>
<!-- _ = _L6; -->
<Equation>
<lefts>
<VariableRef name="_"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="_L6"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/9471/7AC7/1190/598839c9528b"/>
</pragmas>
</Equation>
<!-- _ = _L7; -->
<Equation>
<lefts>
<VariableRef name="_"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="_L7"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/9476/7AC7/1190/598839ca1e85"/>
</pragmas>
</Equation>
</data>
<pragmas>
<ed:Operator oid="!ed/4e7d/471E/275C/591476a77805" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<diagrams>
<NetDiagram name="GainsPID_1" landscape="true" format="A4 (210 297)" oid="!ed/93fa/7AC7/1190/598839997184">
<presentationElements>
<EquationGE presentable="!ed/93fb/7AC7/1190/598839a14fac">
<position>
<Point x="10001" y="2037"/>
</position>
<size>
<Size width="318" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/93fc/7AC7/1190/598839a12004">
<position>
<Point x="10001" y="3069"/>
</position>
<size>
<Size width="318" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/93fd/7AC7/1190/598839a1208">
<position>
<Point x="10001" y="4101"/>
</position>
<size>
<Size width="318" height="503"/>
</size>
</EquationGE>
<EquationGE kind="OBJ_LIT" presentable="!ed/9404/7AC7/1190/598839a4744">
<position>
<Point x="8916" y="2143"/>
</position>
<size>
<Size width="212" height="317"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/9404/7AC7/1190/598839a4744" dstEquation="!ed/93fb/7AC7/1190/598839a14fac">
<positions>
<Point x="9128" y="2302"/>
<Point x="9578" y="2302"/>
<Point x="9578" y="2302"/>
<Point x="10054" y="2302"/>
</positions>
</Edge>
<EquationGE kind="OBJ_LIT" presentable="!ed/9427/7AC7/1190/598839ae4ac5">
<position>
<Point x="8916" y="3175"/>
</position>
<size>
<Size width="212" height="318"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/9427/7AC7/1190/598839ae4ac5" dstEquation="!ed/93fc/7AC7/1190/598839a12004">
<positions>
<Point x="9128" y="3334"/>
<Point x="9578" y="3334"/>
<Point x="9578" y="3334"/>
<Point x="10054" y="3334"/>
</positions>
</Edge>
<EquationGE kind="OBJ_LIT" presentable="!ed/9446/7AC7/1190/598839b74893">
<position>
<Point x="8916" y="4207"/>
</position>
<size>
<Size width="212" height="317"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/9446/7AC7/1190/598839b74893" dstEquation="!ed/93fd/7AC7/1190/598839a1208">
<positions>
<Point x="9128" y="4366"/>
<Point x="9578" y="4366"/>
<Point x="9578" y="4366"/>
<Point x="10054" y="4366"/>
</positions>
</Edge>
<EquationGE presentable="!ed/9458/7AC7/1190/598839c34dcd">
<position>
<Point x="2593" y="1773"/>
</position>
<size>
<Size width="265" height="502"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/945a/7AC7/1190/598839c3221d">
<position>
<Point x="2593" y="2805"/>
</position>
<size>
<Size width="265" height="502"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/945c/7AC7/1190/598839c3249d">
<position>
<Point x="2593" y="3836"/>
</position>
<size>
<Size width="265" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/945e/7AC7/1190/598839c369e6">
<position>
<Point x="2593" y="4868"/>
</position>
<size>
<Size width="265" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/9467/7AC7/1190/598839c710c5">
<position>
<Point x="3810" y="1773"/>
</position>
<size>
<Size width="503" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/946c/7AC7/1190/598839c87002">
<position>
<Point x="3757" y="2805"/>
</position>
<size>
<Size width="503" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/9471/7AC7/1190/598839c9528b">
<position>
<Point x="3625" y="3836"/>
</position>
<size>
<Size width="503" height="502"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/9476/7AC7/1190/598839ca1e85">
<position>
<Point x="3757" y="4868"/>
</position>
<size>
<Size width="503" height="502"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/9458/7AC7/1190/598839c34dcd" dstEquation="!ed/9467/7AC7/1190/598839c710c5">
<positions>
<Point x="2858" y="2037"/>
<Point x="3466" y="2037"/>
<Point x="3466" y="2037"/>
<Point x="4075" y="2037"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/945a/7AC7/1190/598839c3221d" dstEquation="!ed/946c/7AC7/1190/598839c87002">
<positions>
<Point x="2858" y="3069"/>
<Point x="3440" y="3069"/>
<Point x="3440" y="3069"/>
<Point x="4022" y="3069"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/945c/7AC7/1190/598839c3249d" dstEquation="!ed/9471/7AC7/1190/598839c9528b">
<positions>
<Point x="2858" y="4101"/>
<Point x="3360" y="4101"/>
<Point x="3360" y="4101"/>
<Point x="3889" y="4101"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/945e/7AC7/1190/598839c369e6" dstEquation="!ed/9476/7AC7/1190/598839ca1e85">
<positions>
<Point x="2858" y="5133"/>
<Point x="3440" y="5133"/>
<Point x="3440" y="5133"/>
<Point x="4022" y="5133"/>
</positions>
</Edge>
</presentationElements>
</NetDiagram>
</diagrams>
</ed:Operator>
</pragmas>
</Operator>

View File

@@ -0,0 +1,230 @@
<?xml version="1.0" encoding="UTF-8"?>
<Operator xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3" kind="function" name="IntermediateSetPoint">
<inputs>
<Variable name="Current">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5122/471E/275C/59156ec820af"/>
</pragmas>
</Variable>
<Variable name="Target">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5123/471E/275C/59156ecf1824"/>
</pragmas>
</Variable>
</inputs>
<outputs>
<Variable name="IntermediateSetPoint">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5124/471E/275C/59156ee06b9a"/>
</pragmas>
</Variable>
</outputs>
<numericTypes>
<NumericType>
<typeVar>
<TypeRef name="'T"/>
</typeVar>
</NumericType>
</numericTypes>
<locals>
<Variable name="_L1">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5126/471E/275C/59156ef17148"/>
</pragmas>
</Variable>
<Variable name="_L2">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5128/471E/275C/59156ef15b1f"/>
</pragmas>
</Variable>
<Variable name="_L3">
<type>
<NamedType>
<type>
<TypeRef name="'T"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5130/471E/275C/59156ef4222e"/>
</pragmas>
</Variable>
</locals>
<data>
<!-- _L1 = Current; -->
<Equation>
<lefts>
<VariableRef name="_L1"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="Current"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/5125/471E/275C/59156ef17321"/>
</pragmas>
</Equation>
<!-- _L2 = Target; -->
<Equation>
<lefts>
<VariableRef name="_L2"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="Target"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/5127/471E/275C/59156ef16797"/>
</pragmas>
</Equation>
<!-- _L3 = _L1 + _L2; -->
<Equation>
<lefts>
<VariableRef name="_L3"/>
</lefts>
<right>
<!-- _L1 + _L2 -->
<NAryOp name="1" operator="+">
<operands>
<IdExpression>
<path>
<ConstVarRef name="_L1"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L2"/>
</path>
</IdExpression>
</operands>
</NAryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/512f/471E/275C/59156ef44571"/>
</pragmas>
</Equation>
<!-- IntermediateSetPoint = _L3; -->
<Equation>
<lefts>
<VariableRef name="IntermediateSetPoint"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="_L3"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/5135/471E/275C/59156efc17f7"/>
</pragmas>
</Equation>
</data>
<pragmas>
<ed:Operator oid="!ed/5120/471E/275C/59156eb81055" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<diagrams>
<NetDiagram name="IntermediateSetPoint_1" landscape="true" format="A4 (210 297)" oid="!ed/5121/471E/275C/59156eb8ff7">
<presentationElements>
<EquationGE presentable="!ed/5125/471E/275C/59156ef17321">
<position>
<Point x="2514" y="1085"/>
</position>
<size>
<Size width="264" height="502"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/5127/471E/275C/59156ef16797">
<position>
<Point x="2514" y="2117"/>
</position>
<size>
<Size width="264" height="502"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/512f/471E/275C/59156ef44571">
<position>
<Point x="3228" y="1535"/>
</position>
<size>
<Size width="1006" height="662"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/5125/471E/275C/59156ef17321" dstEquation="!ed/512f/471E/275C/59156ef44571">
<positions>
<Point x="2778" y="1349"/>
<Point x="2990" y="1349"/>
<Point x="2990" y="1746"/>
<Point x="3228" y="1746"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/5127/471E/275C/59156ef16797" dstEquation="!ed/512f/471E/275C/59156ef44571">
<positions>
<Point x="2778" y="2381"/>
<Point x="2990" y="2381"/>
<Point x="2990" y="1984"/>
<Point x="3228" y="1984"/>
</positions>
</Edge>
<EquationGE presentable="!ed/5135/471E/275C/59156efc17f7">
<position>
<Point x="5159" y="1614"/>
</position>
<size>
<Size width="317" height="502"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/512f/471E/275C/59156ef44571" dstEquation="!ed/5135/471E/275C/59156efc17f7">
<positions>
<Point x="4233" y="1879"/>
<Point x="4710" y="1879"/>
<Point x="4710" y="1879"/>
<Point x="5212" y="1879"/>
</positions>
</Edge>
</presentationElements>
</NetDiagram>
</diagrams>
</ed:Operator>
</pragmas>
</Operator>

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<File xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3">
<declarations>
<Package name="LIB">
<declarations>
<Constant name="F_Epsilon">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<value>
<ConstValue value="0.001"/>
</value>
<pragmas>
<ed:Constant oid="!ed/8fe1/7AC7/1190/59883087732f"/>
</pragmas>
</Constant>
<Operator name="F_Equal" href="F_Equal.xscade"/>
<Operator name="F_Abs" href="F_Abs.xscade"/>
</declarations>
<pragmas>
<ed:Package oid="!ed/8fdb/7AC7/1190/598830762424" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<diagrams>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/8fdc/7AC7/1190/5988307628c0" blockKind="constants"/>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/8fdd/7AC7/1190/5988307660be" blockKind="types"/>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/8fde/7AC7/1190/598830766381" blockKind="sensors"/>
</diagrams>
</ed:Package>
</pragmas>
</Package>
</declarations>
</File>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="ASCII"?>
<ALMGateway:ALMGProject xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ALMGateway="http://www.esterel-technologies.com/scade/lifecycle/almgateway" name="MMS" id="_v3l2oGbiEeeW2_CiYCwIQw">
<connectors xsi:type="ALMGateway:ReqtifyConnector" rqtfFile="..\..\System\muXAV_v3\muXAV_v3.rqtf"/>
</ALMGateway:ALMGProject>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,587 @@
<?xml version="1.0" encoding="UTF-8"?>
<Project id="1" oid_count="160" defaultConfiguration="24">
<props>
<Prop id="10" name="@STUDIO:PRODUCT">
<value>SC</value>
</Prop>
<Prop id="11" name="@SCADE:SAVEVERSION">
<value>SCADE65</value>
</Prop>
<Prop id="15" name="@GENERATOR:TARGET_DIR">
<value>$(Configuration)</value>
<configuration>14</configuration>
</Prop>
<Prop id="16" name="@VC6.0:ADD_COMP_OPTIONS">
<value>/nologo /ML /O2</value>
<configuration>14</configuration>
</Prop>
<Prop id="17" name="@GENERATOR:GENERATOR">
<value>C QUAL65</value>
<configuration>14</configuration>
</Prop>
<Prop id="18" name="@GENERATOR:USE_TYPES">
<value>char</value>
<value>float32</value>
<value>float64</value>
<value>int8</value>
<value>int16</value>
<value>int32</value>
<value>int64</value>
<value>uint8</value>
<value>uint16</value>
<value>uint32</value>
<value>uint64</value>
<value>size</value>
<configuration>14</configuration>
</Prop>
<Prop id="19" name="@GENERATOR:OPTLEVEL">
<value>1</value>
<configuration>14</configuration>
</Prop>
<Prop id="20" name="@GENERATOR:USER_CONFIG">
<value>$(TargetDir)\user_macros.h</value>
<configuration>14</configuration>
</Prop>
<Prop id="21" name="@GENERATOR:ENABLE_EXTENSIONS">
<value>false</value>
<configuration>14</configuration>
</Prop>
<Prop id="22" name="@SIMULATOR:CPU_TYPE">
<value>win64</value>
<configuration>14</configuration>
</Prop>
<Prop id="23" name="@STUDIO:TOOLCONF">
<value>Code Generator</value>
<value>14</value>
<value>24</value>
<value>46</value>
<value>59</value>
</Prop>
<Prop id="25" name="@GENERATOR:TARGET_DIR">
<value>$(Configuration)</value>
<configuration>24</configuration>
</Prop>
<Prop id="26" name="@VC6.0:ADD_COMP_OPTIONS">
<value>/nologo /ML /O2</value>
<configuration>24</configuration>
</Prop>
<Prop id="27" name="@GENERATOR:GENERATOR">
<value>C QUAL65</value>
<configuration>24</configuration>
</Prop>
<Prop id="28" name="@GENERATOR:USE_TYPES">
<value>char</value>
<value>float32</value>
<value>float64</value>
<value>int8</value>
<value>int16</value>
<value>int32</value>
<value>int64</value>
<value>uint8</value>
<value>uint16</value>
<value>uint32</value>
<value>uint64</value>
<value>size</value>
<configuration>24</configuration>
</Prop>
<Prop id="29" name="@GENERATOR:OPTLEVEL">
<value>0</value>
<configuration>24</configuration>
</Prop>
<Prop id="30" name="@GENERATOR:DEBUG">
<value>true</value>
<configuration>24</configuration>
</Prop>
<Prop id="31" name="@GENERATOR:PROBES">
<value>true</value>
<configuration>24</configuration>
</Prop>
<Prop id="32" name="@GENERATOR:SKIP_UNUSED">
<value>true</value>
<configuration>24</configuration>
</Prop>
<Prop id="33" name="@GENERATOR:TARGET_ADAPTOR">
<value>Simulator</value>
<configuration>24</configuration>
</Prop>
<Prop id="34" name="@GENERATOR:USER_CONFIG">
<value>$(TargetDir)\user_macros.h</value>
<configuration>24</configuration>
</Prop>
<Prop id="35" name="@SIMULATOR:CPU_TYPE">
<value>win64</value>
<configuration>24</configuration>
</Prop>
<Prop id="37" name="@REPORTER:SCRIPT">
<value>Reporter/ScadeReport.tcl</value>
<configuration>36</configuration>
</Prop>
<Prop id="38" name="@REPORTER:RotateLandscape">
<value>true</value>
<configuration>36</configuration>
</Prop>
<Prop id="39" name="@REPORTER:cstDisplayType">
<value>Flat</value>
<configuration>36</configuration>
</Prop>
<Prop id="40" name="@STUDIO:TOOLCONF">
<value>Reporter</value>
<value>36</value>
<value>41</value>
<value>46</value>
<value>71</value>
</Prop>
<Prop id="42" name="@REPORTER:FORMAT">
<value>rtf</value>
<configuration>41</configuration>
</Prop>
<Prop id="43" name="@REPORTER:SCRIPT">
<value>Reporter/ScadeReport.tcl</value>
<configuration>41</configuration>
</Prop>
<Prop id="44" name="@REPORTER:RotateLandscape">
<value>true</value>
<configuration>41</configuration>
</Prop>
<Prop id="45" name="@REPORTER:cstDisplayType">
<value>Flat</value>
<configuration>41</configuration>
</Prop>
<Prop id="47" name="@STUDIO:TOOLCONF">
<value>Instrumenter</value>
<value>46</value>
</Prop>
<Prop id="48" name="@GENERATOR:TARGET_DIR">
<value>$(Configuration)</value>
<configuration>46</configuration>
</Prop>
<Prop id="49" name="@VC6.0:ADD_COMP_OPTIONS">
<value>/nologo /ML /O2</value>
<configuration>46</configuration>
</Prop>
<Prop id="50" name="@GENERATOR:GENERATOR">
<value>C QUAL65</value>
<configuration>46</configuration>
</Prop>
<Prop id="51" name="@GENERATOR:USE_TYPES">
<value>char</value>
<value>float32</value>
<value>float64</value>
<value>int8</value>
<value>int16</value>
<value>int32</value>
<value>int64</value>
<value>uint8</value>
<value>uint16</value>
<value>uint32</value>
<value>uint64</value>
<value>size</value>
<configuration>46</configuration>
</Prop>
<Prop id="52" name="@GENERATOR:OPTLEVEL">
<value>1</value>
<configuration>46</configuration>
</Prop>
<Prop id="53" name="@GENERATOR:USER_CONFIG">
<value>$(TargetDir)\user_macros.h</value>
<configuration>46</configuration>
</Prop>
<Prop id="54" name="@GENERATOR:PROBES">
<value>true</value>
<configuration>46</configuration>
</Prop>
<Prop id="55" name="@SIMULATOR:ADD_COMP_OPTIONS">
<value></value>
<configuration>46</configuration>
</Prop>
<Prop id="56" name="@REPORTER:SCRIPT">
<value>Reporter/MtcReport.tcl</value>
<configuration>46</configuration>
</Prop>
<Prop id="57" name="@GENERATOR:TARGET_ADAPTOR">
<value>Simulator</value>
<configuration>46</configuration>
</Prop>
<Prop id="58" name="@SIMULATOR:CPU_TYPE">
<value>win64</value>
<configuration>46</configuration>
</Prop>
<Prop id="60" name="@GENERATOR:TARGET_DIR">
<value>$(Configuration)</value>
<configuration>59</configuration>
</Prop>
<Prop id="61" name="@VC6.0:ADD_COMP_OPTIONS">
<value>/nologo /ML /O2</value>
<configuration>59</configuration>
</Prop>
<Prop id="62" name="@GENERATOR:GENERATOR">
<value>C QUAL65</value>
<configuration>59</configuration>
</Prop>
<Prop id="63" name="@GENERATOR:USE_TYPES">
<value>char</value>
<value>float32</value>
<value>float64</value>
<value>int8</value>
<value>int16</value>
<value>int32</value>
<value>int64</value>
<value>uint8</value>
<value>uint16</value>
<value>uint32</value>
<value>uint64</value>
<value>size</value>
<configuration>59</configuration>
</Prop>
<Prop id="64" name="@GENERATOR:OPTLEVEL">
<value>1</value>
<configuration>59</configuration>
</Prop>
<Prop id="65" name="@GENERATOR:USER_CONFIG">
<value>$(TargetDir)\user_macros.h</value>
<configuration>59</configuration>
</Prop>
<Prop id="66" name="@GENERATOR:TARGET_ADAPTOR">
<value>T&amp;S Verifier</value>
<configuration>59</configuration>
</Prop>
<Prop id="67" name="@STUDIO:TOOLCONF">
<value>Timing and Stack Verifiers</value>
<value>59</value>
</Prop>
<Prop id="69" name="@DASHBOARD:SCRIPT">
<value>DashBoard/DashBoardReport.tcl</value>
<configuration>68</configuration>
</Prop>
<Prop id="70" name="@STUDIO:TOOLCONF">
<value>Dashboard</value>
<value>68</value>
</Prop>
<Prop id="72" name="@REPORTER:FORMAT">
<value>rtf</value>
<configuration>71</configuration>
</Prop>
<Prop id="73" name="@REPORTER:SCRIPT">
<value>Reporter/ScadeQualifiedReport.tcl</value>
<configuration>71</configuration>
</Prop>
<Prop id="74" name="@REPORTER:RotateLandscape">
<value>true</value>
<configuration>71</configuration>
</Prop>
<Prop id="75" name="@REPORTER:cstDisplayType">
<value>Flat</value>
<configuration>71</configuration>
</Prop>
<Prop id="76" name="@REPORTER:AllowRowToBreak">
<value>true</value>
<configuration>71</configuration>
</Prop>
<Prop id="77" name="@REPORTER:DisplayCalledAndCalling">
<value>true</value>
<configuration>71</configuration>
</Prop>
<Prop id="78" name="@REPORTER:DisplayKCGPragma">
<value>true</value>
<configuration>71</configuration>
</Prop>
<Prop id="80" name="@GENERATOR:TARGET_DIR">
<value>$(Configuration)</value>
<configuration>79</configuration>
</Prop>
<Prop id="81" name="@VC6.0:ADD_COMP_OPTIONS">
<value>/nologo /ML /O2</value>
<configuration>79</configuration>
</Prop>
<Prop id="82" name="@GENERATOR:GENERATOR">
<value>C QUAL65</value>
<configuration>79</configuration>
</Prop>
<Prop id="83" name="@GENERATOR:USE_TYPES">
<value>char</value>
<value>float32</value>
<value>float64</value>
<value>int8</value>
<value>int16</value>
<value>int32</value>
<value>int64</value>
<value>uint8</value>
<value>uint16</value>
<value>uint32</value>
<value>uint64</value>
<value>size</value>
<configuration>79</configuration>
</Prop>
<Prop id="84" name="@GENERATOR:OPTLEVEL">
<value>0</value>
<configuration>79</configuration>
</Prop>
<Prop id="85" name="@GENERATOR:DEBUG">
<value>true</value>
<configuration>79</configuration>
</Prop>
<Prop id="86" name="@GENERATOR:PROBES">
<value>true</value>
<configuration>79</configuration>
</Prop>
<Prop id="87" name="@GENERATOR:SKIP_UNUSED">
<value>true</value>
<configuration>79</configuration>
</Prop>
<Prop id="88" name="@GENERATOR:TARGET_ADAPTOR">
<value>Simulator</value>
<configuration>79</configuration>
</Prop>
<Prop id="89" name="@GENERATOR:USER_CONFIG">
<value>$(TargetDir)\user_macros.h</value>
<configuration>79</configuration>
</Prop>
<Prop id="90" name="@SIMULATOR:CPU_TYPE">
<value>win64</value>
<configuration>79</configuration>
</Prop>
<Prop id="91" name="@STUDIO:TOOLCONF">
<value>Synchronization</value>
<value>79</value>
</Prop>
<Prop id="92" name="@SCADE:DEFAULTFILE">
<value>MMS.xscade</value>
</Prop>
<Prop id="93" name="@SCADE:SEMFILE">
<value>MMS.err</value>
</Prop>
<Prop id="94" name="@SCADE:NOTEFILE">
<value>$(SCADE)/lib/DefaultAty.aty</value>
</Prop>
<Prop id="95" name="@SCADE:NEWVARIABLESYMBOLS">
<value>true</value>
</Prop>
<Prop id="96" name="@STUDIO:TITLE">
<value>&lt;title&gt;</value>
</Prop>
<Prop id="97" name="@STUDIO:SUBTITLE">
<value>&lt;subtitle&gt;</value>
</Prop>
<Prop id="98" name="@STUDIO:DESCRIPTION">
<value>&lt;description&gt;</value>
</Prop>
<Prop id="99" name="@STUDIO:AUTHORS">
<value>&lt;authors&gt;</value>
</Prop>
<Prop id="100" name="@STUDIO:COMPAGNY">
<value>&lt;company&gt;</value>
</Prop>
<Prop id="101" name="@STUDIO:DATE">
<value>&lt;date&gt;</value>
</Prop>
<Prop id="102" name="@STUDIO:INDEX">
<value>&lt;index&gt;</value>
</Prop>
<Prop id="103" name="@STUDIO:REFERENCE">
<value>&lt;reference&gt;</value>
</Prop>
<Prop id="104" name="@STUDIO:TOOLCONF">
<value>Timing and Stack Analysis Tools</value>
<value>14</value>
<value>24</value>
<value>36</value>
<value>41</value>
<value>46</value>
<value>59</value>
<value>68</value>
<value>71</value>
<value>79</value>
</Prop>
<Prop id="105" name="@STUDIO:TOOLCONF">
<value>DiffAnalyzer</value>
<value>14</value>
<value>24</value>
<value>36</value>
<value>41</value>
<value>46</value>
<value>59</value>
<value>68</value>
<value>71</value>
<value>79</value>
</Prop>
<Prop id="110" name="@SCADE:CHECKED">
<value>false</value>
</Prop>
<Prop id="135" name="@STUDIO:TOOLCONF">
<value>Architect Checker</value>
<value>14</value>
<value>24</value>
<value>36</value>
<value>41</value>
<value>46</value>
<value>59</value>
<value>68</value>
<value>71</value>
<value>79</value>
</Prop>
<Prop id="136" name="@STUDIO:TOOLCONF">
<value>Architect Configurator</value>
<value>14</value>
<value>24</value>
<value>36</value>
<value>41</value>
<value>46</value>
<value>59</value>
<value>68</value>
<value>71</value>
<value>79</value>
</Prop>
<Prop id="150" name="@GENERATOR:ROOTNODE">
<value>FlightControl::F_FC</value>
<configuration>24</configuration>
</Prop>
<Prop id="151" name="@STUDIO:TOOLCONF">
<value>Design Verifier</value>
<value>14</value>
<value>24</value>
<value>36</value>
<value>41</value>
<value>46</value>
<value>59</value>
<value>68</value>
<value>71</value>
<value>79</value>
</Prop>
<Prop id="152" name="@STUDIO:TOOLCONF">
<value>Test Tool</value>
<value>14</value>
<value>24</value>
<value>36</value>
<value>41</value>
<value>46</value>
<value>59</value>
<value>68</value>
<value>71</value>
<value>79</value>
</Prop>
</props>
<roots>
<Folder id="3" extensions="vsp;etp" name="SCADE Libraries">
<elements>
<FileRef id="130" persistAs="$(SCADE)\libraries\SC65\libmathext\libmathext.etp"/>
<FileRef id="131" persistAs="$(SCADE)\libraries\SC65\libpwlinear\libpwlinear.etp"/>
<FileRef id="132" persistAs="$(SCADE)\libraries\SC65\liblinear\liblinear.etp"/>
</elements>
</Folder>
<Folder id="12" extensions="xscade;scade" name="Model Files">
<elements>
<Folder id="13" extensions="xscade;scade" name="Separate Files">
<elements>
<FileRef id="108" persistAs="F_MM.xscade">
<props>
<Prop id="107" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
<FileRef id="113" persistAs="F_FC.xscade">
<props>
<Prop id="112" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
<FileRef id="119" persistAs="SafetyConstant.xscade">
<props>
<Prop id="118" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
<FileRef id="121" persistAs="CheckEnvelope.xscade">
<props>
<Prop id="120" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
<FileRef id="124" persistAs="IntermediateSetPoint.xscade">
<props>
<Prop id="123" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
<FileRef id="126" persistAs="PID.xscade">
<props>
<Prop id="125" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
<FileRef id="138" persistAs="StateVectorComputation.xscade">
<props>
<Prop id="137" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
<FileRef id="140" persistAs="GainsPID.xscade">
<props>
<Prop id="139" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
<FileRef id="145" persistAs="F_Equal.xscade">
<props>
<Prop id="144" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
<FileRef id="147" persistAs="F_Abs.xscade">
<props>
<Prop id="146" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
<FileRef id="149" persistAs="EnergyModeComputation.xscade">
<props>
<Prop id="148" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
<FileRef id="156" persistAs="SetPointGeneration.xscade">
<props>
<Prop id="155" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
<FileRef id="160" persistAs="ControlLaws.xscade">
<props>
<Prop id="159" name="@SCADE:NONROOT">
<value>true</value>
</Prop>
</props>
</FileRef>
</elements>
</Folder>
<FileRef id="106" persistAs="MissionManagement.xscade"/>
<FileRef id="109" persistAs="Type.xscade"/>
<FileRef id="111" persistAs="FlightControl.xscade"/>
<FileRef id="128" persistAs="MMS.xscade"/>
<FileRef id="141" persistAs="LIB.xscade"/>
</elements>
</Folder>
</roots>
<configurations>
<Configuration id="14" name="KCG"/>
<Configuration id="24" name="Simulation"/>
<Configuration id="36" name="HTML"/>
<Configuration id="41" name="RTF"/>
<Configuration id="46" name="Coverage"/>
<Configuration id="59" name="Timing and Stack"/>
<Configuration id="68" name="DashBoard"/>
<Configuration id="71" name="Cert. Reporter"/>
<Configuration id="79" name="Synchronization"/>
</configurations>
</Project>

View File

@@ -0,0 +1,80 @@
[STUDIO\TOOLS\CONFIGURATIONS\Code Generator]
"C:\\Repository\\microXAV\\trunk\\Work\\Suite\\MMS\\MMS.etp"="KCG"
"C:\\SVN_data\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="KCG"
"C:\\Repository\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="KCG"
[STUDIO\TOOLS\CONFIGURATIONS\Dashboard]
"C:\\Repository\\microXAV\\trunk\\Work\\Suite\\MMS\\MMS.etp"="DashBoard"
[STUDIO\TOOLS\CONFIGURATIONS\Reporter]
"C:\\Repository\\microXAV\\trunk\\Work\\Suite\\MMS\\MMS.etp"="RTF"
"C:\\SVN_data\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="HTML"
"C:\\Repository\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="HTML"
[STUDIO\TOOLS\CONFIGURATIONS\Synchronization]
"C:\\Repository\\microXAV\\trunk\\Work\\Suite\\MMS\\MMS.etp"="Synchronization"
"C:\\SVN_data\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="Synchronization"
"C:\\Repository\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="Synchronization"
[STUDIO\TOOLS\CONFIGURATIONS\Timing and Stack Analysis Tools]
"C:\\Repository\\microXAV\\trunk\\Work\\Suite\\MMS\\MMS.etp"="KCG"
"C:\\SVN_data\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="KCG"
"C:\\Repository\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="KCG"
[STUDIO\TOOLS\CONFIGURATIONS\DiffAnalyzer]
"C:\\Repository\\microXAV\\trunk\\Work\\Suite\\MMS\\MMS.etp"="KCG"
"C:\\SVN_data\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="KCG"
"C:\\Repository\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="KCG"
[STUDIO\TOOLS\CONFIGURATIONS\Instrumenter]
"C:\\Repository\\microXAV\\trunk\\Work\\Suite\\MMS\\MMS.etp"="Coverage"
"C:\\SVN_data\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="Coverage"
"C:\\Repository\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="Coverage"
[STUDIO\Workspace]
"ActiveProject"="C:\\Repository\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"
[SCADE\Editor\Shortcut]
"groupNb"="0"
[SCADE\Editor\Tool]
"UsePolyline"="false"
"TransitionKind"="strong"
[SCADE\Diff\Tool]
"LastProject1"=""
"LastProject2"=""
[SCADE\Generator\Tool]
"PragmaTarget"="C"
[STUDIO\TOOLS\CONFIGURATIONS\Architect Checker]
"C:\\Repository\\microXAV\\trunk\\Work\\Suite\\MMS\\MMS.etp"="KCG"
"C:\\SVN_data\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="KCG"
[STUDIO\TOOLS\CONFIGURATIONS\Architect Configurator]
"C:\\Repository\\microXAV\\trunk\\Work\\Suite\\MMS\\MMS.etp"="KCG"
"C:\\SVN_data\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="KCG"
[STUDIO\TOOLS\CONFIGURATIONS\Design Verifier]
"C:\\SVN_data\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="KCG"
[STUDIO\TOOLS\CONFIGURATIONS\Test Tool]
"C:\\SVN_data\\microXAV\\trunk\\designXAV-sd\\Suite\\MMS\\MMS.etp"="KCG"

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<traceability version="1.3">
<object id="!ed/9a00/471E/275C/5915852532fb">
<requirement id="[MMS-SW_F_FC-Req_1]"/>
</object>
<object id="!ed/1a91a/8B5/10C4/5965ea00589c">
<requirement id="[MMS-SW_F_FC-Req_2]"/>
<requirement id="[MMS-SW_F_FC-Behavior-Reference-Trajectory-Generation_1]"/>
</object>
<object id="!ed/d1c1/550C/C4C/5982e3367d52">
<requirement id="[MMS-SW_F_FC-Behavior-Propulsion-Braking-Swap_1]"/>
</object>
<object id="!ed/d1c5/550C/C4C/5982e4216b1c">
<requirement id="[MMS-SW_F_FC-Reference-Trajectory-Reset_1]"/>
</object>
<object id="!ed/8a3d/B5A/FD4/5982eaea4920">
<requirement id="[MMS-SW_F_FC-Behavior-PID-Gain-Interpolation_1]"/>
<requirement id="[MMS-SW_F_FC-Behavior-PID-Computation_2]"/>
</object>
<object id="!ed/8a42/B5A/FD4/5982eafd6894">
<requirement id="[MMS-SW_F_FC-Behavior-Propulsion-Braking-Swap_2]"/>
</object>
<object id="!ed/8ab7/B5A/FD4/5982ec49296">
<requirement id="[MMS-SW_F_FC-Behavior-Energy-Navigation-Option-Set-Up_1]"/>
</object>
<object id="!ed/8ada/B5A/FD4/5982edf711fb">
<requirement id="[MMS-SW_F_FC-Behavior-Energy-Navigation-Option-Set-Up_1]"/>
<requirement id="[MMS_F_PT_F_FC_FUNC_48]"/>
</object>
<object id="!ed/8e53/B5A/FD4/5983303648a">
<requirement id="[MMS-SW_F_FC-Behavior-Navigation-Option-PID-Error_1]"/>
</object>
<object id="!ed/538a/471E/275C/5915780a3a4f">
<requirement id="[MMS-SW_F_FC-Behavior-PID-Computation_1]"/>
<requirement id="[MMS_F_PT_F_FC_FUNC_50]"/>
</object>
<object id="!ed/8e6c/B5A/FD4/598330bc3169">
<requirement id="[MMS-SW_F_FC-Behavior-PID-Braking_1]"/>
</object>
<object id="!ed/8e29/7AC7/1190/5988209b73c">
<requirement id="[MMS-SW_F_FC-Behavior-StateVector_1]"/>
<requirement id="[MMS_F_PT_F_FC_FUNC_53]"/>
</object>
<object id="!ed/8edf/7AC7/1190/598821811ec2">
<requirement id="[MMS-SW_F_FC-Behavior-StateVector_1]"/>
</object>
<object id="!ed/4e1d/471E/275C/5914751a7d0c">
<requirement id="[MMS_F_PT_F_FC_INTF_36]"/>
</object>
<object id="!ed/4e1e/471E/275C/5914751cc2e">
<requirement id="[MMS_F_PT_F_FC_INTF_36]"/>
</object>
<object id="!ed/4e1f/471E/275C/591475224fc2">
<requirement id="[MMS_F_PT_F_FC_INTF_36]"/>
</object>
<object id="!ed/4e46/471E/275C/591475ca3e15">
<requirement id="[MMS_F_PT_F_FC_INTF_37]"/>
</object>
<object id="!ed/8f59/7AC7/1190/59882d411841">
<requirement id="[MMS_F_PT_F_FC_INTF_37]"/>
</object>
<object id="!ed/4e4d/471E/275C/591475f67f96">
<requirement id="[MMS_F_PT_F_FC_INTF_38]"/>
</object>
<object id="!ed/4e50/471E/275C/5914760e6b8d">
<requirement id="[MMS_F_PT_F_FC_INTF_38]"/>
</object>
<object id="!ed/4e51/471E/275C/591476162ac9">
<requirement id="[MMS_F_PT_F_FC_INTF_38]"/>
</object>
<object id="!ed/4e7d/471E/275C/591476a77805">
<requirement id="[MMS_F_PT_F_FC_INTF_39]"/>
<requirement id="[MMS_F_PT_F_FC_FUNC_51]"/>
<requirement id="[MMS_F_PT_F_FC_FUNC_52]"/>
</object>
<object id="!ed/4eea/471E/275C/591477d2636">
<requirement id="[MMS_F_PT_F_FC_FUNC_41]"/>
</object>
<object id="!ed/99e7/471E/275C/591584b85457">
<requirement id="[MMS_F_PT_F_FC_FUNC_42]"/>
</object>
<object id="!ed/4e62/471E/275C/591476656ffd">
<requirement id="[MMS_F_PT_F_FC_INTF_39]"/>
</object>
<object id="!ed/4e63/471E/275C/591476652787">
<requirement id="[MMS_F_PT_F_FC_INTF_39]"/>
</object>
<object id="!ed/4e64/471E/275C/5914766639a7">
<requirement id="[MMS_F_PT_F_FC_INTF_39]"/>
</object>
<object id="!ed/4ed7/30D7/2A9C/5a54da7654de">
<requirement id="[MMS_F_PT_F_FC_FUNC_43]"/>
</object>
<object id="!ed/1339c/48F7/1F2C/5a54948c2d0f">
<requirement id="[MMS_F_PT_F_FC_FUNC_43]"/>
</object>
<object id="!ed/133a1/48F7/1F2C/5a54948c4682">
<requirement id="[MMS_F_PT_F_FC_FUNC_43]"/>
</object>
<object id="!ed/12fe0/48F7/1F2C/5a5492c71f7f">
<requirement id="[MMS_F_PT_F_FC_FUNC_46]"/>
</object>
<object id="!ed/5120/471E/275C/59156eb81055">
<requirement id="[MMS_F_PT_F_FC_FUNC_46]"/>
</object>
<object id="!ed/4ee5/30D7/2A9C/5a54db1b4e92">
<requirement id="[MMS_F_PT_F_FC_FUNC_47]"/>
</object>
<object id="!ed/4ee6/30D7/2A9C/5a54db4d102a">
<requirement id="[MMS_F_PT_F_FC_FUNC_46]"/>
</object>
<object id="!ed/1310f/48F7/1F2C/5a5494775b1a">
<requirement id="[MMS_F_PT_F_FC_FUNC_49]"/>
</object>
<object id="!ed/4bc4/30D7/2A9C/5a549ca050b8">
<requirement id="[MMS_F_PT_F_FC_FUNC_49]"/>
</object>
<object id="!ed/4ef0/30D7/2A9C/5a54e68750a5">
<requirement id="[MMS_F_PT_F_FC_FUNC_52]"/>
</object>
<object id="!ed/9890/471E/275C/591582123b6a">
<requirement id="[MMS_F_PT_F_FC_FUNC_54]"/>
</object>
<object id="!ed/9899/471E/275C/5915822c3eb8">
<requirement id="[MMS_F_PT_F_FC_FUNC_54]"/>
</object>
<object id="!ed/98a2/471E/275C/5915823cf0a">
<requirement id="[MMS_F_PT_F_FC_FUNC_54]"/>
</object>
</traceability>

View File

@@ -0,0 +1,30 @@
Entities_Definitions DEFINITIONS ::= BEGIN
project_ref ::= SEQUENCE OF {
SEQUENCE {
identity oid,
persist_as string,
workspace oid
}
}
workspace ::= SEQUENCE OF {
SEQUENCE {
identity oid,
active_project oid
}
}
base ::= SEQUENCE OF {
SEQUENCE {
oid_count integer,
version string
}
}
base ::= {
{2, ""}
}
workspace ::= {
{"1", "2"}
}
project_ref ::= {
{"2", "MMS.etp", "1"}
}
END

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<File xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3">
<declarations>
<Constant name="TCycle">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<value>
<ConstValue value="0.01"/>
</value>
<pragmas>
<ed:Constant oid="!ed/5422/471E/275C/5915795d362e"/>
</pragmas>
</Constant>
</declarations>
</File>

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<File xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3">
<declarations>
<Package name="MissionManagement">
<declarations>
<Constant name="Viability">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<value>
<ConstValue value="false"/>
</value>
<pragmas>
<ed:Constant oid="!ed/4c5e/471E/275C/59145c406a38"/>
</pragmas>
</Constant>
<Type name="ts_Viability">
<definition>
<Struct>
<fields>
<Field name="A_initial">
<type>
<NamedType>
<type>
<TypeRef name="float32"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4c60/471E/275C/59145c8d6d88"/>
</pragmas>
</Field>
<Field name="A_cruise">
<type>
<NamedType>
<type>
<TypeRef name="float32"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4c69/471E/275C/59145c9c19b5"/>
</pragmas>
</Field>
<Field name="RP_initial">
<type>
<NamedType>
<type>
<TypeRef name="float32"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4c72/471E/275C/59145ca74498"/>
</pragmas>
</Field>
<Field name="RP_cruise">
<type>
<NamedType>
<type>
<TypeRef name="float32"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4c7b/471E/275C/59145cb51ed9"/>
</pragmas>
</Field>
</fields>
</Struct>
</definition>
<pragmas>
<ed:Type oid="!ed/4c5f/471E/275C/59145c7b6717"/>
</pragmas>
</Type>
<Operator name="F_MM" href="F_MM.xscade"/>
</declarations>
<pragmas>
<ed:Package oid="!ed/4b0b/471E/275C/591452bd62ff" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<diagrams>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/4b0c/471E/275C/591452bd258" blockKind="constants"/>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/4b0d/471E/275C/591452bd4e32" blockKind="types"/>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/4b0e/471E/275C/591452bd3669" blockKind="sensors"/>
</diagrams>
</ed:Package>
</pragmas>
</Package>
</declarations>
</File>

View File

@@ -0,0 +1,970 @@
<?xml version="1.0" encoding="UTF-8"?>
<Operator xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3" kind="node" name="PID">
<inputs>
<Variable name="error">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/538c/471E/275C/5915780f3a23"/>
</pragmas>
</Variable>
<Variable name="Kp">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/538d/471E/275C/59157815432f" hidden="true"/>
</pragmas>
</Variable>
<Variable name="Kd">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/538e/471E/275C/5915781e3677" hidden="true"/>
</pragmas>
</Variable>
<Variable name="Ki">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/538f/471E/275C/59157827448d" hidden="true"/>
</pragmas>
</Variable>
</inputs>
<outputs>
<Variable name="Val">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5390/471E/275C/5915782a68ed"/>
</pragmas>
</Variable>
</outputs>
<locals>
<Variable name="_L1">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/53de/471E/275C/5915790866fe"/>
</pragmas>
</Variable>
<Variable name="_L2">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/53e4/471E/275C/5915790a3778"/>
</pragmas>
</Variable>
<Variable name="_L3">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/53ec/471E/275C/5915790f1fcf"/>
</pragmas>
</Variable>
<Variable name="_L4">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/53f4/471E/275C/5915792236b0"/>
</pragmas>
</Variable>
<Variable name="_L6">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5403/471E/275C/591579365921"/>
</pragmas>
</Variable>
<Variable name="_L5">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5401/471E/275C/5915793620da"/>
</pragmas>
</Variable>
<Variable name="_L8">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/541a/471E/275C/5915794643af"/>
</pragmas>
</Variable>
<Variable name="_L7">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5418/471E/275C/5915794614a0"/>
</pragmas>
</Variable>
<Variable name="_L10">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5462/471E/275C/591579ca545a"/>
</pragmas>
</Variable>
<Variable name="_L11">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/546a/471E/275C/591579f3ce5"/>
</pragmas>
</Variable>
<Variable name="_L12">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5470/471E/275C/59157a00c27"/>
</pragmas>
</Variable>
<Variable name="_L13">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/5478/471E/275C/59157a0e4288"/>
</pragmas>
</Variable>
<Variable name="_L14">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/548b/471E/275C/59157a1d6b08"/>
</pragmas>
</Variable>
<Variable name="_L15">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/54b2/471E/275C/59157a3a60d7"/>
</pragmas>
</Variable>
<Variable name="_L18">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/97f3/471E/275C/59157dc25dd2"/>
</pragmas>
</Variable>
<Variable name="_L19">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/97fd/471E/275C/59157ddc7ca9"/>
</pragmas>
</Variable>
</locals>
<data>
<!-- _L1 = error; -->
<Equation>
<lefts>
<VariableRef name="_L1"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="error"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/53dd/471E/275C/59157908141a"/>
</pragmas>
</Equation>
<!-- _L2 = Kp; -->
<Equation>
<lefts>
<VariableRef name="_L2"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="Kp"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/53e3/471E/275C/5915790a2d54"/>
</pragmas>
</Equation>
<!-- _L3 = _L4 + _L6 + _L7; -->
<Equation>
<lefts>
<VariableRef name="_L3"/>
</lefts>
<right>
<!-- _L4 + _L6 + _L7 -->
<NAryOp name="1" operator="+">
<operands>
<IdExpression>
<path>
<ConstVarRef name="_L4"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L6"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L7"/>
</path>
</IdExpression>
</operands>
</NAryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/53eb/471E/275C/5915790f1279"/>
</pragmas>
</Equation>
<!-- _L4 = _L1 * _L2; -->
<Equation>
<lefts>
<VariableRef name="_L4"/>
</lefts>
<right>
<!-- _L1 * _L2 -->
<NAryOp name="1" operator="*">
<operands>
<IdExpression>
<path>
<ConstVarRef name="_L1"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L2"/>
</path>
</IdExpression>
</operands>
</NAryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/53f3/471E/275C/591579227259"/>
</pragmas>
</Equation>
<!-- _L5 = Kd; -->
<Equation>
<lefts>
<VariableRef name="_L5"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="Kd"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/5400/471E/275C/59157936132e"/>
</pragmas>
</Equation>
<!-- _L6 = _L19 * _L5; -->
<Equation>
<lefts>
<VariableRef name="_L6"/>
</lefts>
<right>
<!-- _L19 * _L5 -->
<NAryOp name="2" operator="*">
<operands>
<IdExpression>
<path>
<ConstVarRef name="_L19"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L5"/>
</path>
</IdExpression>
</operands>
</NAryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/5402/471E/275C/591579362560"/>
</pragmas>
</Equation>
<!-- _L7 = _L15 * _L8; -->
<Equation>
<lefts>
<VariableRef name="_L7"/>
</lefts>
<right>
<!-- _L15 * _L8 -->
<NAryOp name="3" operator="*">
<operands>
<IdExpression>
<path>
<ConstVarRef name="_L15"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L8"/>
</path>
</IdExpression>
</operands>
</NAryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/5417/471E/275C/59157946664c"/>
</pragmas>
</Equation>
<!-- _L8 = Ki; -->
<Equation>
<lefts>
<VariableRef name="_L8"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="Ki"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/5419/471E/275C/591579464bf7"/>
</pragmas>
</Equation>
<!-- _L10 = _L1 - _L18; -->
<Equation>
<lefts>
<VariableRef name="_L10"/>
</lefts>
<right>
<!-- _L1 - _L18 -->
<BinaryOp name="1" operator="-">
<operands>
<IdExpression>
<path>
<ConstVarRef name="_L1"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L18"/>
</path>
</IdExpression>
</operands>
</BinaryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/5461/471E/275C/591579ca76d0"/>
</pragmas>
</Equation>
<!-- _L11 = _L10 / _L12; -->
<Equation>
<lefts>
<VariableRef name="_L11"/>
</lefts>
<right>
<!-- _L10 / _L12 -->
<BinaryOp name="1" operator="/">
<operands>
<IdExpression>
<path>
<ConstVarRef name="_L10"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L12"/>
</path>
</IdExpression>
</operands>
</BinaryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/5469/471E/275C/591579f3457a"/>
</pragmas>
</Equation>
<!-- _L12 = TCycle; -->
<Equation>
<lefts>
<VariableRef name="_L12"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="TCycle"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/546f/471E/275C/59157a001d46"/>
</pragmas>
</Equation>
<!-- _L13 = _L1 + _L14; -->
<Equation>
<lefts>
<VariableRef name="_L13"/>
</lefts>
<right>
<!-- _L1 + _L14 -->
<NAryOp name="2" operator="+">
<operands>
<IdExpression>
<path>
<ConstVarRef name="_L1"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L14"/>
</path>
</IdExpression>
</operands>
</NAryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/5477/471E/275C/59157a0e16f2"/>
</pragmas>
</Equation>
<!-- _L14 = fby(_L13; 1; 0.0); -->
<Equation>
<lefts>
<VariableRef name="_L14"/>
</lefts>
<right>
<!-- fby(_L13; 1; 0.0) -->
<FbyOp name="2">
<flows>
<IdExpression>
<path>
<ConstVarRef name="_L13"/>
</path>
</IdExpression>
</flows>
<delay>
<ConstValue value="1"/>
</delay>
<values>
<ConstValue value="0.0"/>
</values>
</FbyOp>
</right>
<pragmas>
<ed:Equation oid="!ed/548a/471E/275C/59157a1d1905"/>
</pragmas>
</Equation>
<!-- _L15 = _L12 * _L13; -->
<Equation>
<lefts>
<VariableRef name="_L15"/>
</lefts>
<right>
<!-- _L12 * _L13 -->
<NAryOp name="4" operator="*">
<operands>
<IdExpression>
<path>
<ConstVarRef name="_L12"/>
</path>
</IdExpression>
<IdExpression>
<path>
<ConstVarRef name="_L13"/>
</path>
</IdExpression>
</operands>
</NAryOp>
</right>
<pragmas>
<ed:Equation oid="!ed/54b1/471E/275C/59157a3a100a"/>
</pragmas>
</Equation>
<!-- Val = _L3; -->
<Equation>
<lefts>
<VariableRef name="Val"/>
</lefts>
<right>
<IdExpression>
<path>
<ConstVarRef name="_L3"/>
</path>
</IdExpression>
</right>
<pragmas>
<ed:Equation oid="!ed/54bc/471E/275C/59157a7040a"/>
</pragmas>
</Equation>
<!-- _L18 = pre _L1; -->
<Equation>
<lefts>
<VariableRef name="_L18"/>
</lefts>
<right>
<!-- pre _L1 -->
<PreOp name="2">
<flow>
<ListExpression>
<items>
<IdExpression>
<path>
<ConstVarRef name="_L1"/>
</path>
</IdExpression>
</items>
</ListExpression>
</flow>
</PreOp>
</right>
<pragmas>
<ed:Equation oid="!ed/97f2/471E/275C/59157dc27a64"/>
</pragmas>
</Equation>
<!-- _L19 = (0.0) -> (_L11); -->
<Equation>
<lefts>
<VariableRef name="_L19"/>
</lefts>
<right>
<!-- (0.0) -> (_L11) -->
<InitOp name="2">
<value>
<ListExpression>
<items>
<ConstValue value="0.0"/>
</items>
</ListExpression>
</value>
<flow>
<ListExpression>
<items>
<IdExpression>
<path>
<ConstVarRef name="_L11"/>
</path>
</IdExpression>
</items>
</ListExpression>
</flow>
</InitOp>
</right>
<pragmas>
<ed:Equation oid="!ed/97fc/471E/275C/59157ddc4ab7"/>
</pragmas>
</Equation>
</data>
<pragmas>
<ed:Operator oid="!ed/538a/471E/275C/5915780a3a4f" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<diagrams>
<NetDiagram name="PID_1" landscape="true" format="A4 (210 297)" oid="!ed/538b/471E/275C/5915780a434">
<presentationElements>
<EquationGE presentable="!ed/53dd/471E/275C/59157908141a">
<position>
<Point x="1931" y="1905"/>
</position>
<size>
<Size width="264" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/53e3/471E/275C/5915790a2d54">
<position>
<Point x="7646" y="2328"/>
</position>
<size>
<Size width="264" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/53eb/471E/275C/5915790f1279">
<position>
<Point x="15240" y="1667"/>
</position>
<size>
<Size width="1022" height="2530"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/53f3/471E/275C/591579227259">
<position>
<Point x="8599" y="1958"/>
</position>
<size>
<Size width="1005" height="662"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/53dd/471E/275C/59157908141a" dstEquation="!ed/53f3/471E/275C/591579227259">
<positions>
<Point x="2196" y="2170"/>
<Point x="6641" y="2170"/>
<Point x="6641" y="2170"/>
<Point x="8599" y="2170"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/53e3/471E/275C/5915790a2d54" dstEquation="!ed/53f3/471E/275C/591579227259">
<positions>
<Point x="7911" y="2593"/>
<Point x="8255" y="2593"/>
<Point x="8255" y="2408"/>
<Point x="8599" y="2408"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/53f3/471E/275C/591579227259" dstEquation="!ed/53eb/471E/275C/5915790f1279">
<positions>
<Point x="9604" y="2302"/>
<Point x="12409" y="2302"/>
<Point x="12409" y="2302"/>
<Point x="15240" y="2302"/>
</positions>
</Edge>
<EquationGE presentable="!ed/5400/471E/275C/59157936132e">
<position>
<Point x="11827" y="4604"/>
</position>
<size>
<Size width="264" height="503"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/5402/471E/275C/591579362560">
<position>
<Point x="12779" y="4233"/>
</position>
<size>
<Size width="1005" height="661"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/5400/471E/275C/59157936132e" dstEquation="!ed/5402/471E/275C/591579362560">
<positions>
<Point x="12091" y="4868"/>
<Point x="12435" y="4868"/>
<Point x="12435" y="4683"/>
<Point x="12779" y="4683"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/5402/471E/275C/591579362560" dstEquation="!ed/53eb/471E/275C/5915790f1279">
<positions>
<Point x="13785" y="4577"/>
<Point x="14499" y="4577"/>
<Point x="14499" y="2937"/>
<Point x="15240" y="2937"/>
</positions>
</Edge>
<EquationGE presentable="!ed/5417/471E/275C/59157946664c">
<position>
<Point x="12779" y="6456"/>
</position>
<size>
<Size width="1005" height="662"/>
</size>
</EquationGE>
<EquationGE presentable="!ed/5419/471E/275C/591579464bf7">
<position>
<Point x="11827" y="6879"/>
</position>
<size>
<Size width="264" height="502"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/5419/471E/275C/591579464bf7" dstEquation="!ed/5417/471E/275C/59157946664c">
<positions>
<Point x="12091" y="7144"/>
<Point x="12435" y="7144"/>
<Point x="12435" y="6906"/>
<Point x="12779" y="6906"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="3" srcEquation="!ed/5417/471E/275C/59157946664c" dstEquation="!ed/53eb/471E/275C/5915790f1279">
<positions>
<Point x="13785" y="6800"/>
<Point x="14870" y="6800"/>
<Point x="14870" y="3572"/>
<Point x="15240" y="3572"/>
</positions>
</Edge>
<EquationGE presentable="!ed/5461/471E/275C/591579ca76d0">
<position>
<Point x="5662" y="3969"/>
</position>
<size>
<Size width="1005" height="662"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/53dd/471E/275C/59157908141a" dstEquation="!ed/5461/471E/275C/591579ca76d0">
<positions>
<Point x="2196" y="2170"/>
<Point x="4683" y="2170"/>
<Point x="4683" y="4180"/>
<Point x="5662" y="4180"/>
</positions>
</Edge>
<EquationGE presentable="!ed/5469/471E/275C/591579f3457a">
<position>
<Point x="8440" y="4101"/>
</position>
<size>
<Size width="1021" height="677"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/5461/471E/275C/591579ca76d0" dstEquation="!ed/5469/471E/275C/591579f3457a">
<positions>
<Point x="6668" y="4313"/>
<Point x="7541" y="4313"/>
<Point x="7541" y="4313"/>
<Point x="8440" y="4313"/>
</positions>
</Edge>
<EquationGE kind="OBJ_LIT" presentable="!ed/546f/471E/275C/59157a001d46">
<position>
<Point x="7541" y="5345"/>
</position>
<size>
<Size width="212" height="317"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/546f/471E/275C/59157a001d46" dstEquation="!ed/5469/471E/275C/591579f3457a">
<positions>
<Point x="7752" y="5503"/>
<Point x="8096" y="5503"/>
<Point x="8096" y="4551"/>
<Point x="8440" y="4551"/>
</positions>
</Edge>
<EquationGE presentable="!ed/5477/471E/275C/59157a0e16f2">
<position>
<Point x="4815" y="6429"/>
</position>
<size>
<Size width="1005" height="661"/>
</size>
</EquationGE>
<EquationGE rotation="180" presentable="!ed/548a/471E/275C/59157a1d1905">
<position>
<Point x="4736" y="7514"/>
</position>
<size>
<Size width="1006" height="1006"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/5477/471E/275C/59157a0e16f2" dstEquation="!ed/548a/471E/275C/59157a1d1905">
<positions>
<Point x="5821" y="6773"/>
<Point x="6165" y="6773"/>
<Point x="6165" y="8017"/>
<Point x="5741" y="8017"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/548a/471E/275C/59157a1d1905" dstEquation="!ed/5477/471E/275C/59157a0e16f2">
<positions>
<Point x="4736" y="8017"/>
<Point x="4260" y="8017"/>
<Point x="4260" y="6879"/>
<Point x="4815" y="6879"/>
</positions>
</Edge>
<EquationGE presentable="!ed/54b1/471E/275C/59157a3a100a">
<position>
<Point x="8440" y="6324"/>
</position>
<size>
<Size width="1005" height="661"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/5477/471E/275C/59157a0e16f2" dstEquation="!ed/54b1/471E/275C/59157a3a100a">
<positions>
<Point x="5821" y="6773"/>
<Point x="6773" y="6773"/>
<Point x="6773" y="6773"/>
<Point x="8440" y="6773"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/546f/471E/275C/59157a001d46" dstEquation="!ed/54b1/471E/275C/59157a3a100a">
<positions>
<Point x="7752" y="5503"/>
<Point x="8096" y="5503"/>
<Point x="8096" y="6535"/>
<Point x="8440" y="6535"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/54b1/471E/275C/59157a3a100a" dstEquation="!ed/5417/471E/275C/59157946664c">
<positions>
<Point x="9446" y="6668"/>
<Point x="11113" y="6668"/>
<Point x="11113" y="6668"/>
<Point x="12779" y="6668"/>
</positions>
</Edge>
<EquationGE presentable="!ed/54bc/471E/275C/59157a7040a">
<position>
<Point x="17780" y="2672"/>
</position>
<size>
<Size width="317" height="502"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/53eb/471E/275C/5915790f1279" dstEquation="!ed/54bc/471E/275C/59157a7040a">
<positions>
<Point x="16272" y="2937"/>
<Point x="17039" y="2937"/>
<Point x="17039" y="2937"/>
<Point x="17833" y="2937"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/53dd/471E/275C/59157908141a" dstEquation="!ed/5477/471E/275C/59157a0e16f2">
<positions>
<Point x="2196" y="2170"/>
<Point x="2963" y="2170"/>
<Point x="2963" y="6641"/>
<Point x="4815" y="6641"/>
</positions>
</Edge>
<EquationGE presentable="!ed/97f2/471E/275C/59157dc27a64">
<position>
<Point x="3810" y="4498"/>
</position>
<size>
<Size width="1005" height="661"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/97f2/471E/275C/59157dc27a64" dstEquation="!ed/5461/471E/275C/591579ca76d0">
<positions>
<Point x="4815" y="4842"/>
<Point x="5239" y="4842"/>
<Point x="5239" y="4419"/>
<Point x="5662" y="4419"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/53dd/471E/275C/59157908141a" dstEquation="!ed/97f2/471E/275C/59157dc27a64">
<positions>
<Point x="2196" y="2170"/>
<Point x="2963" y="2170"/>
<Point x="2963" y="4842"/>
<Point x="3810" y="4842"/>
</positions>
</Edge>
<EquationGE presentable="!ed/97fc/471E/275C/59157ddc4ab7">
<position>
<Point x="9790" y="3942"/>
</position>
<size>
<Size width="1005" height="1006"/>
</size>
</EquationGE>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/5469/471E/275C/591579f3457a" dstEquation="!ed/97fc/471E/275C/59157ddc4ab7">
<positions>
<Point x="9472" y="4445"/>
<Point x="9631" y="4445"/>
<Point x="9631" y="4445"/>
<Point x="9790" y="4445"/>
</positions>
</Edge>
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/97fc/471E/275C/59157ddc4ab7" dstEquation="!ed/5402/471E/275C/591579362560">
<positions>
<Point x="10795" y="4445"/>
<Point x="11774" y="4445"/>
<Point x="11774" y="4445"/>
<Point x="12779" y="4445"/>
</positions>
</Edge>
</presentationElements>
</NetDiagram>
</diagrams>
</ed:Operator>
</pragmas>
</Operator>

View File

@@ -0,0 +1,134 @@
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3" name="SafetyConstant">
<declarations>
<Constant external="imported" name="qdot_minCl">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4eee/471E/275C/591477f36895"/>
</pragmas>
</Constant>
<Constant external="imported" name="qDot_maxCl">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4eef/471E/275C/59147801194e"/>
</pragmas>
</Constant>
<Constant external="imported" name="q_maxCl">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4ef0/471E/275C/5914780ec2c"/>
</pragmas>
</Constant>
<Constant external="imported" name="qDot_minCr">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4ef1/471E/275C/591478185e4"/>
</pragmas>
</Constant>
<Constant external="imported" name="qDot_maxCr">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4ef2/471E/275C/591478233d72"/>
</pragmas>
</Constant>
<Constant external="imported" name="q_minCr">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4ef3/471E/275C/591478321596"/>
</pragmas>
</Constant>
<Constant external="imported" name="pDot_maxCr">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4ef4/471E/275C/5914783e9f3"/>
</pragmas>
</Constant>
<Constant external="imported" name="qDot_minDs">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4ef5/471E/275C/5914787aaee"/>
</pragmas>
</Constant>
<Constant external="imported" name="qDot_maxDs">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4ef6/471E/275C/59147884307a"/>
</pragmas>
</Constant>
<Constant external="imported" name="q_maxDs">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Constant oid="!ed/4ef7/471E/275C/5914788e3e4f"/>
</pragmas>
</Constant>
</declarations>
<pragmas>
<ed:Package oid="!ed/4eea/471E/275C/591477d2636" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<diagrams>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/4eeb/471E/275C/591477d2a2a" blockKind="constants"/>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/4eec/471E/275C/591477d23d13" blockKind="types"/>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/4eed/471E/275C/591477d24679" blockKind="sensors"/>
</diagrams>
</ed:Package>
</pragmas>
</Package>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,490 @@
<?xml version="1.0" encoding="UTF-8"?>
<File xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3">
<declarations>
<Package name="Type">
<declarations>
<Type name="ts_Navigation">
<definition>
<Struct>
<fields>
<Field name="Parameters">
<type>
<NamedType>
<type>
<TypeRef name="ts_DSA"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b16/471E/275C/5914531451d6"/>
</pragmas>
</Field>
<Field name="Mode">
<type>
<NamedType>
<type>
<TypeRef name="te_NavigationMode"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b17/471E/275C/591453232bea"/>
</pragmas>
</Field>
<Field name="Option">
<type>
<NamedType>
<type>
<TypeRef name="te_Option"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b18/471E/275C/5914532f15c1"/>
</pragmas>
</Field>
<Field name="GO">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b56/471E/275C/5914543d7b2b"/>
</pragmas>
</Field>
<Field name="MissionAbort">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b5f/471E/275C/591454464595"/>
</pragmas>
</Field>
</fields>
</Struct>
</definition>
<pragmas>
<ed:Type oid="!ed/4b15/471E/275C/59145307331a"/>
</pragmas>
</Type>
<Type name="te_NavigationMode">
<definition>
<Enum>
<values>
<Value name="RP">
<pragmas>
<ed:Value oid="!ed/4b1a/471E/275C/591453726055"/>
</pragmas>
</Value>
<Value name="A">
<pragmas>
<ed:Value oid="!ed/4b1b/471E/275C/591453772d24"/>
</pragmas>
</Value>
</values>
</Enum>
</definition>
<pragmas>
<ed:Type oid="!ed/4b19/471E/275C/591453555f37"/>
</pragmas>
</Type>
<Type name="te_Option">
<definition>
<Enum>
<values>
<Value name="SPEED">
<pragmas>
<ed:Value oid="!ed/4b1d/471E/275C/5914538a3cdd"/>
</pragmas>
</Value>
<Value name="ALTITUDE">
<pragmas>
<ed:Value oid="!ed/4c5d/471E/275C/591459ad690"/>
</pragmas>
</Value>
<Value name="ENERGY">
<pragmas>
<ed:Value oid="!ed/4b1e/471E/275C/591453906d5"/>
</pragmas>
</Value>
</values>
</Enum>
</definition>
<pragmas>
<ed:Type oid="!ed/4b1c/471E/275C/5914537b5c2e"/>
</pragmas>
</Type>
<Type name="ts_DSA">
<definition>
<Struct>
<fields>
<Field name="Distance">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b20/471E/275C/591453a7595f"/>
</pragmas>
</Field>
<Field name="Speed">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b29/471E/275C/591453b62cc8"/>
</pragmas>
</Field>
<Field name="Altitude">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b32/471E/275C/591453be3694"/>
</pragmas>
</Field>
</fields>
</Struct>
</definition>
<pragmas>
<ed:Type oid="!ed/4b1f/471E/275C/5914539a492"/>
</pragmas>
</Type>
<Type name="ts_ControlPanelCommad">
<definition>
<Struct>
<fields>
<Field name="ON_PushButton">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b73/471E/275C/5914550c7a6c"/>
</pragmas>
</Field>
<Field name="Start_PusButton">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b7c/471E/275C/591455226f4d"/>
</pragmas>
</Field>
<Field name="ModeSwitch">
<type>
<NamedType>
<type>
<TypeRef name="te_NavigationMode"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b85/471E/275C/591455314d76"/>
</pragmas>
</Field>
<Field name="BaySwitch">
<type>
<NamedType>
<type>
<TypeRef name="te_Bay"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b92/471E/275C/59145565dff"/>
</pragmas>
</Field>
<Field name="PayloadMass">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4b9c/471E/275C/5914557c3898"/>
</pragmas>
</Field>
<Field name="USB_Key">
<type>
<NamedType>
<type>
<TypeRef name="ts_DSA"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4ba5/471E/275C/5914558c2241"/>
</pragmas>
</Field>
</fields>
</Struct>
</definition>
<pragmas>
<ed:Type oid="!ed/4b72/471E/275C/591454fb5702"/>
</pragmas>
</Type>
<Type name="te_Bay">
<definition>
<Enum>
<values>
<Value name="OPEN">
<pragmas>
<ed:Value oid="!ed/4b90/471E/275C/591455587273"/>
</pragmas>
</Value>
<Value name="CLOSED">
<pragmas>
<ed:Value oid="!ed/4b91/471E/275C/5914555ec7a"/>
</pragmas>
</Value>
</values>
</Enum>
</definition>
<pragmas>
<ed:Type oid="!ed/4b8f/471E/275C/5914554a1d41"/>
</pragmas>
</Type>
<Type name="ts_FligthControl">
<definition>
<Struct>
<fields>
<Field name="CurrentDistance">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4bc4/471E/275C/591456b61fad"/>
</pragmas>
</Field>
<Field name="CurrentSpeed">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4bcd/471E/275C/591456c746f"/>
</pragmas>
</Field>
<Field name="CurrentAltitude">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4bd6/471E/275C/591456d1c33"/>
</pragmas>
</Field>
</fields>
</Struct>
</definition>
<pragmas>
<ed:Type oid="!ed/4bba/471E/275C/591456013d6"/>
</pragmas>
</Type>
<Type name="ts_MissionStatus">
<definition>
<Struct>
<fields>
<Field name="MissionCANCELLED">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4bff/471E/275C/5914581d1414"/>
</pragmas>
</Field>
<Field name="MissionCOMPLETE">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4c08/471E/275C/5914585024d9"/>
</pragmas>
</Field>
<Field name="MissionABORTED">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4c11/471E/275C/591458874033"/>
</pragmas>
</Field>
</fields>
</Struct>
</definition>
<pragmas>
<ed:Type oid="!ed/4bfe/471E/275C/591458057f2f"/>
</pragmas>
</Type>
<Type name="ts_FligthControlCmd">
<definition>
<Struct>
<fields>
<Field name="StartTakeOff">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4c26/471E/275C/591458f95564"/>
</pragmas>
</Field>
<Field name="StartLanding">
<type>
<NamedType>
<type>
<TypeRef name="bool"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4c2f/471E/275C/591459093fff"/>
</pragmas>
</Field>
<Field name="OperatingAltitude">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4c38/471E/275C/591459166994"/>
</pragmas>
</Field>
<Field name="OperatingSpeed">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4c41/471E/275C/591459661819"/>
</pragmas>
</Field>
<Field name="OperatingOption">
<type>
<NamedType>
<type>
<TypeRef name="te_Option"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4c4a/471E/275C/591459754b16"/>
</pragmas>
</Field>
<Field name="OperatingDistance">
<type>
<NamedType>
<type>
<TypeRef name="float64"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Field oid="!ed/4c4b/471E/275C/591459897ee0"/>
</pragmas>
</Field>
</fields>
</Struct>
</definition>
<pragmas>
<ed:Type oid="!ed/4c25/471E/275C/591458eb1ef9"/>
</pragmas>
</Type>
<Type name="te_Phase">
<definition>
<Enum>
<values>
<Value name="CRUISE">
<pragmas>
<ed:Value oid="!ed/4f86/471E/275C/591479478a6"/>
</pragmas>
</Value>
<Value name="CLIMB">
<pragmas>
<ed:Value oid="!ed/4f87/471E/275C/591479557d60"/>
</pragmas>
</Value>
<Value name="DESCENT">
<pragmas>
<ed:Value oid="!ed/4f88/471E/275C/5914795b4a9c"/>
</pragmas>
</Value>
</values>
</Enum>
</definition>
<pragmas>
<ed:Type oid="!ed/4f72/471E/275C/5914791b38ae"/>
</pragmas>
</Type>
</declarations>
<pragmas>
<ed:Package oid="!ed/4b11/471E/275C/591453034aab" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<diagrams>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/4b12/471E/275C/59145303614" blockKind="constants"/>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/4b13/471E/275C/591453031d20" blockKind="types" columnsSize="0, 215, 150, 300"/>
<TreeDiagram landscape="false" format="A4 (210 297)" oid="!ed/4b14/471E/275C/591453031c14" blockKind="sensors"/>
</diagrams>
</ed:Package>
</pragmas>
</Package>
</declarations>
</File>

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<Operator xmlns="http://www.esterel-technologies.com/ns/scade/6" xmlns:ed="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5" xmlns:kcg="http://www.esterel-technologies.com/ns/scade/pragmas/codegen/3" kind="node" name="qDotComputation">
<inputs>
<Variable name="Input1">
<type>
<NamedType>
<type>
<TypeRef name="float32"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4ec2/471E/275C/5914779917c1"/>
</pragmas>
</Variable>
</inputs>
<outputs>
<Variable name="Output1">
<type>
<NamedType>
<type>
<TypeRef name="float32"/>
</type>
</NamedType>
</type>
<pragmas>
<ed:Variable oid="!ed/4ec3/471E/275C/5914779942ba"/>
</pragmas>
</Variable>
</outputs>
<pragmas>
<ed:Operator oid="!ed/4ec0/471E/275C/591477821121" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5">
<diagrams>
<NetDiagram name="qDotComputation_1" landscape="true" format="A4 (210 297)" oid="!ed/4ec1/471E/275C/5914778278de"/>
</diagrams>
</ed:Operator>
</pragmas>
</Operator>