cadet / CADET-Core

A modular, fast, and accurate simulation framework for (bio)chemical processes
Other
53 stars 25 forks source link

Failing Test for CSTR #249

Closed AntoniaBerger closed 6 days ago

AntoniaBerger commented 1 month ago

Expected behaviour

The following test in test\CSTR-Simulation.cpp should pass:

Actual behaviour

The exact massage is given by: grafik

Site node: The same test also shows the same behavoir for the CSTRVarPor

AntoniaBerger commented 1 month ago

It appears that the number of components in the test configuration and in function testLinearMixedParticleTypesImpl (ParticalHelper line 314) did not align, such that the replicateData in line 70 tried to replicate a 2dim vector 3 times.

Changing the number of paricals to 2, fixed that problem.

The test in quasi-stationary binding still fails with CSTR and CSTRVarPor:

due to unexpected exception with message:
  Error in IDASolve: IDA_ERR_FAIL at t = 0.000000
jbreue16 commented 1 month ago

We have a bunch of tests that need some maintenance, they are tracked in a "meta"-issue here #254