None (Main library). (See Section 2.3, “Licensed Features”.)
The pan_CurrentCylinder block retrieves the current cylinder identifier of the engine from the ECU. The cylinder identifier is updated whenever a new TDC-calculation angle is reached. See Section 6.2, “Engine TDC-firing events” for a definition of TDC-calculation. The application specifies the TDC-calculation angle using a pan_EngineConfig block.
Set to zero when the ECU cannot provide an engine cylinder (for instance, the ECU has not synchronised to the crankshaft wheel encoder), set to one when the outport cylinder is valid.
Value type: | Boolean |
The current cylinder of the engine.
Range: [1, n] where n is the number of cylinders specified by the pan_EngineConfig block.
Value type: | Integer |
The periodicity of the block execution.
Range: [0.001, 3600] seconds
Value type: | Real | ||
Calibratable: | No |
Tick to enable inports sim_valid and sim_cylinder.
Value type: | Boolean | ||
Calibratable: | No |