textual-notation-of-model/packages/features/ee/ee_architecture_functional_architecture.sysml

5 view(s) · 84 declared member(s) Jump to source ↓

view eeVehicleNetworkFunctionBreakdownViewsource ↓

ViewpointeeFunctionBreakdownViewpoint (SystemFunctionalBreakdownStructureViewpoint)
Framed concerns
  • eeVehicleNetworkFunctionsConcern own frame
RenderasTreeDiagram
ExposeseeVehicleNetworkFunctionalFlow
Sourcetextual-notation-of-model/packages/features/ee/ee_architecture_functional_architecture.sysml:533
diagram-eeVehicleNetworkFunctionBreakdownView.svg
«view» eeVehicleNetworkFunctionBreakdownView expose eeVehicleNetworkFunctionalFlow «action» eeVehicleNetworkFunctionalFlow : EEVehicleNetworkFunctionalFlow items ^drivingCommand : DrivingCommand ^appliedCommand : DrivingCommand actions ^recordNetworkIdentity : EERecordNetworkIdentity ^takeDrivingCommand : EETakeDrivingCommand ^carryDrivingCommand : EECarryDrivingCommand ^checkDrivingCommand : EECheckDrivingCommand ^applyDrivingCommand : EEApplyDrivingCommand

Hover a model element for details open raw SVG.

view eeVehicleNetworkRequirementFunctionMatrixViewsource ↓

ViewpointeeRequirementFunctionViewpoint (SystemRequirementTraceabilityViewpoint)
View typeMVD::MatrixView
Framed concerns
  • eeVehicleNetworkFunctionsConcern own frame
ExposesreqBothRoutesInOneTopology
reqCommandsOnlyFromSCOREPath
reqCommandsOnlyOnTheirRoute
reqDeliverCommandStreamUnchanged
reqCarryEachCommandWithin50Ms
reqApplyEachValidCommand
reqPassDetectionPartsOnAsTaken
reqGiveOnlyLastValidCommand
reqStopResponseAfter200Ms
reqRecordNetworkIdentity
eeVehicleNetworkFunctionalFlow::recordNetworkIdentity
eeVehicleNetworkFunctionalFlow::takeDrivingCommand
eeVehicleNetworkFunctionalFlow::carryDrivingCommand
eeVehicleNetworkFunctionalFlow::checkDrivingCommand
eeVehicleNetworkFunctionalFlow::applyDrivingCommand
DE4SDV_EEArchitectureFunctionalArchitecture::*
Sourcetextual-notation-of-model/packages/features/ee/ee_architecture_functional_architecture.sysml:541
diagram-matrix-eeVehicleNetworkRequirementFunctionMatrixView.svg
Vehicle network requirements by function Each requirement of phase 5 and the functions of the vehicle network that carry it; no function carries REQ-EE-001 or REQ-EE-003 in this phase. Vehicle network requirements by function Rows ↓: requirements (requirement usages) | Columns →: system functions (action usages) recordNetworkIdentity takeDrivingCommand carryDrivingCommand checkDrivingCommand applyDrivingCommand reqBothRoutesInOneTopology reqCommandsOnlyFromSCOREPath ↗ reqCommandsOnlyOnTheirRoute reqDeliverCommandStreamUnchanged ↗ reqCarryEachCommandWithin50Ms ↗ reqApplyEachValidCommand ↗ ↗ reqPassDetectionPartsOnAsTaken ↗ reqGiveOnlyLastValidCommand ↗ ↗ reqStopResponseAfter200Ms ↗ reqRecordNetworkIdentity ↗

Hover a model element for details open raw SVG.

view eeVehicleNetworkSystemProcessViewsource ↓

ViewpointeeSystemProcessViewpoint (SystemProcessViewpoint)
View typeActionFlowView
Framed concerns
  • eeNetworkFaultResponseConcern own frame
