textual-notation-of-model/packages/features/ee/ee_architecture_logical_architecture.sysml
3 view(s) · 55 declared member(s) Jump to source ↓
view eeVehicleNetworkLogicalStructureViewsource ↓
| Viewpoint | ee (System |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | eeeeeeee |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view eeVehicleNetworkFunctionMappingViewsource ↓
| Viewpoint | ee (System |
|---|---|
| View type | MVD:: |
| Framed concerns |
|
| Exposes | eeeeeeeeeeEEEEEEDE4 |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view eeVehicleNetworkInternalExchangeViewsource ↓
| Viewpoint | ee (System |
|---|---|
| Framed concerns |
|
| Render | as |
| Depth | -1 |
| Exposes | eeee |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
Source
1/*2 * DE4SDV E/E architecture logical architecture.3 *4 * INC-EE-001, phase 7: the logical architecture of the vehicle network.5 * What technology-independent logical elements realize the five functions6 * of phase 6?7 *8 * The decomposition subject is the system of interest itself, one level9 * below the functional boundary of phase 6: EEVehicleNetworkLogicalSystem10 * specializes EEVehicleNetworkFunctionalBoundary, so it keeps the two11 * boundary ports and gives the vehicle network an inside of three logical12 * elements. The context elements of phase 2 stay outside and undivided.13 * Functions stay where phase 6 put them; each is allocated to the logical14 * element that carries it by a native allocation (allocatedTo), a15 * responsibility assignment, not a realization, deployment or runtime16 * claim.17 *18 * Three logical elements for five functions (owner decision of19 * 2026-11-26). Functions share a logical element when nothing requires20 * them to be separately placeable, and split where a requirement21 * constrains the exchange between them or demands that one keeps working22 * when the other does not. The command carrier takes each driving command23 * at the boundary interface and carries it to the actuation end: nothing24 * asks the taking and the carrying to be placed apart. The actuation end25 * checks each driving command that reaches it and applies each valid one26 * until the stop response starts. It stands apart from the command27 * carrier: REQ-EE-004, REQ-EE-005 and REQ-EE-007 constrain the carriage28 * to it, and by REQ-EE-009 the stop response starts there once more than29 * 200 ms of simulation time pass with no valid driving command reaching30 * it, so it keeps working when the carriage delivers nothing. The check31 * stays with the application: phase 5 judges a driving command valid as32 * it reaches the end of its route, and the two functions share REQ-EE-00633 * and REQ-EE-008. The identity recorder stands alone because the record34 * covers the software and the configuration of both other logical35 * elements and comes before the first driving command of each run is36 * taken.37 *38 * The carried driving commands go from the command carrier to the39 * actuation end, and the three carriage requirements constrain that40 * exchange. REQ-EE-002 keeps one input: the boundary delegates the driving41 * command to the command carrier alone. REQ-EE-001 and REQ-EE-00342 * constrain the topology and the routes, so phase 8 carries them by the43 * elements that it places on the routes. Phase 6 left to phases 7 and 844 * which element checks a driving command: here, the actuation end. Where45 * each element of the routes takes the simulation time stays with phase 8.46 * Nothing here names a computer, a process, a transport or a signal47 * catalogue.48 *49 * By the startup identity readback decision of 2026-11-29, the command50 * carrier and the actuation end each send a startup identity report51 * (EEElementIdentityReport) to the identity recorder before the first52 * driving command of each run is taken, so the identity recorder gathers53 * the build and configuration identity of both other logical elements54 * alongside its own for REQ-EE-010. Phase 6 still orders the record before55 * the first driving command by succession, and no driving command runs56 * back from the actuation end or into the command carrier from another57 * logical element.58 */59package DE4SDV_EEArchitectureLogicalArchitecture {60 private import DE4SDV_Stakeholders::*;61 private import DE4SDV_TraceVocabulary::LogicalAllocationElement;62 private import DE4SDV_EEArchitectureFunctionalArchitecture::EEVehicleNetworkFunctionalBoundary;63 private import DE4SDV_EEArchitectureFunctionalArchitecture::EEVehicleNetworkFunctionalFlow;64 private import DE4SDV_EEArchitectureFunctionalArchitecture::eeVehicleNetworkFunctionalFlow;65 private import DE4SDV_EEArchitectureFunctionalArchitecture::EEDrivingCommandInbound;66 private import DE4SDV_EEArchitectureFunctionalArchitecture::EEActuationOutbound;67 private import DE4SDV_EEArchitectureFunctionalArchitecture::EEElementIdentityReport;68 private import DE4SDV_DriverAssistanceOperationalContext::DrivingCommand;69 private import SAF_Viewpoints::*;70 private import SysideViews::**;71 private import Views::*;7273 /* ─── The ports of the exchanges inside the vehicle network ─── */7475 port def EECarriedCommandOutbound {76 doc /*77 * The output port of the carried driving commands: the command carrier78 * gives the actuation end each driving command that it carries, with each79 * part as the path gave it.80 */81 out item eeCarriedCommand : DrivingCommand;82 }83 port def EECarriedCommandInbound {84 doc /*85 * The input port of the carried driving commands: the actuation end takes86 * each driving command that reaches it and judges it there by the term87 * valid driving command.88 */89 in item eeCarriedCommand : DrivingCommand;90 }91 port def EEElementIdentityReportOutbound {92 doc /*93 * The output port of a startup identity report: a logical element gives94 * its startup identity report to the identity recorder before the first95 * driving command of each run is taken (the startup identity readback96 * decision of 2026-11-29).97 */98 out item eeElementIdentityReport : EEElementIdentityReport;99 }100 port def EEElementIdentityReportInbound {101 doc /*102 * The input port of a startup identity report: the identity recorder takes103 * the startup identity report of another logical element before the first104 * driving command of each run is taken (the startup identity readback105 * decision of 2026-11-29).106 */107 in item eeElementIdentityReport : EEElementIdentityReport;108 }109110 /* ─── The three logical elements of the vehicle network ─── */111112 part def EEIdentityRecorder :> LogicalAllocationElement {113 doc /*114 * Carries the recording of the network identity: before the first driving115 * command of each run is taken, it records the network identity, whose116 * parts phase 5 names one by one, so that each verdict binds the route,117 * the commit with its difference, the configuration and the settings that118 * ran. The record covers the software and the configuration of the119 * command carrier and of the actuation end alike, so it is a120 * responsibility of its own: phase 8 realizes it, and its order before121 * the first driving command, in the software of the vehicle network. By122 * the startup identity readback decision of 2026-11-29, it takes startup123 * identity reports from the command carrier and from the actuation end124 * before the first driving command of each run is taken, and gives nothing125 * to another logical element.126 */127 port eeCarrierIdentityIn : EEElementIdentityReportInbound;128 port eeActuationIdentityIn : EEElementIdentityReportInbound;129 }130131 part def EECommandCarrier :> LogicalAllocationElement {132 doc /*133 * Carries the taking and the carriage of the driving commands: it takes134 * each driving command at the boundary interface as the path that carries135 * it there gives it, at the simulation time at which the path gives it,136 * and from nowhere else, and carries it to the actuation end once, in its137 * order and with each part as the path gave it, handing its detection138 * parts on as it received them and computing none of them anew. In a run139 * without a fault each driving command reaches the actuation end within140 * 50 ms of simulation time after it is taken; around a fault the carrier141 * goes on carrying each driving command that the fault does not affect.142 * Nothing asks the taking and the carrying to be placed apart, so they143 * share one logical element. It takes nothing from another logical144 * element. By the startup identity readback decision of 2026-11-29, it145 * gives its startup identity report to the identity recorder before the146 * first driving command of each run is taken. Phase 8 realizes it on the147 * elements that each route passes, which REQ-EE-001 and REQ-EE-003148 * constrain.149 */150 port eeCommandIn : EEDrivingCommandInbound;151 port eeCarriedCommandOut : EECarriedCommandOutbound;152 port eeCarrierIdentityOut : EEElementIdentityReportOutbound;153 }154155 part def EEActuationEnd :> LogicalAllocationElement {156 doc /*157 * Carries what the vehicle gets from the vehicle network: it decides, by158 * the term valid driving command, whether each driving command that159 * reaches it is valid, applies each valid one when it reaches it and160 * nothing in place of an invalid one, and gives the vehicle the steering161 * angle and the acceleration of the last valid driving command that it162 * applied, and nothing before the first. Once more than 200 ms of163 * simulation time pass with no valid driving command reaching it, counted164 * from the last one or from the start of the run when none did, it165 * applies no driving command that reaches it after that, and gives the166 * vehicle the stop response on the same output, from no later than 300 ms167 * of simulation time after that last valid driving command or the start168 * of the run until the run ends. The check and the application share169 * REQ-EE-006 and REQ-EE-008, and phase 5 judges a driving command valid170 * as it reaches the end of its route, so they share one logical element.171 * It stands apart from the command carrier because it keeps working when172 * the carriage delivers nothing. By the startup identity readback decision173 * of 2026-11-29, it gives its startup identity report to the identity174 * recorder before the first driving command of each run is taken, and175 * gives nothing else to another logical element. Phase 8 realizes it on176 * the last element that a driving command reaches.177 */178 port eeCarriedCommandIn : EECarriedCommandInbound;179 port eeActuationOut : EEActuationOutbound;180 port eeActuationIdentityOut : EEElementIdentityReportOutbound;181 }182183 /* ─── The vehicle network one level inside its boundary ─── */184185 part def EEVehicleNetworkLogicalSystem :> EEVehicleNetworkFunctionalBoundary {186 doc /*187 * The vehicle network of phase 2, one level inside the functional188 * boundary of phase 6, with its three logical elements and the exchanges189 * between them. The boundary ports are inherited and delegated to the190 * logical elements that take or provide their items: the driving command191 * goes to the command carrier, and the applied command leaves from the192 * actuation end. Inside, the carried driving commands go from the command193 * carrier to the actuation end, and by the startup identity readback194 * decision of 2026-11-29 the command carrier and the actuation end each195 * send their startup identity report to the identity recorder before the196 * first driving command of each run is taken. Nothing runs into the197 * command carrier from another logical element, and the identity recorder198 * gives nothing to another logical element. This definition names no199 * computer, process, transport or technology.200 * eeVehicleNetworkLogicalSystem is its usage for the views, which draw201 * usages. It depicts the context's vehicleNetwork, whose definition202 * EEVehicleNetworkLogicalSystem specializes, and is bound to nothing.203 */204 part eeIdentityRecorder : EEIdentityRecorder;205 part eeCommandCarrier : EECommandCarrier;206 part eeActuationEnd : EEActuationEnd;207208 // The boundary items, delegated from the inherited ports of phase 6.209 connection eeCommandToCarrierDelegation connect drivingCommandIn to eeCommandCarrier.eeCommandIn;210 connection eeActuationFromEndDelegation connect eeActuationEnd.eeActuationOut to actuationOut;211212 // The exchanges between the logical elements.213 connection eeCommandExchange connect eeCommandCarrier.eeCarriedCommandOut to eeActuationEnd.eeCarriedCommandIn;214 connection eeCarrierIdentityExchange connect eeCommandCarrier.eeCarrierIdentityOut to eeIdentityRecorder.eeCarrierIdentityIn;215 connection eeActuationIdentityExchange connect eeActuationEnd.eeActuationIdentityOut to eeIdentityRecorder.eeActuationIdentityIn;216 }217218 part eeVehicleNetworkLogicalSystem : EEVehicleNetworkLogicalSystem {219 doc /*220 * The vehicle network as the views draw it: the one usage of the logical221 * definition. It depicts the context's vehicleNetwork and is bound to222 * nothing.223 */224 }225226 /* ─── Function-to-logical-element allocations (allocatedTo) ─── */227228 allocation eeRecordNetworkIdentityAllocation229 allocate EEVehicleNetworkFunctionalFlow::recordNetworkIdentity to EEVehicleNetworkLogicalSystem::eeIdentityRecorder;230 allocation eeTakeDrivingCommandAllocation231 allocate EEVehicleNetworkFunctionalFlow::takeDrivingCommand to EEVehicleNetworkLogicalSystem::eeCommandCarrier;232 allocation eeCarryDrivingCommandAllocation233 allocate EEVehicleNetworkFunctionalFlow::carryDrivingCommand to EEVehicleNetworkLogicalSystem::eeCommandCarrier;234 allocation eeCheckDrivingCommandAllocation235 allocate EEVehicleNetworkFunctionalFlow::checkDrivingCommand to EEVehicleNetworkLogicalSystem::eeActuationEnd;236 allocation eeApplyDrivingCommandAllocation237 allocate EEVehicleNetworkFunctionalFlow::applyDrivingCommand to EEVehicleNetworkLogicalSystem::eeActuationEnd;238239 /* ─── Views ─── */240241 concern eeVehicleNetworkLogicalStructureConcern : ConceptualStructureConcern {242 doc /*243 * System architects and software developers need the logical elements of244 * the vehicle network, one level inside its functional boundary, each245 * with the responsibility it carries and its ports, before phase 8246 * allocates each of them to a physical element: which logical elements247 * there are, and why each stands alone.248 */249 subject;250 stakeholder systemArchitect : SystemArchitect;251 stakeholder softwareDeveloper : SoftwareDeveloper;252 }253254 view eeVehicleNetworkLogicalStructureView {255 viewpoint eeLogicalStructureViewpoint : SystemStructureDefinitionViewpoint {256 frame eeVehicleNetworkLogicalStructureConcern;257 }258 expose eeVehicleNetworkLogicalSystem;259 expose eeVehicleNetworkLogicalSystem::eeIdentityRecorder;260 expose eeVehicleNetworkLogicalSystem::eeCommandCarrier;261 expose eeVehicleNetworkLogicalSystem::eeActuationEnd;262 filter not (@ SysML::AllocationUsage);263 render asTreeDiagram;264 }265266 concern eeVehicleNetworkFunctionMappingConcern : ConceptualFunctionMappingConcern {267 doc /*268 * System architects and verification engineers need each function of269 * phase 6 allocated to the logical element that carries it, and each270 * logical element carrying a function: phase 8 allocates each logical271 * element to a physical element, and phase 10 verifies the requirements272 * that their functions carry.273 */274 subject;275 stakeholder systemArchitect : SystemArchitect;276 stakeholder verificationEngineer : VerificationEngineer;277 }278279 view eeVehicleNetworkFunctionMappingView : MVD::MatrixView {280 viewpoint eeFunctionMappingViewpoint : SystemFunctionMappingViewpoint {281 frame eeVehicleNetworkFunctionMappingConcern;282 }283 view :>> rowView {284 expose eeVehicleNetworkFunctionalFlow::recordNetworkIdentity;285 expose eeVehicleNetworkFunctionalFlow::takeDrivingCommand;286 expose eeVehicleNetworkFunctionalFlow::carryDrivingCommand;287 expose eeVehicleNetworkFunctionalFlow::checkDrivingCommand;288 expose eeVehicleNetworkFunctionalFlow::applyDrivingCommand;289 attribute :>> includeReferenceElements = true;290 attribute :>> representation = Rep::name;291 }292 view :>> columnView {293 expose EEVehicleNetworkLogicalSystem::eeIdentityRecorder;294 expose EEVehicleNetworkLogicalSystem::eeCommandCarrier;295 expose EEVehicleNetworkLogicalSystem::eeActuationEnd;296 attribute :>> includeReferenceElements = true;297 attribute :>> representation = Rep::name;298 }299 view :>> cellView {300 expose DE4SDV_EEArchitectureLogicalArchitecture::*;301 attribute :>> direction = SysideViews::MatrixTraceabilityDirection::row2col;302 }303 }304305 concern eeVehicleNetworkInternalExchangeConcern : ConceptualInternalExchangeConcern {306 doc /*307 * Systems engineers and software developers need the exchanges of the308 * vehicle network between its logical elements, the item each carries and309 * its direction: the carried driving commands, which REQ-EE-004,310 * REQ-EE-005 and REQ-EE-007 constrain and whose lack of a valid driving311 * command for more than 200 ms of simulation time starts the stop response312 * of REQ-EE-009; the startup identity reports that the command carrier and313 * the actuation end give the identity recorder before the first driving314 * command of each run is taken for REQ-EE-010 (the startup identity315 * readback decision of 2026-11-29); and the boundary items delegated to316 * the logical element that takes or provides them, the driving command by317 * the one input that REQ-EE-002 keeps. Phase 8 places the exchanges on the318 * routes.319 */320 subject;321 stakeholder systemsEngineer : SystemsEngineer;322 stakeholder softwareDeveloper : SoftwareDeveloper;323 }324325 view eeVehicleNetworkInternalExchangeView {326 viewpoint eeInternalExchangeViewpoint : SystemInternalExchangeViewpoint {327 frame eeVehicleNetworkInternalExchangeConcern;328 }329 expose eeVehicleNetworkLogicalSystem;330 expose eeVehicleNetworkLogicalSystem::**;331 filter not (@ SysML::AllocationUsage);332 attribute depth = -1;333 attribute showAnnotationRows = false;334 render asInterconnectionDiagram;335 }336}337