Skip to content

Update ic_engine.py example #665

@ischoegl

Description

@ischoegl

Cantera version

2.4 / 2.5a3

Operating System

all

Python/MATLAB version

python

Expected Behavior

The example should run simulations in an efficient manner (i.e. use Func1 routines for valve train and injection timing)

Actual Behavior

Implementing valve train and injection in the main simulation loop (between sim.advance steps) requires a time step that is set much smaller than necessary, making the example highly inefficient.

Steps to reproduce

  1. run stock example ic_engine.py

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions