Skip to content

Problem with CombiTimeTable #2080

Closed
Closed
@modelica-trac-importer

Description

@modelica-trac-importer

Reported by christiankral on 14 Oct 2016 15:38 UTC
Consider the attached example. A drive cycle (speed versus time) is read from an external file drivecycle.txt. The signal output of the used CombiTimeTable block is connected with a translational speed source. The simulation is performed for two entire drive cycles (= 2 * 600s = 1200s).

In the vicinity of 800s the acceleration speed.a is calculated incorrectly even though speed.v is computed correctly; see attached PNG.

The same issue occurred using Dymola 2017 and OpenModelica 1.11.0~dev-192-g1d441b1. I therefore conclude that is an issue of the CombiTimeTable and/or tables in general. Someone more familiar with the implementation of tables my assess whether is issue is related with #1627 or not.


Migrated-From: https://trac.modelica.org/Modelica/ticket/2080

Metadata

Metadata

Assignees

Labels

L: BlocksIssue addresses Modelica.BlocksL: C-SourcesIssue addresses Modelica/Resources/C-SourcesbugCritical/severe issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions