You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3835 lines
115 KiB
3835 lines
115 KiB
<?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="ControlLaws"> |
|
<inputs> |
|
<Variable name="FligthControlEstimated"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="Type::ts_FligthControl"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13321/48F7/1F2C/5a54948c45dd"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="MMCmd"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="Type::ts_FligthControlCmd"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13320/48F7/1F2C/5a54948c272b"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="IntermediateSetPoint_forAltitude"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13322/48F7/1F2C/5a54948c6bc6"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="IntermediateSetPoint_forSpeed"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/1331f/48F7/1F2C/5a54948c6745"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="OperatingMass"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4ea8/30D7/2A9C/5a54d51fcf3"/> |
|
</pragmas> |
|
</Variable> |
|
</inputs> |
|
<outputs> |
|
<Variable name="PropultionTorque"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13323/48F7/1F2C/5a54948c5c7f"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="BrakingTorque"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/1331e/48F7/1F2C/5a54948c18bb"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="ReachIntermediateSetPoint_forAltitude"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<default> |
|
<ConstValue value="false"/> |
|
</default> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13325/48F7/1F2C/5a54948c5003"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="ReachIntermediateSetPoint_forSpeed"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<default> |
|
<ConstValue value="false"/> |
|
</default> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13326/48F7/1F2C/5a54948c2f8e"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="phase"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="Type::te_Phase"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<last> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="Type::CRUISE"/> |
|
</path> |
|
</IdExpression> |
|
</last> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13380/48F7/1F2C/5a54948c5f35"/> |
|
</pragmas> |
|
</Variable> |
|
</outputs> |
|
<locals> |
|
<Variable name="commutationTime"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="int32"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13329/48F7/1F2C/5a54948c5f22"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="SwichMode"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<default> |
|
<ConstValue value="false"/> |
|
</default> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4a09/30D7/2A9C/5a5496d416eb"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L4"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="int32"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/133b2/48F7/1F2C/5a54948c4a5"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L3"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/133b0/48F7/1F2C/5a54948c6e7f"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L2"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/133ad/48F7/1F2C/5a54948c6823"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L1"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/133ab/48F7/1F2C/5a54948c2e6f"/> |
|
</pragmas> |
|
</Variable> |
|
</locals> |
|
<data> |
|
<!-- _L1 = _L3 / _L2; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L1"/> |
|
</lefts> |
|
<right> |
|
<!-- _L3 / _L2 --> |
|
<BinaryOp name="1" operator="/"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L3"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L2"/> |
|
</path> |
|
</IdExpression> |
|
</operands> |
|
</BinaryOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/133aa/48F7/1F2C/5a54948c63e3"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L2 = TCycle; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L2"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="TCycle"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/133ac/48F7/1F2C/5a54948c3380"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L3 = CommutationDuration; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L3"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="CommutationDuration"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/133af/48F7/1F2C/5a54948cbef"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L4 = (_L1 : int32); --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L4"/> |
|
</lefts> |
|
<right> |
|
<!-- (_L1 : int32) --> |
|
<NumericCastOp name="1"> |
|
<type> |
|
<TypeRef name="int32"/> |
|
</type> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L1"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
</NumericCastOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/133b1/48F7/1F2C/5a54948c70e5"/> |
|
</pragmas> |
|
</Equation> |
|
<StateMachine name="SM1"> |
|
<states> |
|
<State name="PROPULSION"> |
|
<locals> |
|
<Variable name="l_error"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/1337f/48F7/1F2C/5a54948c68d6"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="setSpeed"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4c8e/30D7/2A9C/5a549d5c4433"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L15"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/1335d/48F7/1F2C/5a54948c6477"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L10"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13361/48F7/1F2C/5a54948c6a9c"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L8"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13363/48F7/1F2C/5a54948c340c"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L7"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13364/48F7/1F2C/5a54948c7dbe"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L2"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13367/48F7/1F2C/5a54948c6a66"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L3"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13368/48F7/1F2C/5a54948c1b08"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L4"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13369/48F7/1F2C/5a54948c5b06"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L29"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/1336b/48F7/1F2C/5a54948cde8"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L30"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/1336c/48F7/1F2C/5a54948c60bc"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L42"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13370/48F7/1F2C/5a54948c7616"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L43"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13371/48F7/1F2C/5a54948c169b"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L44"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13372/48F7/1F2C/5a54948ca11"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L67"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4a14/30D7/2A9C/5a5496d47716"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L66"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4a11/30D7/2A9C/5a5496d4428b"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L65"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4a0f/30D7/2A9C/5a5496d418ab"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L64"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4a0c/30D7/2A9C/5a5496d46d16"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L74"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4c7f/30D7/2A9C/5a549d536c13"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L75"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4c99/30D7/2A9C/5a549d86485b"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L76"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="Type::te_Phase"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4cb4/30D7/2A9C/5a549f815dc5"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L77"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4eaa/30D7/2A9C/5a54d51fbd5"/> |
|
</pragmas> |
|
</Variable> |
|
</locals> |
|
<data> |
|
<!-- _L2, _L3, _L4 = GainsPID(_L77, _L7, _L10, _L76); --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L2"/> |
|
<VariableRef name="_L3"/> |
|
<VariableRef name="_L4"/> |
|
</lefts> |
|
<right> |
|
<!-- GainsPID(_L77, _L7, _L10, _L76) --> |
|
<CallExpression> |
|
<operator> |
|
<OpCall name="1"> |
|
<operator> |
|
<OperatorRef name="GainsPID"/> |
|
</operator> |
|
</OpCall> |
|
</operator> |
|
<callParameters> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L77"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L7"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L10"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L76"/> |
|
</path> |
|
</IdExpression> |
|
</callParameters> |
|
</CallExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/1332e/48F7/1F2C/5a54948c4c93"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L7 = MMCmd.OperatingAltitude; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L7"/> |
|
</lefts> |
|
<right> |
|
<!-- MMCmd.OperatingAltitude --> |
|
<PrjOp name="29"> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="MMCmd"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
<with> |
|
<Label name="OperatingAltitude"/> |
|
</with> |
|
</PrjOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13331/48F7/1F2C/5a54948c4409"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L8 = PID(_L75, _L2, _L3, _L4); --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L8"/> |
|
</lefts> |
|
<right> |
|
<!-- PID(_L75, _L2, _L3, _L4) --> |
|
<CallExpression> |
|
<operator> |
|
<OpCall name="1"> |
|
<operator> |
|
<OperatorRef name="PID"/> |
|
</operator> |
|
</OpCall> |
|
</operator> |
|
<callParameters> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L75"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L2"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L3"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L4"/> |
|
</path> |
|
</IdExpression> |
|
</callParameters> |
|
</CallExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13332/48F7/1F2C/5a54948c6557"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L10 = MMCmd.OperatingSpeed; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L10"/> |
|
</lefts> |
|
<right> |
|
<!-- MMCmd.OperatingSpeed --> |
|
<PrjOp name="30"> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="MMCmd"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
<with> |
|
<Label name="OperatingSpeed"/> |
|
</with> |
|
</PrjOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13334/48F7/1F2C/5a54948c303a"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L15 = MMCmd.OperatingOption = Type::SPEED; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L15"/> |
|
</lefts> |
|
<right> |
|
<!-- MMCmd.OperatingOption = Type::SPEED --> |
|
<BinaryOp name="7" operator="="> |
|
<operands> |
|
<!-- MMCmd.OperatingOption --> |
|
<PrjOp name="31"> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="MMCmd"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
<with> |
|
<Label name="OperatingOption"/> |
|
</with> |
|
</PrjOp> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="Type::SPEED"/> |
|
</path> |
|
</IdExpression> |
|
</operands> |
|
</BinaryOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13338/48F7/1F2C/5a54948c1ad5"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L42 = (activate EnergyModeComputation every _L44 default (_L43))(_L29, _L30); --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L42"/> |
|
</lefts> |
|
<right> |
|
<!-- (activate EnergyModeComputation every _L44 default (_L43))(_L29, _L30) --> |
|
<CallExpression> |
|
<operator> |
|
<ActivateNoInitOp name="2"> |
|
<operator> |
|
<OpCall name="1"> |
|
<operator> |
|
<OperatorRef name="EnergyModeComputation"/> |
|
</operator> |
|
</OpCall> |
|
</operator> |
|
<every> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L44"/> |
|
</path> |
|
</IdExpression> |
|
</every> |
|
<default> |
|
<ListExpression> |
|
<items> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L43"/> |
|
</path> |
|
</IdExpression> |
|
</items> |
|
</ListExpression> |
|
</default> |
|
</ActivateNoInitOp> |
|
</operator> |
|
<callParameters> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L29"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L30"/> |
|
</path> |
|
</IdExpression> |
|
</callParameters> |
|
</CallExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/1333c/48F7/1F2C/5a54948c7098"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L29 = FligthControlEstimated.CurrentAltitude; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L29"/> |
|
</lefts> |
|
<right> |
|
<!-- FligthControlEstimated.CurrentAltitude --> |
|
<PrjOp name="6"> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="FligthControlEstimated"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
<with> |
|
<Label name="CurrentAltitude"/> |
|
</with> |
|
</PrjOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/1333d/48F7/1F2C/5a54948c2e54"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L30 = FligthControlEstimated.CurrentSpeed; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L30"/> |
|
</lefts> |
|
<right> |
|
<!-- FligthControlEstimated.CurrentSpeed --> |
|
<PrjOp name="7"> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="FligthControlEstimated"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
<with> |
|
<Label name="CurrentSpeed"/> |
|
</with> |
|
</PrjOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/1333e/48F7/1F2C/5a54948c1ae5"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L43 = false; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L43"/> |
|
</lefts> |
|
<right> |
|
<ConstValue value="false"/> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13343/48F7/1F2C/5a54948c143d"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L44 = MMCmd.OperatingOption = Type::ENERGY; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L44"/> |
|
</lefts> |
|
<right> |
|
<!-- MMCmd.OperatingOption = Type::ENERGY --> |
|
<BinaryOp name="8" operator="="> |
|
<operands> |
|
<!-- MMCmd.OperatingOption --> |
|
<PrjOp name="32"> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="MMCmd"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
<with> |
|
<Label name="OperatingOption"/> |
|
</with> |
|
</PrjOp> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="Type::ENERGY"/> |
|
</path> |
|
</IdExpression> |
|
</operands> |
|
</BinaryOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13344/48F7/1F2C/5a54948c6d2e"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L75 = l_error; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L75"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="l_error"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/1334c/48F7/1F2C/5a54948cbb8"/> |
|
</pragmas> |
|
</Equation> |
|
<IfBlock name="IfBlock1"> |
|
<block> |
|
<IfNode> |
|
<if> |
|
<!-- l_error > LIB::F_Epsilon --> |
|
<BinaryOp name="1" operator=">"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="l_error"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="LIB::F_Epsilon"/> |
|
</path> |
|
</IdExpression> |
|
</operands> |
|
</BinaryOp> |
|
</if> |
|
<then> |
|
<Action> |
|
<data> |
|
<!-- phase = Type::CLIMB; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="phase"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="Type::CLIMB"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13359/48F7/1F2C/5a54948c60a5"/> |
|
</pragmas> |
|
</Equation> |
|
</data> |
|
<pragmas> |
|
<ed:Action oid="!ed/13358/48F7/1F2C/5a54948c6618"/> |
|
</pragmas> |
|
</Action> |
|
</then> |
|
<else> |
|
<IfNode> |
|
<if> |
|
<!-- l_error < - LIB::F_Epsilon --> |
|
<BinaryOp name="2" operator="<"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="l_error"/> |
|
</path> |
|
</IdExpression> |
|
<!-- - LIB::F_Epsilon --> |
|
<UnaryOp name="1" operator="-"> |
|
<operand> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="LIB::F_Epsilon"/> |
|
</path> |
|
</IdExpression> |
|
</operand> |
|
</UnaryOp> |
|
</operands> |
|
</BinaryOp> |
|
</if> |
|
<then> |
|
<Action> |
|
<data> |
|
<!-- phase = Type::DESCENT; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="phase"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="Type::DESCENT"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13357/48F7/1F2C/5a54948c7882"/> |
|
</pragmas> |
|
</Equation> |
|
</data> |
|
<pragmas> |
|
<ed:Action oid="!ed/13356/48F7/1F2C/5a54948c634d"/> |
|
</pragmas> |
|
</Action> |
|
</then> |
|
<else> |
|
<Action> |
|
<data> |
|
<!-- phase = Type::CRUISE; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="phase"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="Type::CRUISE"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13355/48F7/1F2C/5a54948c6651"/> |
|
</pragmas> |
|
</Equation> |
|
</data> |
|
<pragmas> |
|
<ed:Action oid="!ed/13354/48F7/1F2C/5a54948c5dd6"/> |
|
</pragmas> |
|
</Action> |
|
</else> |
|
<pragmas> |
|
<ed:IfNode oid="!ed/13353/48F7/1F2C/5a54948c1322"/> |
|
</pragmas> |
|
</IfNode> |
|
</else> |
|
<pragmas> |
|
<ed:IfNode oid="!ed/13352/48F7/1F2C/5a54948c208d"/> |
|
</pragmas> |
|
</IfNode> |
|
</block> |
|
<pragmas> |
|
<ed:IfBlock oid="!ed/13351/48F7/1F2C/5a54948c207f"/> |
|
</pragmas> |
|
</IfBlock> |
|
<!-- PropultionTorque = _L65; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="PropultionTorque"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L65"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a0a/30D7/2A9C/5a5496d426ac"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L64 = 0.0; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L64"/> |
|
</lefts> |
|
<right> |
|
<ConstValue value="0.0"/> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a0b/30D7/2A9C/5a5496d422ec"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- SwichMode = _L67; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="SwichMode"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L67"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a0d/30D7/2A9C/5a5496d44d88"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L65 = if _L67 then (_L64) else (_L8); --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L65"/> |
|
</lefts> |
|
<right> |
|
<!-- if _L67 then (_L64) else (_L8) --> |
|
<IfThenElseOp name="3"> |
|
<if> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L67"/> |
|
</path> |
|
</IdExpression> |
|
</if> |
|
<then> |
|
<ListExpression> |
|
<items> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L64"/> |
|
</path> |
|
</IdExpression> |
|
</items> |
|
</ListExpression> |
|
</then> |
|
<else> |
|
<ListExpression> |
|
<items> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L8"/> |
|
</path> |
|
</IdExpression> |
|
</items> |
|
</ListExpression> |
|
</else> |
|
</IfThenElseOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a0e/30D7/2A9C/5a5496d43c57"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L66 = 0.0; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L66"/> |
|
</lefts> |
|
<right> |
|
<ConstValue value="0.0"/> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a10/30D7/2A9C/5a5496d43dd6"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- BrakingTorque = _L66; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="BrakingTorque"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L66"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a12/30D7/2A9C/5a5496d42fbc"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L67 = _L8 < _L64; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L67"/> |
|
</lefts> |
|
<right> |
|
<!-- _L8 < _L64 --> |
|
<BinaryOp name="3" operator="<"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L8"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L64"/> |
|
</path> |
|
</IdExpression> |
|
</operands> |
|
</BinaryOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a13/30D7/2A9C/5a5496d42e69"/> |
|
</pragmas> |
|
</Equation> |
|
<IfBlock name="IfBlockError"> |
|
<block> |
|
<IfNode> |
|
<if> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="setSpeed"/> |
|
</path> |
|
</IdExpression> |
|
</if> |
|
<then> |
|
<Action> |
|
<locals> |
|
<Variable name="_L5"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4bb1/30D7/2A9C/5a549c6fa10"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L6"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4bb3/30D7/2A9C/5a549c6f14c9"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L4"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4ba0/30D7/2A9C/5a549c625882"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L1"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4b89/30D7/2A9C/5a549c558cf"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L2"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4b8b/30D7/2A9C/5a549c5566dd"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L3"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4b8d/30D7/2A9C/5a549c555ce1"/> |
|
</pragmas> |
|
</Variable> |
|
</locals> |
|
<data> |
|
<!-- _L1 = FligthControlEstimated.CurrentSpeed; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L1"/> |
|
</lefts> |
|
<right> |
|
<!-- FligthControlEstimated.CurrentSpeed --> |
|
<PrjOp name="26"> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="FligthControlEstimated"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
<with> |
|
<Label name="CurrentSpeed"/> |
|
</with> |
|
</PrjOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c00/30D7/2A9C/5a549cab4242"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L2 = _L3 - _L1; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L2"/> |
|
</lefts> |
|
<right> |
|
<!-- _L3 - _L1 --> |
|
<BinaryOp name="5" operator="-"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L3"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L1"/> |
|
</path> |
|
</IdExpression> |
|
</operands> |
|
</BinaryOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c01/30D7/2A9C/5a549cab4891"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L3 = IntermediateSetPoint_forSpeed; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L3"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="IntermediateSetPoint_forSpeed"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c02/30D7/2A9C/5a549cab169"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- l_error = _L2; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="l_error"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L2"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c03/30D7/2A9C/5a549cab3544"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L4 = LIB::F_Abs(_L2); --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L4"/> |
|
</lefts> |
|
<right> |
|
<!-- LIB::F_Abs(_L2) --> |
|
<CallExpression> |
|
<operator> |
|
<OpCall name="3"> |
|
<operator> |
|
<OperatorRef name="LIB::F_Abs"/> |
|
</operator> |
|
</OpCall> |
|
</operator> |
|
<callParameters> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L2"/> |
|
</path> |
|
</IdExpression> |
|
</callParameters> |
|
</CallExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c04/30D7/2A9C/5a549cab797e"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L5 = _L4 < _L6; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L5"/> |
|
</lefts> |
|
<right> |
|
<!-- _L4 < _L6 --> |
|
<BinaryOp name="6" operator="<"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L4"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L6"/> |
|
</path> |
|
</IdExpression> |
|
</operands> |
|
</BinaryOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c05/30D7/2A9C/5a549cab5ca0"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L6 = LIB::F_Epsilon; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L6"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="LIB::F_Epsilon"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c06/30D7/2A9C/5a549cab7635"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- ReachIntermediateSetPoint_forSpeed = _L5; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="ReachIntermediateSetPoint_forSpeed"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L5"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c07/30D7/2A9C/5a549cab2937"/> |
|
</pragmas> |
|
</Equation> |
|
</data> |
|
<pragmas> |
|
<ed:Action oid="!ed/4bcc/30D7/2A9C/5a549ca14f52"/> |
|
</pragmas> |
|
</Action> |
|
</then> |
|
<else> |
|
<Action> |
|
<locals> |
|
<Variable name="_L3"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4c37/30D7/2A9C/5a549cf25138"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L2"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4c35/30D7/2A9C/5a549cf21798"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L1"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4c33/30D7/2A9C/5a549cf293f"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L6"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4c55/30D7/2A9C/5a549d0224ea"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L5"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4c53/30D7/2A9C/5a549d0215df"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L4"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4c51/30D7/2A9C/5a549d026669"/> |
|
</pragmas> |
|
</Variable> |
|
</locals> |
|
<data> |
|
<!-- _L1 = IntermediateSetPoint_forAltitude; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L1"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="IntermediateSetPoint_forAltitude"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c32/30D7/2A9C/5a549cf2274c"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L2 = FligthControlEstimated.CurrentAltitude; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L2"/> |
|
</lefts> |
|
<right> |
|
<!-- FligthControlEstimated.CurrentAltitude --> |
|
<PrjOp name="27"> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="FligthControlEstimated"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
<with> |
|
<Label name="CurrentAltitude"/> |
|
</with> |
|
</PrjOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c34/30D7/2A9C/5a549cf268e7"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L3 = _L1 - _L2; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L3"/> |
|
</lefts> |
|
<right> |
|
<!-- _L1 - _L2 --> |
|
<BinaryOp name="6" operator="-"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L1"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L2"/> |
|
</path> |
|
</IdExpression> |
|
</operands> |
|
</BinaryOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c36/30D7/2A9C/5a549cf247f7"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- l_error = _L3; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="l_error"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L3"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c3e/30D7/2A9C/5a549cf62c06"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L4 = _L6 < _L5; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L4"/> |
|
</lefts> |
|
<right> |
|
<!-- _L6 < _L5 --> |
|
<BinaryOp name="7" operator="<"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L6"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L5"/> |
|
</path> |
|
</IdExpression> |
|
</operands> |
|
</BinaryOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c50/30D7/2A9C/5a549d024851"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L5 = LIB::F_Epsilon; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L5"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="LIB::F_Epsilon"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c52/30D7/2A9C/5a549d02afc"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L6 = LIB::F_Abs(_L3); --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L6"/> |
|
</lefts> |
|
<right> |
|
<!-- LIB::F_Abs(_L3) --> |
|
<CallExpression> |
|
<operator> |
|
<OpCall name="4"> |
|
<operator> |
|
<OperatorRef name="LIB::F_Abs"/> |
|
</operator> |
|
</OpCall> |
|
</operator> |
|
<callParameters> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L3"/> |
|
</path> |
|
</IdExpression> |
|
</callParameters> |
|
</CallExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c54/30D7/2A9C/5a549d026bce"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- ReachIntermediateSetPoint_forAltitude = _L4; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="ReachIntermediateSetPoint_forAltitude"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L4"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c73/30D7/2A9C/5a549d1076dd"/> |
|
</pragmas> |
|
</Equation> |
|
</data> |
|
<pragmas> |
|
<ed:Action oid="!ed/4bcd/30D7/2A9C/5a549ca13b1a"/> |
|
</pragmas> |
|
</Action> |
|
</else> |
|
<pragmas> |
|
<ed:IfNode oid="!ed/4bcb/30D7/2A9C/5a549ca15114"/> |
|
</pragmas> |
|
</IfNode> |
|
</block> |
|
<pragmas> |
|
<ed:IfBlock oid="!ed/4bc4/30D7/2A9C/5a549ca050b8"/> |
|
</pragmas> |
|
</IfBlock> |
|
<!-- _L74 = _L15 or _L42; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L74"/> |
|
</lefts> |
|
<right> |
|
<!-- _L15 or _L42 --> |
|
<NAryOp name="2" operator="or"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L15"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L42"/> |
|
</path> |
|
</IdExpression> |
|
</operands> |
|
</NAryOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c7e/30D7/2A9C/5a549d5357e6"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- setSpeed = _L74; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="setSpeed"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L74"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4c8f/30D7/2A9C/5a549d5c1208"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L76 = phase; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L76"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="phase"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4cb3/30D7/2A9C/5a549f81d30"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L77 = OperatingMass; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L77"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="OperatingMass"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4ea9/30D7/2A9C/5a54d51f3ee1"/> |
|
</pragmas> |
|
</Equation> |
|
</data> |
|
<until> |
|
<Transition kind="restart"> |
|
<target> |
|
<StateRef name="COMMUTATION_WAIT"/> |
|
</target> |
|
<condition> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="SwichMode"/> |
|
</path> |
|
</IdExpression> |
|
</condition> |
|
<effect> |
|
<Action> |
|
<pragmas> |
|
<ed:Action oid="!ed/4a79/30D7/2A9C/5a549a7e7d28"/> |
|
</pragmas> |
|
</Action> |
|
</effect> |
|
<pragmas> |
|
<ed:Transition oid="!ed/13381/48F7/1F2C/5a54948c3d86"/> |
|
</pragmas> |
|
</Transition> |
|
</until> |
|
<pragmas> |
|
<ed:State oid="!ed/1332b/48F7/1F2C/5a54948c13ca" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5"> |
|
<diagrams> |
|
<NetDiagram name="PROPULSION_1" landscape="true" format="A4 (210 297)" oid="!ed/133c5/48F7/1F2C/5a5494d977b6"> |
|
<presentationElements> |
|
<EquationGE presentable="!ed/1332e/48F7/1F2C/5a54948c4c93"> |
|
<position> |
|
<Point x="13520" y="17489"/> |
|
</position> |
|
<size> |
|
<Size width="1286" height="2186"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/13331/48F7/1F2C/5a54948c4409" dstEquation="!ed/1332e/48F7/1F2C/5a54948c4c93"> |
|
<positions> |
|
<Point x="12832" y="18574"/> |
|
<Point x="13176" y="18574"/> |
|
<Point x="13176" y="18574"/> |
|
<Point x="13520" y="18574"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="3" srcEquation="!ed/13334/48F7/1F2C/5a54948c303a" dstEquation="!ed/1332e/48F7/1F2C/5a54948c4c93"> |
|
<positions> |
|
<Point x="12832" y="19129"/> |
|
<Point x="12965" y="19129"/> |
|
<Point x="12965" y="19129"/> |
|
<Point x="13520" y="19129"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/13331/48F7/1F2C/5a54948c4409"> |
|
<position> |
|
<Point x="12621" y="18415"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="317"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/13332/48F7/1F2C/5a54948c6557"> |
|
<position> |
|
<Point x="14473" y="14923"/> |
|
</position> |
|
<size> |
|
<Size width="2821" height="1391"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="2" rightExprIndex="3" srcEquation="!ed/1332e/48F7/1F2C/5a54948c4c93" dstEquation="!ed/13332/48F7/1F2C/5a54948c6557"> |
|
<positions> |
|
<Point x="14817" y="18600"/> |
|
<Point x="15901" y="18600"/> |
|
<Point x="15901" y="16325"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/1332e/48F7/1F2C/5a54948c4c93" dstEquation="!ed/13332/48F7/1F2C/5a54948c6557"> |
|
<positions> |
|
<Point x="14817" y="18045"/> |
|
<Point x="15187" y="18045"/> |
|
<Point x="15187" y="16325"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="3" rightExprIndex="4" srcEquation="!ed/1332e/48F7/1F2C/5a54948c4c93" dstEquation="!ed/13332/48F7/1F2C/5a54948c6557"> |
|
<positions> |
|
<Point x="14817" y="19129"/> |
|
<Point x="16589" y="19129"/> |
|
<Point x="16589" y="16325"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/13334/48F7/1F2C/5a54948c303a"> |
|
<position> |
|
<Point x="12621" y="18971"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="317"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/13338/48F7/1F2C/5a54948c1ad5"> |
|
<position> |
|
<Point x="7594" y="1588"/> |
|
</position> |
|
<size> |
|
<Size width="212" height="317"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/1333c/48F7/1F2C/5a54948c7098"> |
|
<position> |
|
<Point x="9684" y="3122"/> |
|
</position> |
|
<size> |
|
<Size width="4011" height="1444"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/13344/48F7/1F2C/5a54948c6d2e" dstEquation="!ed/1333c/48F7/1F2C/5a54948c7098"> |
|
<positions> |
|
<Point x="7885" y="2514"/> |
|
<Point x="11695" y="2514"/> |
|
<Point x="11695" y="3122"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="4" srcEquation="!ed/13343/48F7/1F2C/5a54948c143d" dstEquation="!ed/1333c/48F7/1F2C/5a54948c7098"> |
|
<positions> |
|
<Point x="10821" y="5106"/> |
|
<Point x="11695" y="5106"/> |
|
<Point x="11695" y="4577"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/1333d/48F7/1F2C/5a54948c2e54" dstEquation="!ed/1333c/48F7/1F2C/5a54948c7098"> |
|
<positions> |
|
<Point x="8996" y="3598"/> |
|
<Point x="9340" y="3598"/> |
|
<Point x="9340" y="3598"/> |
|
<Point x="9684" y="3598"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="3" srcEquation="!ed/1333e/48F7/1F2C/5a54948c1ae5" dstEquation="!ed/1333c/48F7/1F2C/5a54948c7098"> |
|
<positions> |
|
<Point x="9022" y="4233"/> |
|
<Point x="9340" y="4233"/> |
|
<Point x="9340" y="4101"/> |
|
<Point x="9684" y="4101"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/1333d/48F7/1F2C/5a54948c2e54"> |
|
<position> |
|
<Point x="8784" y="3440"/> |
|
</position> |
|
<size> |
|
<Size width="212" height="318"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/1333e/48F7/1F2C/5a54948c1ae5"> |
|
<position> |
|
<Point x="8811" y="4075"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="317"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/13343/48F7/1F2C/5a54948c143d"> |
|
<position> |
|
<Point x="10610" y="4948"/> |
|
</position> |
|
<size> |
|
<Size width="212" height="318"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/13344/48F7/1F2C/5a54948c6d2e"> |
|
<position> |
|
<Point x="7673" y="2355"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="317"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/1334c/48F7/1F2C/5a54948cbb8"> |
|
<position> |
|
<Point x="11404" y="15346"/> |
|
</position> |
|
<size> |
|
<Size width="265" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<IfBlockGE presentable="!ed/13351/48F7/1F2C/5a54948c207f"> |
|
<position> |
|
<Point x="2170" y="14764"/> |
|
</position> |
|
<size> |
|
<Size width="5212" height="5662"/> |
|
</size> |
|
</IfBlockGE> |
|
<IfNodeGE labelWidth="2593" presentable="!ed/13352/48F7/1F2C/5a54948c208d"> |
|
<position> |
|
<Point x="2619" y="15637"/> |
|
</position> |
|
</IfNodeGE> |
|
<ActionGE display="embeddedTextual" presentable="!ed/13358/48F7/1F2C/5a54948c6618"> |
|
<position> |
|
<Point x="3307" y="15558"/> |
|
</position> |
|
<size> |
|
<Size width="3492" height="926"/> |
|
</size> |
|
</ActionGE> |
|
<IfNodeGE labelWidth="2831" presentable="!ed/13353/48F7/1F2C/5a54948c1322"> |
|
<position> |
|
<Point x="2619" y="17092"/> |
|
</position> |
|
</IfNodeGE> |
|
<ActionGE display="embeddedTextual" presentable="!ed/13356/48F7/1F2C/5a54948c634d"> |
|
<position> |
|
<Point x="3334" y="17013"/> |
|
</position> |
|
<size> |
|
<Size width="3493" height="926"/> |
|
</size> |
|
</ActionGE> |
|
<ActionGE display="embeddedTextual" presentable="!ed/13354/48F7/1F2C/5a54948c5dd6"> |
|
<position> |
|
<Point x="3307" y="18574"/> |
|
</position> |
|
<size> |
|
<Size width="3493" height="926"/> |
|
</size> |
|
</ActionGE> |
|
<EquationGE presentable="!ed/4a0a/30D7/2A9C/5a5496d426ac"> |
|
<position> |
|
<Point x="22648" y="16404"/> |
|
</position> |
|
<size> |
|
<Size width="317" height="502"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/4a0b/30D7/2A9C/5a5496d422ec"> |
|
<position> |
|
<Point x="18468" y="15690"/> |
|
</position> |
|
<size> |
|
<Size width="212" height="318"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4a0d/30D7/2A9C/5a5496d44d88"> |
|
<position> |
|
<Point x="23230" y="15478"/> |
|
</position> |
|
<size> |
|
<Size width="344" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4a0e/30D7/2A9C/5a5496d43c57"> |
|
<position> |
|
<Point x="20346" y="16193"/> |
|
</position> |
|
<size> |
|
<Size width="1006" height="926"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/4a10/30D7/2A9C/5a5496d43dd6"> |
|
<position> |
|
<Point x="20902" y="18283"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="317"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4a12/30D7/2A9C/5a5496d42fbc"> |
|
<position> |
|
<Point x="22913" y="18177"/> |
|
</position> |
|
<size> |
|
<Size width="317" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4a13/30D7/2A9C/5a5496d42e69"> |
|
<position> |
|
<Point x="19288" y="15399"/> |
|
</position> |
|
<size> |
|
<Size width="1006" height="662"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4a10/30D7/2A9C/5a5496d43dd6" dstEquation="!ed/4a12/30D7/2A9C/5a5496d42fbc"> |
|
<positions> |
|
<Point x="21114" y="18441"/> |
|
<Point x="22040" y="18441"/> |
|
<Point x="22040" y="18441"/> |
|
<Point x="22966" y="18441"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/4a0b/30D7/2A9C/5a5496d422ec" dstEquation="!ed/4a0e/30D7/2A9C/5a5496d43c57"> |
|
<positions> |
|
<Point x="18680" y="15849"/> |
|
<Point x="19103" y="15849"/> |
|
<Point x="19103" y="16510"/> |
|
<Point x="20346" y="16510"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4a0e/30D7/2A9C/5a5496d43c57" dstEquation="!ed/4a0a/30D7/2A9C/5a5496d426ac"> |
|
<positions> |
|
<Point x="21352" y="16669"/> |
|
<Point x="21696" y="16669"/> |
|
<Point x="21696" y="16669"/> |
|
<Point x="22701" y="16669"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/4a0b/30D7/2A9C/5a5496d422ec" dstEquation="!ed/4a13/30D7/2A9C/5a5496d42e69"> |
|
<positions> |
|
<Point x="18680" y="15849"/> |
|
<Point x="18971" y="15849"/> |
|
<Point x="18971" y="15849"/> |
|
<Point x="19288" y="15849"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4a13/30D7/2A9C/5a5496d42e69" dstEquation="!ed/4a0e/30D7/2A9C/5a5496d43c57"> |
|
<positions> |
|
<Point x="20294" y="15743"/> |
|
<Point x="20849" y="15743"/> |
|
<Point x="20849" y="16193"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4a13/30D7/2A9C/5a5496d42e69" dstEquation="!ed/4a0d/30D7/2A9C/5a5496d44d88"> |
|
<positions> |
|
<Point x="20294" y="15743"/> |
|
<Point x="21378" y="15743"/> |
|
<Point x="21378" y="15743"/> |
|
<Point x="23230" y="15743"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/13332/48F7/1F2C/5a54948c6557" dstEquation="!ed/4a13/30D7/2A9C/5a5496d42e69"> |
|
<positions> |
|
<Point x="17304" y="15637"/> |
|
<Point x="19632" y="15637"/> |
|
<Point x="19632" y="15637"/> |
|
<Point x="19288" y="15637"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="3" srcEquation="!ed/13332/48F7/1F2C/5a54948c6557" dstEquation="!ed/4a0e/30D7/2A9C/5a5496d43c57"> |
|
<positions> |
|
<Point x="17304" y="15637"/> |
|
<Point x="17621" y="15637"/> |
|
<Point x="17621" y="16801"/> |
|
<Point x="20346" y="16801"/> |
|
</positions> |
|
</Edge> |
|
<IfBlockGE presentable="!ed/4bc4/30D7/2A9C/5a549ca050b8"> |
|
<position> |
|
<Point x="2143" y="5371"/> |
|
</position> |
|
<size> |
|
<Size width="22225" height="9128"/> |
|
</size> |
|
</IfBlockGE> |
|
<ActionGE presentable="!ed/4bcc/30D7/2A9C/5a549ca14f52"> |
|
<position> |
|
<Point x="4207" y="6218"/> |
|
</position> |
|
<size> |
|
<Size width="18388" height="2990"/> |
|
</size> |
|
</ActionGE> |
|
<ActionGE presentable="!ed/4bcd/30D7/2A9C/5a549ca13b1a"> |
|
<position> |
|
<Point x="4260" y="9525"/> |
|
</position> |
|
<size> |
|
<Size width="18415" height="3599"/> |
|
</size> |
|
</ActionGE> |
|
<IfNodeGE labelWidth="1032" presentable="!ed/4bcb/30D7/2A9C/5a549ca15114"> |
|
<position> |
|
<Point x="2831" y="6297"/> |
|
</position> |
|
</IfNodeGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/4c00/30D7/2A9C/5a549cab4242"> |
|
<position> |
|
<Point x="8864" y="7303"/> |
|
</position> |
|
<size> |
|
<Size width="212" height="318"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4c01/30D7/2A9C/5a549cab4891"> |
|
<position> |
|
<Point x="9737" y="6668"/> |
|
</position> |
|
<size> |
|
<Size width="1006" height="662"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4c02/30D7/2A9C/5a549cab169"> |
|
<position> |
|
<Point x="8361" y="6615"/> |
|
</position> |
|
<size> |
|
<Size width="264" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4c03/30D7/2A9C/5a549cab3544"> |
|
<position> |
|
<Point x="13018" y="6747"/> |
|
</position> |
|
<size> |
|
<Size width="344" height="502"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4c04/30D7/2A9C/5a549cab797e"> |
|
<position> |
|
<Point x="11748" y="7408"/> |
|
</position> |
|
<size> |
|
<Size width="1799" height="741"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4c05/30D7/2A9C/5a549cab5ca0"> |
|
<position> |
|
<Point x="15240" y="7567"/> |
|
</position> |
|
<size> |
|
<Size width="1006" height="661"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/4c06/30D7/2A9C/5a549cab7635"> |
|
<position> |
|
<Point x="13441" y="8308"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="317"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4c07/30D7/2A9C/5a549cab2937"> |
|
<position> |
|
<Point x="17066" y="7646"/> |
|
</position> |
|
<size> |
|
<Size width="344" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4c05/30D7/2A9C/5a549cab5ca0" dstEquation="!ed/4c07/30D7/2A9C/5a549cab2937"> |
|
<positions> |
|
<Point x="16245" y="7911"/> |
|
<Point x="16484" y="7911"/> |
|
<Point x="16484" y="7911"/> |
|
<Point x="17119" y="7911"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4c04/30D7/2A9C/5a549cab797e" dstEquation="!ed/4c05/30D7/2A9C/5a549cab5ca0"> |
|
<positions> |
|
<Point x="13547" y="7779"/> |
|
<Point x="14393" y="7779"/> |
|
<Point x="14393" y="7779"/> |
|
<Point x="15240" y="7779"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/4c06/30D7/2A9C/5a549cab7635" dstEquation="!ed/4c05/30D7/2A9C/5a549cab5ca0"> |
|
<positions> |
|
<Point x="13653" y="8467"/> |
|
<Point x="14446" y="8467"/> |
|
<Point x="14446" y="8017"/> |
|
<Point x="15240" y="8017"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4c01/30D7/2A9C/5a549cab4891" dstEquation="!ed/4c04/30D7/2A9C/5a549cab797e"> |
|
<positions> |
|
<Point x="10742" y="7011"/> |
|
<Point x="11245" y="7011"/> |
|
<Point x="11245" y="7779"/> |
|
<Point x="11748" y="7779"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4c01/30D7/2A9C/5a549cab4891" dstEquation="!ed/4c03/30D7/2A9C/5a549cab3544"> |
|
<positions> |
|
<Point x="10742" y="7011"/> |
|
<Point x="11880" y="7011"/> |
|
<Point x="11880" y="7011"/> |
|
<Point x="13018" y="7011"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/4c00/30D7/2A9C/5a549cab4242" dstEquation="!ed/4c01/30D7/2A9C/5a549cab4891"> |
|
<positions> |
|
<Point x="9075" y="7461"/> |
|
<Point x="9393" y="7461"/> |
|
<Point x="9393" y="7117"/> |
|
<Point x="9737" y="7117"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4c02/30D7/2A9C/5a549cab169" dstEquation="!ed/4c01/30D7/2A9C/5a549cab4891"> |
|
<positions> |
|
<Point x="8625" y="6879"/> |
|
<Point x="9181" y="6879"/> |
|
<Point x="9181" y="6879"/> |
|
<Point x="9737" y="6879"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE presentable="!ed/4c32/30D7/2A9C/5a549cf2274c"> |
|
<position> |
|
<Point x="9022" y="10028"/> |
|
</position> |
|
<size> |
|
<Size width="265" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/4c34/30D7/2A9C/5a549cf268e7"> |
|
<position> |
|
<Point x="8943" y="10716"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="317"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4c36/30D7/2A9C/5a549cf247f7"> |
|
<position> |
|
<Point x="10319" y="10081"/> |
|
</position> |
|
<size> |
|
<Size width="1005" height="661"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/4c34/30D7/2A9C/5a549cf268e7" dstEquation="!ed/4c36/30D7/2A9C/5a549cf247f7"> |
|
<positions> |
|
<Point x="9155" y="10874"/> |
|
<Point x="9737" y="10874"/> |
|
<Point x="9737" y="10530"/> |
|
<Point x="10319" y="10530"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4c32/30D7/2A9C/5a549cf2274c" dstEquation="!ed/4c36/30D7/2A9C/5a549cf247f7"> |
|
<positions> |
|
<Point x="9287" y="10292"/> |
|
<Point x="9790" y="10292"/> |
|
<Point x="9790" y="10292"/> |
|
<Point x="10319" y="10292"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE presentable="!ed/4c3e/30D7/2A9C/5a549cf62c06"> |
|
<position> |
|
<Point x="13018" y="10134"/> |
|
</position> |
|
<size> |
|
<Size width="344" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4c36/30D7/2A9C/5a549cf247f7" dstEquation="!ed/4c3e/30D7/2A9C/5a549cf62c06"> |
|
<positions> |
|
<Point x="11324" y="10425"/> |
|
<Point x="12171" y="10425"/> |
|
<Point x="12171" y="10425"/> |
|
<Point x="13018" y="10425"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE presentable="!ed/4c50/30D7/2A9C/5a549d024851"> |
|
<position> |
|
<Point x="15240" y="11218"/> |
|
</position> |
|
<size> |
|
<Size width="1005" height="661"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/4c52/30D7/2A9C/5a549d02afc"> |
|
<position> |
|
<Point x="13441" y="11959"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="317"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4c54/30D7/2A9C/5a549d026bce"> |
|
<position> |
|
<Point x="11748" y="11060"/> |
|
</position> |
|
<size> |
|
<Size width="1800" height="741"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/4c52/30D7/2A9C/5a549d02afc" dstEquation="!ed/4c50/30D7/2A9C/5a549d024851"> |
|
<positions> |
|
<Point x="13653" y="12118"/> |
|
<Point x="14446" y="12118"/> |
|
<Point x="14446" y="11668"/> |
|
<Point x="15240" y="11668"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4c54/30D7/2A9C/5a549d026bce" dstEquation="!ed/4c50/30D7/2A9C/5a549d024851"> |
|
<positions> |
|
<Point x="13547" y="11430"/> |
|
<Point x="14393" y="11430"/> |
|
<Point x="14393" y="11430"/> |
|
<Point x="15240" y="11430"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4c36/30D7/2A9C/5a549cf247f7" dstEquation="!ed/4c54/30D7/2A9C/5a549d026bce"> |
|
<positions> |
|
<Point x="11324" y="10425"/> |
|
<Point x="11536" y="10425"/> |
|
<Point x="11536" y="11430"/> |
|
<Point x="11748" y="11430"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE presentable="!ed/4c73/30D7/2A9C/5a549d1076dd"> |
|
<position> |
|
<Point x="17039" y="11298"/> |
|
</position> |
|
<size> |
|
<Size width="344" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4c50/30D7/2A9C/5a549d024851" dstEquation="!ed/4c73/30D7/2A9C/5a549d1076dd"> |
|
<positions> |
|
<Point x="16245" y="11562"/> |
|
<Point x="16669" y="11562"/> |
|
<Point x="16669" y="11562"/> |
|
<Point x="17092" y="11562"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE presentable="!ed/4c7e/30D7/2A9C/5a549d5357e6"> |
|
<position> |
|
<Point x="15187" y="1535"/> |
|
</position> |
|
<size> |
|
<Size width="1005" height="662"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/13338/48F7/1F2C/5a54948c1ad5" dstEquation="!ed/4c7e/30D7/2A9C/5a549d5357e6"> |
|
<positions> |
|
<Point x="7805" y="1746"/> |
|
<Point x="11774" y="1746"/> |
|
<Point x="11774" y="1746"/> |
|
<Point x="15187" y="1746"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/1333c/48F7/1F2C/5a54948c7098" dstEquation="!ed/4c7e/30D7/2A9C/5a549d5357e6"> |
|
<positions> |
|
<Point x="13705" y="3863"/> |
|
<Point x="14446" y="3863"/> |
|
<Point x="14446" y="1984"/> |
|
<Point x="15187" y="1984"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE presentable="!ed/4c8f/30D7/2A9C/5a549d5c1208"> |
|
<position> |
|
<Point x="17436" y="1614"/> |
|
</position> |
|
<size> |
|
<Size width="344" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4c7e/30D7/2A9C/5a549d5357e6" dstEquation="!ed/4c8f/30D7/2A9C/5a549d5c1208"> |
|
<positions> |
|
<Point x="16193" y="1879"/> |
|
<Point x="16801" y="1879"/> |
|
<Point x="16801" y="1879"/> |
|
<Point x="17436" y="1879"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/1334c/48F7/1F2C/5a54948cbb8" dstEquation="!ed/13332/48F7/1F2C/5a54948c6557"> |
|
<positions> |
|
<Point x="11668" y="15610"/> |
|
<Point x="13070" y="15610"/> |
|
<Point x="13070" y="15610"/> |
|
<Point x="14473" y="15610"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/4cb3/30D7/2A9C/5a549f81d30"> |
|
<position> |
|
<Point x="11642" y="20029"/> |
|
</position> |
|
<size> |
|
<Size width="212" height="318"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="4" srcEquation="!ed/4cb3/30D7/2A9C/5a549f81d30" dstEquation="!ed/1332e/48F7/1F2C/5a54948c4c93"> |
|
<positions> |
|
<Point x="11853" y="20188"/> |
|
<Point x="14182" y="20188"/> |
|
<Point x="14182" y="19685"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE presentable="!ed/4ea9/30D7/2A9C/5a54d51f3ee1"> |
|
<position> |
|
<Point x="12065" y="17780"/> |
|
</position> |
|
<size> |
|
<Size width="265" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4ea9/30D7/2A9C/5a54d51f3ee1" dstEquation="!ed/1332e/48F7/1F2C/5a54948c4c93"> |
|
<positions> |
|
<Point x="12330" y="18045"/> |
|
<Point x="12912" y="18045"/> |
|
<Point x="12912" y="18045"/> |
|
<Point x="13520" y="18045"/> |
|
</positions> |
|
</Edge> |
|
</presentationElements> |
|
</NetDiagram> |
|
</diagrams> |
|
</ed:State> |
|
</pragmas> |
|
</State> |
|
<State name="BRAKE"> |
|
<locals> |
|
<Variable name="_L5"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13390/48F7/1F2C/5a54948c48f3"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L4"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13391/48F7/1F2C/5a54948c9a5"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L3"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13392/48F7/1F2C/5a54948c180c"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L12"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13393/48F7/1F2C/5a54948c17d2"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L9"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13394/48F7/1F2C/5a54948c23e"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L10"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13395/48F7/1F2C/5a54948c5ae"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L11"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13396/48F7/1F2C/5a54948c7378"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L6"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13397/48F7/1F2C/5a54948c413e"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L13"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/13398/48F7/1F2C/5a54948c542e"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L18"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="Type::te_Phase"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/1339a/48F7/1F2C/5a54948c762f"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L22"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4a52/30D7/2A9C/5a5496fd3974"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L21"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4a50/30D7/2A9C/5a5496fd5523"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L20"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4a4d/30D7/2A9C/5a5496fd2c3a"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L19"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="bool"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4a4a/30D7/2A9C/5a5496fd7c23"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L23"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="Type::te_Phase"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4ccb/30D7/2A9C/5a549fb05a00"/> |
|
</pragmas> |
|
</Variable> |
|
<Variable name="_L24"> |
|
<type> |
|
<NamedType> |
|
<type> |
|
<TypeRef name="float64"/> |
|
</type> |
|
</NamedType> |
|
</type> |
|
<pragmas> |
|
<ed:Variable oid="!ed/4eb3/30D7/2A9C/5a54d54c66e7"/> |
|
</pragmas> |
|
</Variable> |
|
</locals> |
|
<data> |
|
<!-- _L3 = RecoverySpeed; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L3"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="RecoverySpeed"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13385/48F7/1F2C/5a54948cda"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L4 = PID(_L5, _L9, _L10, _L11); --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L4"/> |
|
</lefts> |
|
<right> |
|
<!-- PID(_L5, _L9, _L10, _L11) --> |
|
<CallExpression> |
|
<operator> |
|
<OpCall name="2"> |
|
<operator> |
|
<OperatorRef name="PID"/> |
|
</operator> |
|
</OpCall> |
|
</operator> |
|
<callParameters> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L5"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L9"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L10"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L11"/> |
|
</path> |
|
</IdExpression> |
|
</callParameters> |
|
</CallExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13386/48F7/1F2C/5a54948c48a9"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L5 = _L3 - _L13; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L5"/> |
|
</lefts> |
|
<right> |
|
<!-- _L3 - _L13 --> |
|
<BinaryOp name="3" operator="-"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L3"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L13"/> |
|
</path> |
|
</IdExpression> |
|
</operands> |
|
</BinaryOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13387/48F7/1F2C/5a54948c7c82"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L6 = MMCmd.OperatingAltitude; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L6"/> |
|
</lefts> |
|
<right> |
|
<!-- MMCmd.OperatingAltitude --> |
|
<PrjOp name="33"> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="MMCmd"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
<with> |
|
<Label name="OperatingAltitude"/> |
|
</with> |
|
</PrjOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13388/48F7/1F2C/5a54948c44d6"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L9, _L10, _L11 = GainsPID(_L24, _L6, _L12, _L18); --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L9"/> |
|
<VariableRef name="_L10"/> |
|
<VariableRef name="_L11"/> |
|
</lefts> |
|
<right> |
|
<!-- GainsPID(_L24, _L6, _L12, _L18) --> |
|
<CallExpression> |
|
<operator> |
|
<OpCall name="2"> |
|
<operator> |
|
<OperatorRef name="GainsPID"/> |
|
</operator> |
|
</OpCall> |
|
</operator> |
|
<callParameters> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L24"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L6"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L12"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L18"/> |
|
</path> |
|
</IdExpression> |
|
</callParameters> |
|
</CallExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/13389/48F7/1F2C/5a54948c6f2e"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L12 = MMCmd.OperatingSpeed; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L12"/> |
|
</lefts> |
|
<right> |
|
<!-- MMCmd.OperatingSpeed --> |
|
<PrjOp name="34"> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="MMCmd"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
<with> |
|
<Label name="OperatingSpeed"/> |
|
</with> |
|
</PrjOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/1338a/48F7/1F2C/5a54948c195d"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L13 = FligthControlEstimated.CurrentSpeed; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L13"/> |
|
</lefts> |
|
<right> |
|
<!-- FligthControlEstimated.CurrentSpeed --> |
|
<PrjOp name="15"> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="FligthControlEstimated"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
<with> |
|
<Label name="CurrentSpeed"/> |
|
</with> |
|
</PrjOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/1338c/48F7/1F2C/5a54948cd31"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L18 = Type::DESCENT; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L18"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="Type::DESCENT"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/1338e/48F7/1F2C/5a54948c23ca"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L19 = _L4 < _L20; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L19"/> |
|
</lefts> |
|
<right> |
|
<!-- _L4 < _L20 --> |
|
<BinaryOp name="4" operator="<"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L4"/> |
|
</path> |
|
</IdExpression> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L20"/> |
|
</path> |
|
</IdExpression> |
|
</operands> |
|
</BinaryOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a49/30D7/2A9C/5a5496fd690e"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- PropultionTorque = _L21; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="PropultionTorque"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L21"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a4b/30D7/2A9C/5a5496fd53b8"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L20 = 0.0; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L20"/> |
|
</lefts> |
|
<right> |
|
<ConstValue value="0.0"/> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a4c/30D7/2A9C/5a5496fd48a9"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- SwichMode = _L19; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="SwichMode"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L19"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a4e/30D7/2A9C/5a5496fd5a0b"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L21 = 0.0; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L21"/> |
|
</lefts> |
|
<right> |
|
<ConstValue value="0.0"/> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a4f/30D7/2A9C/5a5496fd27fe"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L22 = if _L19 then (_L20) else (_L4); --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L22"/> |
|
</lefts> |
|
<right> |
|
<!-- if _L19 then (_L20) else (_L4) --> |
|
<IfThenElseOp name="4"> |
|
<if> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L19"/> |
|
</path> |
|
</IdExpression> |
|
</if> |
|
<then> |
|
<ListExpression> |
|
<items> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L20"/> |
|
</path> |
|
</IdExpression> |
|
</items> |
|
</ListExpression> |
|
</then> |
|
<else> |
|
<ListExpression> |
|
<items> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L4"/> |
|
</path> |
|
</IdExpression> |
|
</items> |
|
</ListExpression> |
|
</else> |
|
</IfThenElseOp> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a51/30D7/2A9C/5a5496fd7127"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- BrakingTorque = _L22; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="BrakingTorque"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L22"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4a53/30D7/2A9C/5a5496fd376f"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- phase = _L23; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="phase"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L23"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4cc3/30D7/2A9C/5a549fad5b3e"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L23 = Type::DESCENT; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L23"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="Type::DESCENT"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4cca/30D7/2A9C/5a549fb01045"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- _L24 = OperatingMass; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="_L24"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="OperatingMass"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/4eb2/30D7/2A9C/5a54d54c2448"/> |
|
</pragmas> |
|
</Equation> |
|
</data> |
|
<until> |
|
<Transition kind="restart"> |
|
<target> |
|
<StateRef name="COMMUTATION_WAIT_2"/> |
|
</target> |
|
<condition> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="SwichMode"/> |
|
</path> |
|
</IdExpression> |
|
</condition> |
|
<effect> |
|
<Action> |
|
<pragmas> |
|
<ed:Action oid="!ed/4a8d/30D7/2A9C/5a549a815787"/> |
|
</pragmas> |
|
</Action> |
|
</effect> |
|
<pragmas> |
|
<ed:Transition oid="!ed/1339b/48F7/1F2C/5a54948c1490"/> |
|
</pragmas> |
|
</Transition> |
|
</until> |
|
<pragmas> |
|
<ed:State oid="!ed/13382/48F7/1F2C/5a54948c2375" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5"> |
|
<diagrams> |
|
<NetDiagram name="BRAKE_1" landscape="true" format="A4 (210 297)" oid="!ed/133c6/48F7/1F2C/5a5494df924"> |
|
<presentationElements> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/13385/48F7/1F2C/5a54948cda"> |
|
<position> |
|
<Point x="4683" y="3387"/> |
|
</position> |
|
<size> |
|
<Size width="212" height="318"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/13386/48F7/1F2C/5a54948c48a9"> |
|
<position> |
|
<Point x="9366" y="2990"/> |
|
</position> |
|
<size> |
|
<Size width="3254" height="1349"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/13387/48F7/1F2C/5a54948c7c82" dstEquation="!ed/13386/48F7/1F2C/5a54948c48a9"> |
|
<positions> |
|
<Point x="7011" y="3678"/> |
|
<Point x="7699" y="3678"/> |
|
<Point x="7699" y="3678"/> |
|
<Point x="9366" y="3678"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="3" rightExprIndex="4" srcEquation="!ed/13389/48F7/1F2C/5a54948c6f2e" dstEquation="!ed/13386/48F7/1F2C/5a54948c48a9"> |
|
<positions> |
|
<Point x="9710" y="6588"/> |
|
<Point x="11800" y="6588"/> |
|
<Point x="11800" y="4339"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/13389/48F7/1F2C/5a54948c6f2e" dstEquation="!ed/13386/48F7/1F2C/5a54948c48a9"> |
|
<positions> |
|
<Point x="9710" y="5477"/> |
|
<Point x="10186" y="5477"/> |
|
<Point x="10186" y="4339"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="2" rightExprIndex="3" srcEquation="!ed/13389/48F7/1F2C/5a54948c6f2e" dstEquation="!ed/13386/48F7/1F2C/5a54948c48a9"> |
|
<positions> |
|
<Point x="9710" y="6033"/> |
|
<Point x="11007" y="6033"/> |
|
<Point x="11007" y="4339"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE presentable="!ed/13387/48F7/1F2C/5a54948c7c82"> |
|
<position> |
|
<Point x="6006" y="3334"/> |
|
</position> |
|
<size> |
|
<Size width="1006" height="661"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/1338c/48F7/1F2C/5a54948cd31" dstEquation="!ed/13387/48F7/1F2C/5a54948c7c82"> |
|
<positions> |
|
<Point x="5265" y="4260"/> |
|
<Point x="5636" y="4260"/> |
|
<Point x="5636" y="3784"/> |
|
<Point x="6006" y="3784"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/13385/48F7/1F2C/5a54948cda" dstEquation="!ed/13387/48F7/1F2C/5a54948c7c82"> |
|
<positions> |
|
<Point x="4895" y="3545"/> |
|
<Point x="5450" y="3545"/> |
|
<Point x="5450" y="3545"/> |
|
<Point x="6006" y="3545"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/13388/48F7/1F2C/5a54948c44d6"> |
|
<position> |
|
<Point x="7435" y="5874"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="318"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/13389/48F7/1F2C/5a54948c6f2e"> |
|
<position> |
|
<Point x="8387" y="4921"/> |
|
</position> |
|
<size> |
|
<Size width="1313" height="2212"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="4" srcEquation="!ed/1338e/48F7/1F2C/5a54948c23ca" dstEquation="!ed/13389/48F7/1F2C/5a54948c6f2e"> |
|
<positions> |
|
<Point x="8599" y="7779"/> |
|
<Point x="9049" y="7779"/> |
|
<Point x="9049" y="7144"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/13388/48F7/1F2C/5a54948c44d6" dstEquation="!ed/13389/48F7/1F2C/5a54948c6f2e"> |
|
<positions> |
|
<Point x="7646" y="6033"/> |
|
<Point x="8043" y="6033"/> |
|
<Point x="8043" y="6033"/> |
|
<Point x="8387" y="6033"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="3" srcEquation="!ed/1338a/48F7/1F2C/5a54948c195d" dstEquation="!ed/13389/48F7/1F2C/5a54948c6f2e"> |
|
<positions> |
|
<Point x="7514" y="6562"/> |
|
<Point x="7990" y="6562"/> |
|
<Point x="7990" y="6562"/> |
|
<Point x="8387" y="6562"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/1338a/48F7/1F2C/5a54948c195d"> |
|
<position> |
|
<Point x="7303" y="6403"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="318"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/1338c/48F7/1F2C/5a54948cd31"> |
|
<position> |
|
<Point x="5054" y="4101"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="318"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/1338e/48F7/1F2C/5a54948c23ca"> |
|
<position> |
|
<Point x="8387" y="7620"/> |
|
</position> |
|
<size> |
|
<Size width="212" height="318"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4a49/30D7/2A9C/5a5496fd690e"> |
|
<position> |
|
<Point x="16113" y="2275"/> |
|
</position> |
|
<size> |
|
<Size width="1005" height="661"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4a4b/30D7/2A9C/5a5496fd53b8"> |
|
<position> |
|
<Point x="18944" y="4524"/> |
|
</position> |
|
<size> |
|
<Size width="318" height="502"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/4a4c/30D7/2A9C/5a5496fd48a9"> |
|
<position> |
|
<Point x="15293" y="2566"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="317"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4a4e/30D7/2A9C/5a5496fd5a0b"> |
|
<position> |
|
<Point x="19288" y="2355"/> |
|
</position> |
|
<size> |
|
<Size width="344" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/4a4f/30D7/2A9C/5a5496fd27fe"> |
|
<position> |
|
<Point x="17806" y="4630"/> |
|
</position> |
|
<size> |
|
<Size width="212" height="318"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4a51/30D7/2A9C/5a5496fd7127"> |
|
<position> |
|
<Point x="17171" y="3069"/> |
|
</position> |
|
<size> |
|
<Size width="1006" height="926"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/4a53/30D7/2A9C/5a5496fd376f"> |
|
<position> |
|
<Point x="18971" y="3281"/> |
|
</position> |
|
<size> |
|
<Size width="317" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/4a4c/30D7/2A9C/5a5496fd48a9" dstEquation="!ed/4a49/30D7/2A9C/5a5496fd690e"> |
|
<positions> |
|
<Point x="15505" y="2725"/> |
|
<Point x="15796" y="2725"/> |
|
<Point x="15796" y="2725"/> |
|
<Point x="16113" y="2725"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/4a4c/30D7/2A9C/5a5496fd48a9" dstEquation="!ed/4a51/30D7/2A9C/5a5496fd7127"> |
|
<positions> |
|
<Point x="15505" y="2725"/> |
|
<Point x="15928" y="2725"/> |
|
<Point x="15928" y="3387"/> |
|
<Point x="17171" y="3387"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4a4f/30D7/2A9C/5a5496fd27fe" dstEquation="!ed/4a4b/30D7/2A9C/5a5496fd53b8"> |
|
<positions> |
|
<Point x="18018" y="4789"/> |
|
<Point x="18494" y="4789"/> |
|
<Point x="18494" y="4789"/> |
|
<Point x="18997" y="4789"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4a49/30D7/2A9C/5a5496fd690e" dstEquation="!ed/4a51/30D7/2A9C/5a5496fd7127"> |
|
<positions> |
|
<Point x="17119" y="2619"/> |
|
<Point x="17674" y="2619"/> |
|
<Point x="17674" y="3069"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4a51/30D7/2A9C/5a5496fd7127" dstEquation="!ed/4a53/30D7/2A9C/5a5496fd376f"> |
|
<positions> |
|
<Point x="18177" y="3545"/> |
|
<Point x="18600" y="3545"/> |
|
<Point x="18600" y="3545"/> |
|
<Point x="19024" y="3545"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4a49/30D7/2A9C/5a5496fd690e" dstEquation="!ed/4a4e/30D7/2A9C/5a5496fd5a0b"> |
|
<positions> |
|
<Point x="17119" y="2619"/> |
|
<Point x="18203" y="2619"/> |
|
<Point x="18203" y="2619"/> |
|
<Point x="19288" y="2619"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/13386/48F7/1F2C/5a54948c48a9" dstEquation="!ed/4a49/30D7/2A9C/5a5496fd690e"> |
|
<positions> |
|
<Point x="12621" y="3678"/> |
|
<Point x="14367" y="3678"/> |
|
<Point x="14367" y="2487"/> |
|
<Point x="16113" y="2487"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="3" srcEquation="!ed/13386/48F7/1F2C/5a54948c48a9" dstEquation="!ed/4a51/30D7/2A9C/5a5496fd7127"> |
|
<positions> |
|
<Point x="12621" y="3678"/> |
|
<Point x="14896" y="3678"/> |
|
<Point x="14896" y="3678"/> |
|
<Point x="17171" y="3678"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE presentable="!ed/4cc3/30D7/2A9C/5a549fad5b3e"> |
|
<position> |
|
<Point x="10583" y="10319"/> |
|
</position> |
|
<size> |
|
<Size width="318" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/4cca/30D7/2A9C/5a549fb01045"> |
|
<position> |
|
<Point x="7382" y="10425"/> |
|
</position> |
|
<size> |
|
<Size width="212" height="317"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4cca/30D7/2A9C/5a549fb01045" dstEquation="!ed/4cc3/30D7/2A9C/5a549fad5b3e"> |
|
<positions> |
|
<Point x="7594" y="10583"/> |
|
<Point x="9102" y="10583"/> |
|
<Point x="9102" y="10583"/> |
|
<Point x="10636" y="10583"/> |
|
</positions> |
|
</Edge> |
|
<EquationGE presentable="!ed/4eb2/30D7/2A9C/5a54d54c2448"> |
|
<position> |
|
<Point x="6271" y="5212"/> |
|
</position> |
|
<size> |
|
<Size width="264" height="502"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/4eb2/30D7/2A9C/5a54d54c2448" dstEquation="!ed/13389/48F7/1F2C/5a54948c6f2e"> |
|
<positions> |
|
<Point x="6535" y="5477"/> |
|
<Point x="7726" y="5477"/> |
|
<Point x="7726" y="5477"/> |
|
<Point x="8387" y="5477"/> |
|
</positions> |
|
</Edge> |
|
</presentationElements> |
|
<equationSets> |
|
<EquationSet name="RecoverySpeed" oid="!ed/4ef0/30D7/2A9C/5a54e68750a5"> |
|
<presentable>!ed/13385/48F7/1F2C/5a54948cda</presentable> |
|
<presentable>!ed/13387/48F7/1F2C/5a54948c7c82</presentable> |
|
<presentable>!ed/1338c/48F7/1F2C/5a54948cd31</presentable> |
|
</EquationSet> |
|
</equationSets> |
|
</NetDiagram> |
|
</diagrams> |
|
</ed:State> |
|
</pragmas> |
|
</State> |
|
<State name="COMMUTATION_WAIT"> |
|
<data> |
|
<!-- PropultionTorque = 0.0; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="PropultionTorque"/> |
|
</lefts> |
|
<right> |
|
<ConstValue value="0.0"/> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/1339d/48F7/1F2C/5a54948c6ea0"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- BrakingTorque = 0.0; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="BrakingTorque"/> |
|
</lefts> |
|
<right> |
|
<ConstValue value="0.0"/> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/1339e/48F7/1F2C/5a54948c16f3"/> |
|
</pragmas> |
|
</Equation> |
|
</data> |
|
<until> |
|
<Transition kind="restart"> |
|
<target> |
|
<StateRef name="BRAKE"/> |
|
</target> |
|
<condition> |
|
<!-- commutationTime times true --> |
|
<BinaryOp name="1" operator="times"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="commutationTime"/> |
|
</path> |
|
</IdExpression> |
|
<ConstValue value="true"/> |
|
</operands> |
|
</BinaryOp> |
|
</condition> |
|
<effect> |
|
<Action> |
|
<pragmas> |
|
<ed:Action oid="!ed/133a0/48F7/1F2C/5a54948ccd"/> |
|
</pragmas> |
|
</Action> |
|
</effect> |
|
<pragmas> |
|
<ed:Transition oid="!ed/1339f/48F7/1F2C/5a54948c6c55"/> |
|
</pragmas> |
|
</Transition> |
|
</until> |
|
<pragmas> |
|
<ed:State oid="!ed/1339c/48F7/1F2C/5a54948c2d0f"/> |
|
</pragmas> |
|
</State> |
|
<State name="COMMUTATION_WAIT_2"> |
|
<data> |
|
<!-- PropultionTorque = 0.0; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="PropultionTorque"/> |
|
</lefts> |
|
<right> |
|
<ConstValue value="0.0"/> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/133a2/48F7/1F2C/5a54948c693a"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- BrakingTorque = 0.0; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="BrakingTorque"/> |
|
</lefts> |
|
<right> |
|
<ConstValue value="0.0"/> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/133a3/48F7/1F2C/5a54948c6dfb"/> |
|
</pragmas> |
|
</Equation> |
|
</data> |
|
<until> |
|
<Transition kind="restart"> |
|
<target> |
|
<StateRef name="PROPULSION"/> |
|
</target> |
|
<condition> |
|
<!-- commutationTime times true --> |
|
<BinaryOp name="2" operator="times"> |
|
<operands> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="commutationTime"/> |
|
</path> |
|
</IdExpression> |
|
<ConstValue value="true"/> |
|
</operands> |
|
</BinaryOp> |
|
</condition> |
|
<effect> |
|
<Action> |
|
<pragmas> |
|
<ed:Action oid="!ed/133a5/48F7/1F2C/5a54948c76b3"/> |
|
</pragmas> |
|
</Action> |
|
</effect> |
|
<pragmas> |
|
<ed:Transition oid="!ed/133a4/48F7/1F2C/5a54948c7fab"/> |
|
</pragmas> |
|
</Transition> |
|
</until> |
|
<pragmas> |
|
<ed:State oid="!ed/133a1/48F7/1F2C/5a54948c4682"/> |
|
</pragmas> |
|
</State> |
|
<State initial="true" name="SWITCH_OFF"> |
|
<unless> |
|
<Transition kind="restart"> |
|
<target> |
|
<StateRef name="PROPULSION"/> |
|
</target> |
|
<condition> |
|
<!-- MMCmd.StartTakeOff --> |
|
<PrjOp name="18"> |
|
<flow> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="MMCmd"/> |
|
</path> |
|
</IdExpression> |
|
</flow> |
|
<with> |
|
<Label name="StartTakeOff"/> |
|
</with> |
|
</PrjOp> |
|
</condition> |
|
<pragmas> |
|
<ed:Transition oid="!ed/133a9/48F7/1F2C/5a54948c63d9"/> |
|
</pragmas> |
|
</Transition> |
|
</unless> |
|
<data> |
|
<!-- PropultionTorque = 0.0; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="PropultionTorque"/> |
|
</lefts> |
|
<right> |
|
<ConstValue value="0.0"/> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/133a7/48F7/1F2C/5a54948c34d8"/> |
|
</pragmas> |
|
</Equation> |
|
<!-- BrakingTorque = 0.0; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="BrakingTorque"/> |
|
</lefts> |
|
<right> |
|
<ConstValue value="0.0"/> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/133a8/48F7/1F2C/5a54948c2538"/> |
|
</pragmas> |
|
</Equation> |
|
</data> |
|
<pragmas> |
|
<ed:State oid="!ed/133a6/48F7/1F2C/5a54948c2981"/> |
|
</pragmas> |
|
</State> |
|
</states> |
|
<pragmas> |
|
<ed:StateMachine oid="!ed/1332a/48F7/1F2C/5a54948c367"/> |
|
</pragmas> |
|
</StateMachine> |
|
<!-- commutationTime = _L4; --> |
|
<Equation> |
|
<lefts> |
|
<VariableRef name="commutationTime"/> |
|
</lefts> |
|
<right> |
|
<IdExpression> |
|
<path> |
|
<ConstVarRef name="_L4"/> |
|
</path> |
|
</IdExpression> |
|
</right> |
|
<pragmas> |
|
<ed:Equation oid="!ed/133ae/48F7/1F2C/5a54948c68ea"/> |
|
</pragmas> |
|
</Equation> |
|
</data> |
|
<pragmas> |
|
<ed:Operator oid="!ed/1310f/48F7/1F2C/5a5494775b1a" xmlns="http://www.esterel-technologies.com/ns/scade/pragmas/editor/5"> |
|
<diagrams> |
|
<NetDiagram name="ControlLaws_1" landscape="true" format="A4 (210 297)" oid="!ed/13110/48F7/1F2C/5a5494774b8d"> |
|
<presentationElements> |
|
<EquationGE presentable="!ed/133aa/48F7/1F2C/5a54948c63e3"> |
|
<position> |
|
<Point x="14473" y="1535"/> |
|
</position> |
|
<size> |
|
<Size width="1005" height="661"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/133ac/48F7/1F2C/5a54948c3380"> |
|
<position> |
|
<Point x="13573" y="2011"/> |
|
</position> |
|
<size> |
|
<Size width="212" height="318"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE kind="OBJ_LIT" presentable="!ed/133af/48F7/1F2C/5a54948cbef"> |
|
<position> |
|
<Point x="13547" y="1455"/> |
|
</position> |
|
<size> |
|
<Size width="211" height="317"/> |
|
</size> |
|
</EquationGE> |
|
<EquationGE presentable="!ed/133b1/48F7/1F2C/5a54948c70e5"> |
|
<position> |
|
<Point x="15981" y="1376"/> |
|
</position> |
|
<size> |
|
<Size width="1005" height="1006"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/133af/48F7/1F2C/5a54948cbef" dstEquation="!ed/133aa/48F7/1F2C/5a54948c63e3"> |
|
<positions> |
|
<Point x="13758" y="1614"/> |
|
<Point x="14102" y="1614"/> |
|
<Point x="14102" y="1746"/> |
|
<Point x="14473" y="1746"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/133aa/48F7/1F2C/5a54948c63e3" dstEquation="!ed/133b1/48F7/1F2C/5a54948c70e5"> |
|
<positions> |
|
<Point x="15478" y="1879"/> |
|
<Point x="15716" y="1879"/> |
|
<Point x="15716" y="1879"/> |
|
<Point x="15981" y="1879"/> |
|
</positions> |
|
</Edge> |
|
<Edge leftVarIndex="1" rightExprIndex="2" srcEquation="!ed/133ac/48F7/1F2C/5a54948c3380" dstEquation="!ed/133aa/48F7/1F2C/5a54948c63e3"> |
|
<positions> |
|
<Point x="13785" y="2170"/> |
|
<Point x="14129" y="2170"/> |
|
<Point x="14129" y="1984"/> |
|
<Point x="14473" y="1984"/> |
|
</positions> |
|
</Edge> |
|
<StateMachineGE presentable="!ed/1332a/48F7/1F2C/5a54948c367"> |
|
<position> |
|
<Point x="1879" y="2937"/> |
|
</position> |
|
<size> |
|
<Size width="28998" height="12594"/> |
|
</size> |
|
</StateMachineGE> |
|
<StateGE display="split" presentable="!ed/1332b/48F7/1F2C/5a54948c13ca"> |
|
<position> |
|
<Point x="3466" y="3836"/> |
|
</position> |
|
<size> |
|
<Size width="4392" height="11113"/> |
|
</size> |
|
</StateGE> |
|
<StateGE display="split" presentable="!ed/13382/48F7/1F2C/5a54948c2375"> |
|
<position> |
|
<Point x="25691" y="3836"/> |
|
</position> |
|
<size> |
|
<Size width="4392" height="11113"/> |
|
</size> |
|
</StateGE> |
|
<StateGE display="embeddedTextual" presentable="!ed/1339c/48F7/1F2C/5a54948c2d0f"> |
|
<position> |
|
<Point x="14393" y="3836"/> |
|
</position> |
|
<size> |
|
<Size width="4339" height="2301"/> |
|
</size> |
|
</StateGE> |
|
<StateGE display="embeddedTextual" presentable="!ed/133a1/48F7/1F2C/5a54948c4682"> |
|
<position> |
|
<Point x="14393" y="12356"/> |
|
</position> |
|
<size> |
|
<Size width="4339" height="2302"/> |
|
</size> |
|
</StateGE> |
|
<StateGE display="embeddedTextual" presentable="!ed/133a6/48F7/1F2C/5a54948c2981"> |
|
<position> |
|
<Point x="14367" y="8043"/> |
|
</position> |
|
<size> |
|
<Size width="4339" height="2302"/> |
|
</size> |
|
</StateGE> |
|
<TransitionGE polyline="true" presentable="!ed/13381/48F7/1F2C/5a54948c3d86"> |
|
<positions> |
|
<Point x="7858" y="4842"/> |
|
<Point x="26882" y="6985"/> |
|
<Point x="4842" y="17171"/> |
|
<Point x="14393" y="4948"/> |
|
</positions> |
|
<labelSize> |
|
<Size width="2593" height="318"/> |
|
</labelSize> |
|
<labelPos> |
|
<Point x="10292" y="4049"/> |
|
</labelPos> |
|
<slashPos> |
|
<Point x="12091" y="4048"/> |
|
</slashPos> |
|
</TransitionGE> |
|
<TransitionGE polyline="true" presentable="!ed/1339b/48F7/1F2C/5a54948c1490"> |
|
<positions> |
|
<Point x="25691" y="13467"/> |
|
<Point x="2858" y="24712"/> |
|
<Point x="21881" y="17886"/> |
|
<Point x="18732" y="13600"/> |
|
</positions> |
|
<labelSize> |
|
<Size width="2593" height="370"/> |
|
</labelSize> |
|
<labelPos> |
|
<Point x="21775" y="14315"/> |
|
</labelPos> |
|
<slashPos> |
|
<Point x="23574" y="14314"/> |
|
</slashPos> |
|
</TransitionGE> |
|
<TransitionGE polyline="true" presentable="!ed/1339f/48F7/1F2C/5a54948c6c55"> |
|
<positions> |
|
<Point x="18732" y="4948"/> |
|
<Point x="12409" y="17119"/> |
|
<Point x="3228" y="22357"/> |
|
<Point x="25691" y="5001"/> |
|
</positions> |
|
<labelSize> |
|
<Size width="4392" height="370"/> |
|
</labelSize> |
|
<labelPos> |
|
<Point x="20216" y="4102"/> |
|
</labelPos> |
|
<slashPos> |
|
<Point x="23813" y="4101"/> |
|
</slashPos> |
|
</TransitionGE> |
|
<TransitionGE polyline="true" presentable="!ed/133a4/48F7/1F2C/5a54948c7fab"> |
|
<positions> |
|
<Point x="14393" y="13309"/> |
|
<Point x="16484" y="17039"/> |
|
<Point x="26908" y="10583"/> |
|
<Point x="7858" y="13282"/> |
|
</positions> |
|
<labelSize> |
|
<Size width="4392" height="370"/> |
|
</labelSize> |
|
<labelPos> |
|
<Point x="8891" y="13600"/> |
|
</labelPos> |
|
<slashPos> |
|
<Point x="12488" y="13600"/> |
|
</slashPos> |
|
</TransitionGE> |
|
<TransitionGE polyline="true" presentable="!ed/133a9/48F7/1F2C/5a54948c63d9"> |
|
<positions> |
|
<Point x="14367" y="9155"/> |
|
<Point x="11589" y="17701"/> |
|
<Point x="26353" y="5027"/> |
|
<Point x="7858" y="9155"/> |
|
</positions> |
|
<labelSize> |
|
<Size width="4815" height="370"/> |
|
</labelSize> |
|
<labelPos> |
|
<Point x="8176" y="8151"/> |
|
</labelPos> |
|
<slashPos> |
|
<Point x="12197" y="8149"/> |
|
</slashPos> |
|
</TransitionGE> |
|
<EquationGE presentable="!ed/133ae/48F7/1F2C/5a54948c68ea"> |
|
<position> |
|
<Point x="18018" y="1614"/> |
|
</position> |
|
<size> |
|
<Size width="344" height="503"/> |
|
</size> |
|
</EquationGE> |
|
<Edge leftVarIndex="1" rightExprIndex="1" srcEquation="!ed/133b1/48F7/1F2C/5a54948c70e5" dstEquation="!ed/133ae/48F7/1F2C/5a54948c68ea"> |
|
<positions> |
|
<Point x="16986" y="1879"/> |
|
<Point x="17489" y="1879"/> |
|
<Point x="17489" y="1879"/> |
|
<Point x="18018" y="1879"/> |
|
</positions> |
|
</Edge> |
|
</presentationElements> |
|
<equationSets> |
|
<EquationSet name="CommutationTime" oid="!ed/4ed7/30D7/2A9C/5a54da7654de"> |
|
<presentable>!ed/133aa/48F7/1F2C/5a54948c63e3</presentable> |
|
<presentable>!ed/133ac/48F7/1F2C/5a54948c3380</presentable> |
|
<presentable>!ed/133af/48F7/1F2C/5a54948cbef</presentable> |
|
<presentable>!ed/133b1/48F7/1F2C/5a54948c70e5</presentable> |
|
<presentable>!ed/133ae/48F7/1F2C/5a54948c68ea</presentable> |
|
</EquationSet> |
|
</equationSets> |
|
</NetDiagram> |
|
</diagrams> |
|
</ed:Operator> |
|
</pragmas> |
|
</Operator>
|
|
|