ExposesEEVehicleNetworkSystemProcess::*
EEVehicleNetworkSystemProcess::commandSource::*
EEVehicleNetworkSystemProcess::scorePath::*
EEVehicleNetworkSystemProcess::vehicleNetwork::*
EEVehicleNetworkSystemProcess::vehicle::*
Sourcetextual-notation-of-model/packages/features/ee/ee_architecture_functional_architecture.sysml:576
diagram-eeVehicleNetworkSystemProcessView.svg
«view» eeVehicleNetworkSystemProcessView : ActionFlowView expose EEVehicleNetworkSystemProcess::* expose EEVehicleNetworkSystemProcess::commandSource::* expose EEVehicleNetworkSystemProcess::scorePath::* expose EEVehicleNetworkSystemProcess::vehicleNetwork::* expose EEVehicleNetworkSystemProcess::vehicle::* «ref part» commandSource : DrivingCommandSource = eeArchitectureOperationalContext::commandSource «perform action» giveCommands : EEGiveDrivingCommand ^drivingCommand «ref part» scorePath : SCORECommandAndWarningPath = eeArchitectureOperationalContext::scorePath «perform action» handOverCommands : EECarryCommandOverSCORE ^drivingCommand ^carriedCommand «ref part» vehicleNetwork : EEVehicleNetworkSystem = eeArchitectureOperationalContext::vehicleNetwork «perform action» eeVehicleNetworkFunctionalFlow ::> eeVehicleNetworkFunctionalFlow ^drivingCommand ^appliedCommand «ref part» vehicle : SubjectVehicle = eeArchitectureOperationalContext::vehicle «perform action» moveByActuation : EEMoveVehicle ^appliedCommand «flow» of DrivingCommand «flow» of DrivingCommand «flow» of DrivingCommand

Hover a model element for details open raw SVG.

view eeVehicleNetworkStateTableViewsource ↓

ViewpointeeStateTableViewpoint (SystemStateViewpoint)
View typeTVD::TableView
Framed concerns
  • eeActuationStatesConcern own frame
ExposesEEActuationStates::noValidCommandYet
EEActuationStates::applyingValidCommands
EEActuationStates::givingStopResponse
Sourcetextual-notation-of-model/packages/features/ee/ee_architecture_functional_architecture.sysml:605
diagram-table-eeVehicleNetworkStateTableView.svg
Vehicle network states The states of the actuation ECU in a run, by the valid driving commands that reach it, and the function whose behavior differs in each. Vehicle network states State DependentFunctions noValidCommandYet No valid driving command has reached the actuation ECU in this run: applyDrivingCommand gives the vehicle nothing (REQ-EE-008). applyingValidCommands applyDrivingCommand applies each valid driving command that reaches the actuation ECU and gives the vehicle the steering angle and the acceleration of the last one that it applied (REQ-EE-006, REQ-EE-008). An invalid command changes nothing. givingStopResponse Entered once more than 200 ms of simulation time pass with no valid driving command reaching the actuation ECU. From then on applyDrivingCommand applies no driving command that reaches the actuation ECU. Until the stop response starts, it gives the vehicle the steering angle and the acceleration of the last valid driving command that it applied, or nothing when it applied none (REQ-EE-008). From no later than 300 ms of simulation time after the last valid command, or after the start of the run when none reached the actuation ECU, until the run ends, it gives the vehicle the stop response: a deceleration of 4 m/s², within the tolerance of REQ- DRIVING-020, with the steering angle of that last valid driving command, or 0° when it applied none (REQ-EE-009).

Hover a model element for details open raw SVG.

view eeVehicleNetworkFunctionalInterfaceViewsource ↓

ViewpointeeFunctionalInterfaceViewpoint (SystemInterfaceDefinitionViewpoint)
Framed concerns
  • eeVehicleNetworkInterfaceConcern own frame
RenderasTreeDiagram
ExposesEEActuationOutbound
EEDrivingCommandInbound
Sourcetextual-notation-of-model/packages/features/ee/ee_architecture_functional_architecture.sysml:639
diagram-eeVehicleNetworkFunctionalInterfaceView.svg
«view» eeVehicleNetworkFunctionalInterfaceView expose EEActuationOutbound expose EEDrivingCommandInbound «port def» EEActuationOutbound items appliedCommand : EEActuationOutput «port def» EEDrivingCommandInbound items drivingCommand : EEDrivingCommandInput

Hover a model element for details open raw SVG.

Source

