Unverified Commit c68a89b6 authored by SylvanDissoubray's avatar SylvanDissoubray Committed by GitHub

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
parent c491b307
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?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>
This diff is collapsed.
Notes-Types { Esterel-Technologies } DEFINITIONS ::=
BEGIN
END
Notes-Values { Esterel-Technologies } DEFINITIONS ::=
BEGIN
END
This diff is collapsed.
<?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>
<?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>
This diff is collapsed.
<?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>
This diff is collapsed.
<?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>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?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>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment