Text description of the model: systems with their blocks, parameters and signal connections, Stateflow data, states and transitions. The rest of the page is the interactive viewer with images, styles and scripts and holds no further model information.

Notation: "A:1 -> B:2, C:1" connects output port 1 of block A to input port 2 of block B and input port 1 of block C, a quoted text is the signal name. Block parameters show the values that differ from the block defaults, plus the main parameters. Transitions read "source -> destination: label" with the label event[condition]{condition action}/{transition action}; [n] is the evaluation order of transitions leaving the same source, the transitions of a state are tested before those of its active substates. States are exclusive (OR) unless a parallel (AND) decomposition is stated. Junctions are numbered J1, J2, ... per chart. "(in X)" names the state or function containing an object, objects without it are at the top level of the chart. Chart inputs and outputs carry their port number, "input 2" is input port 2 of the chart block.

sf_car (Simulink model)

Model version=7.0; Created by=The MathWorks, Inc.; Created=Tue Jun 02 22:12:01 1998; Last modified by=The MathWorks, Inc.; Last modified=Wed Aug 13 06:44:55 2025; Solver=ode5; Stop time=100

Blocks:

Signals:

Notes:

Engine (subsystem)

Blocks:

Signals:

engine torque (Lookup table)

NumberOfTableDimensions=2; BreakpointsForDimension1=thvec; BreakpointsForDimension2=nevec; Table=emap; InterpMethod=Linear point-slope; ExtrapMethod=Linear

Inputs (Signal Editor)

Scenarios:

Coasting (Signal Editor)

Signals:

Gradual_Acceleration (Signal Editor)

Signals:

Hard_braking (Signal Editor)

Signals:

Passing_Maneuver (Signal Editor)

Signals:

Scope1 (Scope)

Signals:

Scope2 (Scope)

Signals:

Vehicle (masked subsystem)

Rfd=vehicledata(1); rload0=vehicledata(2); rload2=vehicledata(3); Rw=vehicledata(4); Iv=vehicledata(5); N20=vehicledata(6)/vehicledata(4)*vehicledata(1)

Blocks:

Signals:

Notes:

shift_logic (Stateflow chart)

Action language=MATLAB; Update method=DISCRETE; Sample time=0.04

Data:

Types:

Parallel (AND) decomposition

States:

Functions:

Transitions:

calc_th (subsystem)

Blocks:

Signals:

Look-Up (MATLAB Function)

Data:

function out = fcn(gear)
    %#codegen
    table = [1 2 3 4];
    switch(gear)
        case gearType.fourth;
            out=table(4);
        case gearType.third;
            out=table(3);
        case gearType.second;
            out=table(2);
        otherwise; % gearType.first
            out=table(1);
    end

end

interp_down (Lookup table)

NumberOfTableDimensions=2; BreakpointsForDimension1=downth; BreakpointsForDimension2=[1:4]; Table=downtab; InterpMethod=Linear point-slope; ExtrapMethod=Linear

interp_up (Lookup table)

NumberOfTableDimensions=2; BreakpointsForDimension1=upth; BreakpointsForDimension2=[1:4]; Table=uptab; InterpMethod=Linear point-slope; ExtrapMethod=Linear

transmission (subsystem)

Blocks:

Signals:

Torque Converter (masked subsystem)

speedratio=converter_data(:,1); Kfactor=converter_data(:,2); Torkratio=converter_data(:,3)

Blocks:

Signals:

Notes:

K factor (Lookup table)

NumberOfTableDimensions=1; BreakpointsForDimension1=speedratio; Table=Kfactor; InterpMethod=Linear point-slope; ExtrapMethod=Linear

Torque ratio (Lookup table)

NumberOfTableDimensions=1; BreakpointsForDimension1=speedratio; Table=Torkratio; InterpMethod=Linear point-slope; ExtrapMethod=Linear

transmission ratio (subsystem)

Blocks:

Signals:

Look-Up Table (MATLAB Function)

Data:

function out = fcn(gear)
    %#codegen
    table = [2.393 1.450 1.000 0.677];
    switch(gear)
        case gearType.fourth
            out=table(4);
        case gearType.third
            out=table(3);
        case gearType.second
            out=table(2);
        otherwise % gearType.first
            out=table(1);
    end

end

Scope (Scope)

Signals:


sf_car (Simulink model)
Engine (subsystem)
engine torque (Lookup table)
Inputs (Signal Editor)
Coasting (Signal Editor)
Gradual_Acceleration (Signal Editor)
Hard_braking (Signal Editor)
Passing_Maneuver (Signal Editor)
Scope1 (Scope)
Scope2 (Scope)
Vehicle (masked subsystem)
shift_logic (Stateflow chart)
selection_state.calc_th (subsystem)
function out = fcn(gear) %#codegen table = [1 2 3 4]; switch(gear) case gearType.fourth; out=table(4); case gearType.third; out=table(3); case gearType.second; out=table(2); otherwise; % gearType.first out=table(1); end end
interp_down (Lookup table)
interp_up (Lookup table)
transmission (subsystem)
Torque Converter (masked subsystem)
K factor (Lookup table)
Torque ratio (Lookup table)
transmission ratio (subsystem)
function out = fcn(gear) %#codegen table = [2.393 1.450 1.000 0.677]; switch(gear) case gearType.fourth out=table(4); case gearType.third out=table(3); case gearType.second out=table(2); otherwise % gearType.first out=table(1); end end
Scope (Scope)
EverBits owl logo
≡ System (3E1B4E2A)≡ ID≡ Description≡ Color≡ User≡ Date

Generated on by EverView® v26.1.26, EverBits GmbH