1/*2 * DE4SDV E/E architecture functional architecture.3 *4 * INC-EE-001, phase 6: the functions of the vehicle network and the5 * requirements of phase 5 each carries. Five functions record the network6 * identity, take the driving command at the boundary interface, carry it7 * to the actuation ECU, check it, apply it at the actuation ECU, and give8 * the stop response when no valid driving command reaches the actuation9 * ECU for more than 200 ms of simulation time. Eight requirements are10 * allocated to the functions. The two left constrain the structure that11 * realizes the functions, not what a function does: REQ-EE-001 holds both12 * routes in one topology, and REQ-EE-003 keeps the commands of a run on13 * the elements of its route. Phases 7 and 8 carry them by the elements14 * that they place; the inspection of the realization that phase 815 * records, and of the configuration of each run, verifies REQ-EE-001, and16 * the records of the runs verify REQ-EE-003. An allocation assigns17 * responsibility only (allocatedTo); it asserts no satisfaction. No18 * logical element, element of a route, transport or technology is chosen,19 * and no safety claim is made.20 *21 * The functions do not depend on the route: a run takes one route, and22 * which elements carry a command on it is for the architecture phases.23 * The stop response is given at the actuation ECU, the last element that24 * a command reaches, by the function that applies the valid driving25 * commands, on the same output: it is a state of that function, not a26 * second source of commands. Which element checks a command, and where27 * each element takes the simulation time, are left to phases 7 and 8;28 * every time here counts on the one clock of the virtual vehicle that the29 * testbed gives every element.30 *31 * The vehicle network in operation is a process, not a second32 * architecture: the command source gives the driving command, the Eclipse33 * S-CORE path hands it to the vehicle network at the boundary interface,34 * and the vehicle moves by what the actuation ECU gives it. Those are35 * functions of the context elements, outside the scope of the vehicle36 * network, and EEVehicleNetworkSystemProcess runs the network as one37 * action between them, with the sequence from a fault to the stop38 * response. Its participants are the parts of the one operational context39 * of phase 2, bound by reference. The function whose behavior differs by40 * state depends on the states of EEActuationStates, and the conceptual41 * interfaces of the network are the ports of42 * EEVehicleNetworkFunctionalBoundary, whose items specialize the driving43 * command of phase 2 and the item that the driver-assistance increment44 * defines for it. No vehicle signal specification is imported or used45 * anywhere in this package: the interface items are conceptual, their46 * quantities are ISQ quantity values, and the signal typing of an47 * interface starts in phase 8.48 *49 * By the startup identity readback decision of 2026-11-29,50 * recordNetworkIdentity takes startup identity reports51 * (EEElementIdentityReport) from carryDrivingCommand and52 * checkDrivingCommand before the vehicle network takes the first driving53 * command of each run, so the network identity record covers every element54 * of the run without adding a function or changing the boundary of the55 * vehicle network.56 */5758package DE4SDV_EEArchitectureFunctionalArchitecture {59  private import DE4SDV_Stakeholders::*;60  private import DE4SDV_TraceVocabulary::AllocatableFunction;61  private import DE4SDV_EEArchitectureFraming::EEVehicleNetworkSystem;62  private import DE4SDV_EEArchitectureFraming::eeNetworkFaultResponseConcern;63  private import DE4SDV_EEArchitectureOperationalContext::DrivingCommandSource;64  private import DE4SDV_EEArchitectureOperationalContext::eeArchitectureOperationalContext;65  private import DE4SDV_DriverAssistanceOperationalContext::DrivingCommand;66  private import DE4SDV_DriverAssistanceOperationalContext::SCORECommandAndWarningPath;67  private import DE4SDV_OperationalContext::SubjectVehicle;68  private import DE4SDV_DriverAssistanceFunctionalArchitecture::DrivingCommandOutput;69  private import DE4SDV_EEArchitectureNeedsRequirements::*;70  private import SAF_Viewpoints::*;71  private import StandardViewDefinitions::*;72  private import SysideViews::**;73  private import Views::*;7475  /* The items the functions exchange inside the vehicle network */7677  item def EENetworkIdentityRecord {78    doc /*79     * The record of the network identity of one run, by the term network80     * identity, made before the vehicle network takes the first driving81     * command of the run.82     */83  }8485  item def EEElementIdentityReport {86    doc /*87     * The startup identity report of an element of the vehicle network, sent88     * to recordNetworkIdentity before the vehicle network takes the first89     * driving command of a run (the startup identity readback decision of90     * 2026-11-29). It carries the build and configuration identity of that91     * element for the run's network identity record and is no vehicle signal.92     */93  }9495  /* The functions of the context elements of phase 2 */9697  action def EEContextFunction {98    doc /*99     * A behavior of a context element of phase 2 while the vehicle network100     * operates. It is outside the scope of the vehicle network: the network101     * does not provide it and no requirement of phase 5 is allocated to it.102     */103  }104105  action def EEGiveDrivingCommand :> EEContextFunction {106    doc /*107     * The command source: gives each driving command, in this increment the108     * command of the driver-assistance candidate with its detection parts.109     */110    out drivingCommand : DrivingCommand;111  }112113  action def EECarryCommandOverSCORE :> EEContextFunction {114    doc /*115     * The Eclipse S-CORE path: hands each driving command to the vehicle116     * network at the boundary interface, with no exchange beside it.117     */118    in drivingCommand : DrivingCommand;119    out carriedCommand : DrivingCommand;120  }121122  action def EEMoveVehicle :> EEContextFunction {123    doc /*124     * The vehicle: steering, acceleration and brakes move it by what the125     * actuation ECU gives it; nothing flows back to the vehicle network.126     */127    in appliedCommand : DrivingCommand;128  }129130  /* Functions */131132  action def EERecordNetworkIdentity :> AllocatableFunction {133    doc /*134     * Records the network identity of the vehicle network before it takes the135     * first driving command of each run, taking the startup identity reports136     * of the carrying element and of the actuation ECU (the startup identity137     * readback decision of 2026-11-29), so that each verdict binds the route,138     * the commit with its difference, the configuration and the settings that139     * ran.140     */141    in carrierIdentityReport : EEElementIdentityReport;142    in actuationIdentityReport : EEElementIdentityReport;143    out identityRecord : EENetworkIdentityRecord;144  }145146  action def EETakeDrivingCommand :> AllocatableFunction {147    doc /*148     * Takes each driving command at the boundary interface as the Eclipse149     * S-CORE path gives it there, at the simulation time at which the path150     * gives it, and takes driving commands from nowhere else.151     */152    in drivingCommand : DrivingCommand;153    out takenCommand : DrivingCommand;154  }155156  action def EECarryDrivingCommand :> AllocatableFunction {157    doc /*158     * Carries each driving command taken at the boundary interface to the159     * actuation ECU, once, in its order and with each part as the path gave160     * it, and hands its detection parts on as it received them, computing161     * none of them anew. In a run without a fault each command reaches the162     * actuation ECU within 50 ms of simulation time after it is taken. Around163     * a fault it goes on carrying each command that the fault does not164     * affect. Before the first driving command of a run is taken, it gives165     * its startup identity report to recordNetworkIdentity (the startup166     * identity readback decision of 2026-11-29).167     */168    in takenCommand : DrivingCommand;169    out carriedCommand : DrivingCommand;170    out carrierIdentityReport : EEElementIdentityReport;171  }172173  action def EECheckDrivingCommand :> AllocatableFunction {174    doc /*175     * Decides, by the term valid driving command, whether each driving176     * command that reaches the actuation ECU is valid: its check value, its177     * sequence count against the reference count, and its issue time against178     * the simulation time at which it reaches the actuation ECU. It passes179     * each valid command on to be applied, and nothing in place of an invalid180     * one. Before the first driving command of a run is taken, it gives the181     * actuation ECU's startup identity report to recordNetworkIdentity (the182     * startup identity readback decision of 2026-11-29).183     */184    in carriedCommand : DrivingCommand;185    out validCommand : DrivingCommand;186    out actuationIdentityReport : EEElementIdentityReport;187  }188189  action def EEApplyDrivingCommand :> AllocatableFunction {190    doc /*191     * Applies each valid driving command at the actuation ECU when it reaches192     * it, and gives the vehicle the steering angle and the acceleration of193     * the last valid command that it applied, and nothing before the first.194     * Once more than 200 ms of simulation time pass with no valid driving195     * command reaching the actuation ECU, counted from the last one or from196     * the start of the run when none did, it applies no driving command that197     * reaches it after that, and gives the vehicle the stop response on the198     * same output, from no later than 300 ms of simulation time after that199     * last valid command or the start of the run until the run ends.200     */201    in validCommand : DrivingCommand;202    out appliedCommand : DrivingCommand;203  }204205  /* The functional breakdown of the vehicle network */206207  action def EEVehicleNetworkFunctionalFlow {208    doc /*209     * The vehicle network broken into its functions, and the items they210     * exchange. The driving command comes from the Eclipse S-CORE path at the211     * boundary interface, and what the actuation ECU gives goes to the212     * vehicle: the steering angle and the acceleration of the last valid213     * driving command, or the stop response. Only what applyDrivingCommand214     * gives leaves the network. The network identity is recorded before the215     * network takes the first driving command of each run, from the startup216     * identity reports of carryDrivingCommand and checkDrivingCommand (the217     * startup identity readback decision of 2026-11-29).218     */219    in item drivingCommand : DrivingCommand;220    out item appliedCommand : DrivingCommand;221222    action recordNetworkIdentity : EERecordNetworkIdentity {223      in carrierIdentityReport;224      in actuationIdentityReport;225      out identityRecord;226    }227228    action takeDrivingCommand : EETakeDrivingCommand {229      in drivingCommand = EEVehicleNetworkFunctionalFlow::drivingCommand;230      out takenCommand;231    }232    first recordNetworkIdentity then takeDrivingCommand;233234    action carryDrivingCommand : EECarryDrivingCommand {235      in takenCommand;236      out carriedCommand;237      out carrierIdentityReport;238    }239    flow from takeDrivingCommand.takenCommand to carryDrivingCommand.takenCommand;240    flow from carryDrivingCommand.carrierIdentityReport to recordNetworkIdentity.carrierIdentityReport;241242    action checkDrivingCommand : EECheckDrivingCommand {243      in carriedCommand;244      out validCommand;245      out actuationIdentityReport;246    }247    flow from carryDrivingCommand.carriedCommand to checkDrivingCommand.carriedCommand;248    flow from checkDrivingCommand.actuationIdentityReport to recordNetworkIdentity.actuationIdentityReport;249250    action applyDrivingCommand : EEApplyDrivingCommand {251      in validCommand;252      out appliedCommand = EEVehicleNetworkFunctionalFlow::appliedCommand;253    }254    flow from checkDrivingCommand.validCommand to applyDrivingCommand.validCommand;255  }256257  action eeVehicleNetworkFunctionalFlow : EEVehicleNetworkFunctionalFlow;258259  /* The system process: the vehicle network between the context elements */260261  action def EEVehicleNetworkSystemProcess {262    doc /*263     * One run of the vehicle network in operation, as a process. The264     * participants are the context parts of phase 2 themselves and the system265     * of interest, bound by reference: the process declares no part of its266     * own, so the increment has one context. Each participant owns and267     * performs its functions, as the swim lane of its functions: the command268     * source gives each driving command, and the Eclipse S-CORE path hands it269     * to the vehicle network at the boundary interface. The vehicle network270     * records its network identity, takes the command, carries it to the271     * actuation ECU, checks it, and applies it at the actuation ECU, as one272     * action of the process. The vehicle moves by what the actuation ECU273     * gives it and sends nothing back. The functions of the context elements274     * are outside the scope of the vehicle network; its functional scope is275     * the one functional flow usage it performs. The items that cross its276     * boundary are the flows of the process, each chained through the277     * participant that gives and the one that takes.278     *279     * The sequence from a fault to the response: a fault, made from outside280     * the vehicle network, loses a driving command on the route of the run,281     * holds it so that it reaches the actuation ECU more than 100 ms of282     * simulation time after its issue time, repeats it or corrupts it, or283     * takes a link of that route down for the rest of the run. The carriage284     * goes on with each command that the fault does not affect. The check285     * decides by the term valid driving command which of the commands that286     * reach the actuation ECU are valid, and nothing is applied in place of287     * an invalid one, so the vehicle keeps the steering angle and the288     * acceleration of the last valid command. Once more than 200 ms of289     * simulation time pass with no valid driving command reaching the290     * actuation ECU, the actuation ECU applies no driving command that291     * reaches it after that and gives the vehicle the stop response itself: a292     * deceleration of 4 m/s², within the tolerance of REQ-DRIVING-020, with293     * the steering angle of the last valid driving command that it applied,294     * or 0° when it applied none, from no later than 300 ms after the last295     * valid command, or after the start of the run when none reached it,296     * until the run ends. In SC-EE-004 a link of the route goes down, so no297     * valid command reaches the actuation ECU after it, and the vehicle gets298     * the stop response, as phase 2 states for that scenario. Every time299     * counts on the one clock of the virtual vehicle that the testbed gives300     * every element. No element, transport or technology is fixed here.301     */302    ref part commandSource : DrivingCommandSource = eeArchitectureOperationalContext::commandSource {303      doc /*304       * The command source of phase 2: gives each driving command.305       */306      perform action giveCommands : EEGiveDrivingCommand;307    }308309    ref part scorePath : SCORECommandAndWarningPath = eeArchitectureOperationalContext::scorePath {310      doc /*311       * The Eclipse S-CORE path of phase 2: hands each driving command to the312       * vehicle network at the boundary interface, with no exchange beside it.313       */314      perform action handOverCommands : EECarryCommandOverSCORE;315    }316317    ref part vehicleNetwork : EEVehicleNetworkSystem = eeArchitectureOperationalContext::vehicleNetwork {318      doc /*319       * The system of interest of phase 2: it performs its whole functional320       * flow, the one usage its functional boundary performs. Around a fault it321       * goes on carrying each driving command that the fault does not affect,322       * and at the actuation ECU it applies only the valid ones, so the vehicle323       * keeps the steering angle and the acceleration of the last valid324       * command. Once more than 200 ms of simulation time pass with no valid325       * driving command reaching the actuation ECU, it applies no driving326       * command that reaches the actuation ECU after that and gives the vehicle327       * the stop response there, from no later than 300 ms of simulation time328       * after the last valid command, or after the start of the run when none329       * reached the actuation ECU, until the run ends.330       */331      perform eeVehicleNetworkFunctionalFlow;332    }333334    ref part vehicle : SubjectVehicle = eeArchitectureOperationalContext::vehicle {335      doc /*336       * The vehicle of phase 2: steering, acceleration and brakes move it by337       * what the actuation ECU gives it; nothing flows back.338       */339      perform action moveByActuation : EEMoveVehicle;340    }341342    flow from commandSource.giveCommands.drivingCommand to scorePath.handOverCommands.drivingCommand;343    flow from scorePath.handOverCommands.carriedCommand to vehicleNetwork.eeVehicleNetworkFunctionalFlow.drivingCommand;344    flow from vehicleNetwork.eeVehicleNetworkFunctionalFlow.appliedCommand to vehicle.moveByActuation.appliedCommand;345  }346347  action eeVehicleNetworkSystemProcess : EEVehicleNetworkSystemProcess;348349  /* States */350351  state def EEActuationStates {352    doc /*353     * The states of the actuation ECU in a run, by the valid driving commands354     * that reach it. It has no valid command from the start of each run until355     * the first one reaches it, and once it gives the stop response it gives356     * it until the run ends.357     */358    state noValidCommandYet {359      doc /*360       * No valid driving command has reached the actuation ECU in this run:361       * applyDrivingCommand gives the vehicle nothing (REQ-EE-008).362       */363    }364    state applyingValidCommands {365      doc /*366       * applyDrivingCommand applies each valid driving command that reaches the367       * actuation ECU and gives the vehicle the steering angle and the368       * acceleration of the last one that it applied (REQ-EE-006, REQ-EE-008).369       * An invalid command changes nothing.370       */371    }372    state givingStopResponse {373      doc /*374       * Entered once more than 200 ms of simulation time pass with no valid375       * driving command reaching the actuation ECU. From then on376       * applyDrivingCommand applies no driving command that reaches the377       * actuation ECU. Until the stop response starts, it gives the vehicle the378       * steering angle and the acceleration of the last valid driving command379       * that it applied, or nothing when it applied none (REQ-EE-008). From no380       * later than 300 ms of simulation time after the last valid command, or381       * after the start of the run when none reached the actuation ECU, until382       * the run ends, it gives the vehicle the stop response: a deceleration of383       * 4 m/s², within the tolerance of REQ-DRIVING-020, with the steering384       * angle of that last valid driving command, or 0° when it applied none385       * (REQ-EE-009).386       */387    }388    transition first noValidCommandYet then applyingValidCommands;  // the first valid driving command reaches the389                                                                    // actuation ECU within 200 ms of simulation time390                                                                    // after the start of the run391    transition first noValidCommandYet then givingStopResponse;  // more than 200 ms of simulation time pass after the392                                                                 // start of the run with no valid driving command393                                                                 // reaching the actuation ECU394    transition first applyingValidCommands then givingStopResponse;  // more than 200 ms of simulation time pass after395                                                                     // the last valid driving command with no other396                                                                     // reaching the actuation ECU397  }398399  /* The function whose behavior differs by state depends on it */400401  dependency eeApplyDrivingCommandDependsOnNoValidCommandYetState402    from EEVehicleNetworkFunctionalFlow::applyDrivingCommand403    to EEActuationStates::noValidCommandYet;404  dependency eeApplyDrivingCommandDependsOnApplyingValidCommandsState405    from EEVehicleNetworkFunctionalFlow::applyDrivingCommand406    to EEActuationStates::applyingValidCommands;407  dependency eeApplyDrivingCommandDependsOnGivingStopResponseState408    from EEVehicleNetworkFunctionalFlow::applyDrivingCommand409    to EEActuationStates::givingStopResponse;410411  /* The conceptual interfaces of the vehicle network */412413  item def EEDrivingCommandInput :> DrivingCommandOutput {414    doc /*415     * The driving command as it reaches the boundary interface of the vehicle416     * network: the command that the driver-assistance system gives at its417     * boundary, its steering angle and its acceleration with its detection418     * parts.419     */420  }421422  item def EEActuationOutput :> DrivingCommand {423    doc /*424     * What the actuation ECU gives the vehicle: the steering angle and the425     * acceleration of the last valid driving command that it applied, or,426     * during the stop response, the steering angle of the stop response and427     * its deceleration as an acceleration below zero. It carries no detection428     * part.429     */430    attribute steeringAngle : ISQ::AngularMeasureValue;431    attribute acceleration : ISQ::AccelerationValue;432  }433434  port def EEDrivingCommandInbound {435    doc /*436     * The input port of the driving command at the boundary interface: the437     * Eclipse S-CORE path gives it there.438     */439    in item drivingCommand : EEDrivingCommandInput;440  }441442  port def EEActuationOutbound {443    doc /*444     * The output port of what the actuation ECU gives the vehicle: the445     * vehicle takes it.446     */447    out item appliedCommand : EEActuationOutput;448  }449450  part def EEVehicleNetworkFunctionalBoundary :> EEVehicleNetworkSystem {451    doc /*452     * The vehicle network as a functional boundary: one input port and one453     * output port, each with the item of one exchange of phase 2, typed by an454     * item definition of this package that specializes the driving command of455     * phase 2 or the item that the driver-assistance increment defines for456     * it. It performs the functional flow of the network.457     */458    port drivingCommandIn : EEDrivingCommandInbound;459    port actuationOut : EEActuationOutbound;460461    perform eeVehicleNetworkFunctionalFlow : EEVehicleNetworkFunctionalFlow {462      in item drivingCommand = drivingCommandIn.drivingCommand;463      out item appliedCommand = actuationOut.appliedCommand;464    }465  }466467  /* Requirement-to-function allocations (allocatedTo) */468469  comment eeIdentityAllocations470    /*471     * recordNetworkIdentity carries REQ-EE-010: the record is made before the472     * vehicle network takes the first driving command of each run.473     */474  allocation eeNetworkIdentityResponsibility475    allocate reqRecordNetworkIdentity to EEVehicleNetworkFunctionalFlow::recordNetworkIdentity;476477  comment eeInputAllocations478    /*479     * takeDrivingCommand carries REQ-EE-002, a design constraint on the input480     * of the vehicle network: it takes driving commands at the boundary481     * interface from the Eclipse S-CORE path and from nowhere else.482     */483  allocation eeTakeOnlyFromSCOREPathResponsibility484    allocate reqCommandsOnlyFromSCOREPath to EEVehicleNetworkFunctionalFlow::takeDrivingCommand;485486  comment eeCarriageAllocations487    /*488     * carryDrivingCommand carries REQ-EE-004; REQ-EE-005, a performance489     * requirement on the carriage; and REQ-EE-007, a design constraint on the490     * detection parts that the carriage hands on, whose analysis rests on the491     * realization that phase 8 records.492     */493  allocation eeCarryStreamUnchangedResponsibility494    allocate reqDeliverCommandStreamUnchanged to EEVehicleNetworkFunctionalFlow::carryDrivingCommand;495  allocation eeCarriageTimeResponsibility496    allocate reqCarryEachCommandWithin50Ms to EEVehicleNetworkFunctionalFlow::carryDrivingCommand;497  allocation eeDetectionPartsResponsibility498    allocate reqPassDetectionPartsOnAsTaken to EEVehicleNetworkFunctionalFlow::carryDrivingCommand;499500  comment eeActuationAllocations501    /*502     * checkDrivingCommand and applyDrivingCommand share REQ-EE-006 and503     * REQ-EE-008: the check decides which commands are valid, and the504     * application applies them and gives the vehicle only the last valid one.505     * applyDrivingCommand alone carries REQ-EE-009, the stop response at the506     * actuation ECU.507     */508  allocation eeCheckValidCommandResponsibility509    allocate reqApplyEachValidCommand to EEVehicleNetworkFunctionalFlow::checkDrivingCommand;510  allocation eeApplyValidCommandResponsibility511    allocate reqApplyEachValidCommand to EEVehicleNetworkFunctionalFlow::applyDrivingCommand;512  allocation eeCheckLastValidCommandResponsibility513    allocate reqGiveOnlyLastValidCommand to EEVehicleNetworkFunctionalFlow::checkDrivingCommand;514  allocation eeGiveLastValidCommandResponsibility515    allocate reqGiveOnlyLastValidCommand to EEVehicleNetworkFunctionalFlow::applyDrivingCommand;516  allocation eeStopResponseResponsibility517    allocate reqStopResponseAfter200Ms to EEVehicleNetworkFunctionalFlow::applyDrivingCommand;518519  /* Views */520521  concern eeVehicleNetworkFunctionsConcern : FunctionalBehaviorConcern {522    doc /*523     * System architects and verification engineers need the functions of the524     * vehicle network and each requirement of phase 5 mapped to the functions525     * that carry it: phase 7 gives the functions to logical elements, and526     * phase 10 verifies each requirement on its functions.527     */528    subject;529    stakeholder systemArchitect : SystemArchitect;530    stakeholder verificationEngineer : VerificationEngineer;531  }532533  view eeVehicleNetworkFunctionBreakdownView {534    viewpoint eeFunctionBreakdownViewpoint : SystemFunctionalBreakdownStructureViewpoint {535      frame eeVehicleNetworkFunctionsConcern;536    }537    expose eeVehicleNetworkFunctionalFlow;538    render asTreeDiagram;539  }540541  view eeVehicleNetworkRequirementFunctionMatrixView : MVD::MatrixView {542    viewpoint eeRequirementFunctionViewpoint : SystemRequirementTraceabilityViewpoint {543      frame eeVehicleNetworkFunctionsConcern;544    }545    view :>> rowView {546      expose reqBothRoutesInOneTopology;547      expose reqCommandsOnlyFromSCOREPath;548      expose reqCommandsOnlyOnTheirRoute;549      expose reqDeliverCommandStreamUnchanged;550      expose reqCarryEachCommandWithin50Ms;551      expose reqApplyEachValidCommand;552      expose reqPassDetectionPartsOnAsTaken;553      expose reqGiveOnlyLastValidCommand;554      expose reqStopResponseAfter200Ms;555      expose reqRecordNetworkIdentity;556      attribute :>> includeReferenceElements = true;557      attribute :>> representation = Rep::name;558    }559    view :>> columnView {560      expose eeVehicleNetworkFunctionalFlow::recordNetworkIdentity;561      expose eeVehicleNetworkFunctionalFlow::takeDrivingCommand;562      expose eeVehicleNetworkFunctionalFlow::carryDrivingCommand;563      expose eeVehicleNetworkFunctionalFlow::checkDrivingCommand;564      expose eeVehicleNetworkFunctionalFlow::applyDrivingCommand;565      attribute :>> includeReferenceElements = true;566      attribute :>> representation = Rep::name;567    }568    view :>> cellView {569      expose DE4SDV_EEArchitectureFunctionalArchitecture::*;570      attribute :>> direction = SysideViews::MatrixTraceabilityDirection::row2col;571    }572  }573574  /* The vehicle network in operation as a process: the sequence from a fault to the stop response */575576  view eeVehicleNetworkSystemProcessView : ActionFlowView {577    viewpoint eeSystemProcessViewpoint : SystemProcessViewpoint {578      frame eeNetworkFaultResponseConcern;579    }580    expose EEVehicleNetworkSystemProcess::*;581    expose EEVehicleNetworkSystemProcess::commandSource::*;582    expose EEVehicleNetworkSystemProcess::scorePath::*;583    expose EEVehicleNetworkSystemProcess::vehicleNetwork::*;584    expose EEVehicleNetworkSystemProcess::vehicle::*;585    attribute showAnnotationRows = false;586    attribute maxCompartmentEntries = 0;587  }588589  /* The states, and the function that depends on them */590591  concern eeActuationStatesConcern : SystemStateConcern {592    doc /*593     * Safety experts and systems engineers need the states of the actuation594     * ECU in a run, by the valid driving commands that reach it, and the595     * function whose behavior differs in each: before the first valid596     * command, while it applies valid commands, and once more than 200 ms of597     * simulation time pass without a valid driving command, until the run598     * ends.599     */600    subject;601    stakeholder safetyExpert : SafetyExpert;602    stakeholder systemsEngineer : SystemsEngineer;603  }604605  view eeVehicleNetworkStateTableView : TVD::TableView {606    viewpoint eeStateTableViewpoint : SystemStateViewpoint {607      frame eeActuationStatesConcern;608    }609    expose EEActuationStates::noValidCommandYet;610    expose EEActuationStates::applyingValidCommands;611    expose EEActuationStates::givingStopResponse;612    filter @ SysML::StateUsage;613    attribute :>> maxRowHeight = 300;614    view State :> columnViews {615      attribute :>> featureToRender = CT::declaredName;616    }617    view DependentFunctions :> columnViews {618      attribute :>> featureToRender = CT::documentation;619      attribute :>> columnWidth = 360;620    }621  }622623  /* The conceptual interfaces of the vehicle network */624625  concern eeVehicleNetworkInterfaceConcern : FunctionalInterfaceConcern {626    doc /*627     * Systems engineers and software developers need the conceptual628     * interfaces of the vehicle network before phase 7 allocates its629     * functions and phase 8 places elements and software on them: the port at630     * its boundary for each item that crosses it, the direction of that item,631     * and the item that the port's item specializes. Signal typing at a632     * software contract belongs to phase 8.633     */634    subject;635    stakeholder systemsEngineer : SystemsEngineer;636    stakeholder softwareDeveloper : SoftwareDeveloper;637  }638639  view eeVehicleNetworkFunctionalInterfaceView {640    viewpoint eeFunctionalInterfaceViewpoint : SystemInterfaceDefinitionViewpoint {641      frame eeVehicleNetworkInterfaceConcern;642    }643    expose EEActuationOutbound;644    expose EEDrivingCommandInbound;645    attribute showAnnotationRows = false;646    render asTreeDiagram;647  }648}649