<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="1670390461" type="Script" onEnd="default" onBackExit="back">
<Header>
<IFile>
<FileName name="pvn_test_soc_batterie">
</FileName>
<Modif date="04/08/2020" site="Actia" user="E550324">
</Modif>
</IFile>
<ITool exedate="13/07/2020" name="fr.actia.flowchart.editor.model.engineID" revision="7.7.0.202005291538">
</ITool>
</Header>
<precel>
</precel>
<cel>
<Start posc=5 posl=2 destc="9" destl="4" ident=10>
<Comment>Test SOC batterie
</Comment>
</Start>
<Switch posc=9 posl=7 ident=14>
<Source>
<VehicleData ParamName="ModelName">
</VehicleData>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="D34">
</ASCIIString>
</Source>
<TargetCell destc="9" destl="9">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="P21">
</ASCIIString>
</Source>
<TargetCell destc="9" destl="9">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="P24">
</ASCIIString>
</Source>
<TargetCell destc="9" destl="9">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="P2JO_OV">
</ASCIIString>
</Source>
<TargetCell destc="9" destl="9">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="K0">
</ASCIIString>
</Source>
<TargetCell destc="9" destl="9">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="K0_">
</ASCIIString>
</Source>
<TargetCell destc="9" destl="9">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="K0_U">
</ASCIIString>
</Source>
<TargetCell destc="9" destl="9">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="K0_U_">
</ASCIIString>
</Source>
<TargetCell destc="9" destl="9">
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc="23" destl="30">
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=9 posl=9 destc="9" destl="11" ident=15>
<PSADiagTools>
<GetEcuState>
<EcuStateItem familyName="MSB" outputBufferName="MSB">
</EcuStateItem>
</GetEcuState>
</PSADiagTools>
</Act>
<Act posc=9 posl=14 destc="9" destl="16" ident=17>
<ECUCommunication>
<OpenECU>
<ECUIdEx>
<ECUGroupName>
<ASCIIString value="MSB">
</ASCIIString>
</ECUGroupName>
<ECUName>
<ASCIIString value="BMU_CTE1">
</ASCIIString>
</ECUName>
</ECUIdEx>
</OpenECU>
</ECUCommunication>
</Act>
<Test posc=9 posl=16 destyesc=9 destyesl=18 destnoc=13 destnol=16 ident=19>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<HexaInt>3
</HexaInt>
</Source>
</DataComparison>
</For>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<HexaInt>8
</HexaInt>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=9 posl=18 destc="9" destl="19" ident=20>
<ECUCommunication>
<ReadECUData>
<ECUParameter Name="MP_ETAT_CHARGE_BATT_TRACTION" Format="Processed">
<Destination>
<TextBuffer name="SOC_BAT">
</TextBuffer>
</Destination>
</ECUParameter>
</ReadECUData>
</ECUCommunication>
</Act>
<Act posc=9 posl=4 destc="9" destl="7" ident=21>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>5
</FloatNumber>
</Source>
<Destination>
<NamedFloatVar name="SOC_SEUIL_5">
</NamedFloatVar>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value=" %">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="POURCENT">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=9 posl=21 destyesc=13 destyesl=23 destnoc=5 destnol=23 ident=22>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="SUP">
<Source>
<NamedFloatVar name="F_SOC_BAT">
</NamedFloatVar>
</Source>
<Source>
<FloatVariable>
<NamedFloatVar name="SOC_SEUIL_5">
</NamedFloatVar>
</FloatVariable>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<MsgScreen posc=13 posl=16 destc="17" destl="16" ident=23 IsANode="NO" EnableBackJumps="DEFAULT" Printable="NO" EscapeBtn="NO" BackBtn="NO" OkBtn="YES" MsgType="NONE" WindowStyle="POPUP">
<ScreenTitle>
<LabelContent>
<Paragraph>
<FreeText>
<Text>Test du SOC batterie de traction
</Text>
</FreeText>
</Paragraph>
</LabelContent>
</ScreenTitle>
<MsgItem>
<LabelContent>
<Paragraph>
<ThesauRef code="9735" thesauName="POLUXDATA">
</ThesauRef>
</Paragraph>
</LabelContent>
</MsgItem>
</MsgScreen>
<MsgScreen posc=5 posl=25 destc="5" destl="26" ident=24 IsANode="NO" EnableBackJumps="DEFAULT" Printable="NO" EscapeBtn="NO" BackBtn="NO" OkBtn="YES" MsgType="NONE" WindowStyle="STD">
<ScreenTitle>
<LabelContent>
<Paragraph>
<FreeText>
<Text>Test du SOC batterie de traction
</Text>
</FreeText>
</Paragraph>
</LabelContent>
</ScreenTitle>
<MsgItem>
<LabelContent>
<Paragraph>
<ThesauRequest>@P55544-POLUXDATA@T.
</ThesauRequest>
</Paragraph>
</LabelContent>
</MsgItem>
</MsgScreen>
<Act posc=23 posl=30 destc="33" destl="32" ident=25>
<Comment>La procédure de la PVN continue sur la procédure test batterie 12 V
</Comment>
</Act>
<End posc=33 posl=32 ident=26>
</End>
<Act posc=17 posl=16 destc="23" destl="16" ident=27>
<NVP_DCU>
<NVP_AddCustomBatteryCheck>
<NVP_Service>
<ThesauRequest>@TTBTEtat de charge (SOC) de la batterie de traction
</ThesauRequest>
</NVP_Service>
<NVP_Value>
<ThesauRequest>@P9735-POLUXDATA
</ThesauRequest>
</NVP_Value>
</NVP_AddCustomBatteryCheck>
</NVP_DCU>
<NVP_DCU>
<NVP_AddCustomBatteryCheck>
<NVP_Service>
<ThesauRequest>@P54095-POLUXDATA
</ThesauRequest>
</NVP_Service>
<NVP_Value>
<ThesauRequest>@P16406-POLUXDATA
</ThesauRequest>
</NVP_Value>
</NVP_AddCustomBatteryCheck>
</NVP_DCU>
</Act>
<Act posc=5 posl=28 destc="5" destl="30" ident=28>
<NVP_DCU>
<NVP_AddCustomBatteryCheck>
<NVP_Service>
<ThesauRequest>@TTBTEtat de charge (SOC) de la batterie de traction
</ThesauRequest>
</NVP_Service>
<NVP_Value>
<TextBuffer name="VALUE_SOC_BAT">
</TextBuffer>
</NVP_Value>
</NVP_AddCustomBatteryCheck>
</NVP_DCU>
<NVP_DCU>
<NVP_AddCustomBatteryCheck>
<NVP_Service>
<ThesauRequest>@P54095-POLUXDATA
</ThesauRequest>
</NVP_Service>
<NVP_Value>
<ThesauRequest>@P55545-POLUXDATA
</ThesauRequest>
</NVP_Value>
</NVP_AddCustomBatteryCheck>
</NVP_DCU>
</Act>
<Act posc=5 posl=30 destc="23" destl="30" ident=29>
<NVP_DCU>
<NVP_AddSummaryOperation status="NOK">
<NVP_Operation>
<ThesauRequest>@TTBTEtat de charge (SOC) de la batterie de traction
</ThesauRequest>
</NVP_Operation>
</NVP_AddSummaryOperation>
</NVP_DCU>
</Act>
<Act posc=13 posl=23 destc="23" destl="30" ident=30>
<NVP_DCU>
<NVP_AddSummaryOperation status="OK">
<NVP_Operation>
<ThesauRequest>@TTBTEtat de charge (SOC) de la batterie de traction
</ThesauRequest>
</NVP_Operation>
</NVP_AddSummaryOperation>
</NVP_DCU>
</Act>
<Act posc=23 posl=16 destc="33" destl="32" ident=35>
<NVP_DCU>
<NVP_AddSummaryOperation status="NOK">
<NVP_Operation>
<ThesauRequest>@TTBTEtat de charge (SOC) de la batterie de traction
</ThesauRequest>
</NVP_Operation>
</NVP_AddSummaryOperation>
</NVP_DCU>
</Act>
<Act posc=5 posl=23 destc="5" destl="25" ident=37>
<MathAndLogic>
<EvalExpression>
<Expression value="%%LBT_SOC_BAT%%%%ADD%%%%LBT_POURCENT%%">
</Expression>
<Destination>
<TextBuffer name="SOC_BAT_VALUE">
</TextBuffer>
</Destination>
</EvalExpression>
</MathAndLogic>
</Act>
<Act posc=5 posl=26 destc="5" destl="28" ident=39>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="VALUE_SOC_BAT">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<TextBuffer name="SOC_BAT_VALUE">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="VALUE_SOC_BAT">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Switch posc=9 posl=11 ident=42>
<Source>
<TextBuffer name="MSB">
</TextBuffer>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="SUCCESS">
</ASCIIString>
</Source>
<TargetCell destc="9" destl="14">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="TRUE">
</ASCIIString>
</Source>
<TargetCell destc="13" destl="13">
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc="23" destl="30">
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<QsScreen posc=13 posl=13 destyesc=9 destyesl=14 destnoc=23 destnol=30 ident=43 EnableBackJumps="DEFAULT" Printable="NO" EscapeBtn="NO" MsgType="QUESTION" BackBtn="NO" WindowStyle="POPUP">
<ScreenTitle>
<LabelContent>
<Paragraph>
<ThesauRequest>@P55543-POLUXDATA@T.
</ThesauRequest>
</Paragraph>
</LabelContent>
</ScreenTitle>
<MsgItem>
<LabelContent>
<Paragraph>
<ThesauRequest>@P55405-POLUXDATA
</ThesauRequest>
</Paragraph>
</LabelContent>
</MsgItem>
</QsScreen>
<Test posc=9 posl=19 destyesc=13 destyesl=16 destnoc=9 destnol=20 ident=46>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<HexaInt>9
</HexaInt>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=9 posl=20 destc="9" destl="21" ident=11>
<MathAndLogic>
<Conversion>
<TextToFloat InputFormat="DecimalCodedASCII">
<TextBuffer name="SOC_BAT">
</TextBuffer>
<FloatVariable>
<NamedFloatVar name="F_SOC_BAT">
</NamedFloatVar>
</FloatVariable>
</TextToFloat>
</Conversion>
</MathAndLogic>
</Act>
</cel>
</Tree>
