rajj44
rajj44

Reputation: 27

Is TRANSFORM library compatible with OpenModelica

Transform library was developed with Dymola. When trying to simulate in OpenModelica I get errors:

[12] 12:09:51 Translation Warning
[TRANSFORM.Fluid.Pipes.BaseClasses.PartialDistributedVolume: 12:26-12:31]: Non-array modification '0' for array component, possibly due to missing 'each'.

[13] 12:09:51 Translation Error
[TRANSFORM.Fluid.Pipes.GenericPipe_MultiTransferSurface: 118:3-135:83]: Variable pipe.pipe.flowModel: Cyclically dependent constants or parameters found in scope TRANSFORM.Fluid.Pipes.GenericPipe_MultiTransferSurface$pipe$pipe.FlowModel$pipe$pipe$flowModel: {Re_turb,Re_lam} (ignore with -d=ignoreCycles).

[14] 12:09:51 Translation Error
[TRANSFORM.Fluid.Pipes.GenericPipe_MultiTransferSurface: 118:3-135:83]: Variable pipe.pipe.flowModel: Cyclically dependent constants or parameters found in scope TRANSFORM.Fluid.Pipes.GenericPipe_withWall$pipe.FlowModel$pipe$pipe$flowModel: {Re_turb,Re_lam} (ignore with -d=ignoreCycles).

[15] 12:09:51 Translation Error
[TRANSFORM.Fluid.Pipes.GenericPipe_MultiTransferSurface: 118:3-135:83]: Variable pipe.pipe.flowModel: Cyclically dependent constants or parameters found in scope TRANSFORM.Fluid.ClosureRelations.PressureLoss.Models.DistributedPipe_1D.FlowModel$pipe$pipe$flowModel: {Re_turb,Re_lam} (ignore with -d=ignoreCycles).

[16] 12:09:51 Translation Error
Error occurred while flattening model TRANSFORM.Fluid.Pipes.Examples.GenericPipe_Tests.withWall

Is the library compatible with OpenModelica? If not, what are the steps required to make it compatible?

Upvotes: 1

Views: 374

Answers (1)

Scott G
Scott G

Reputation: 2310

TRANSFORM has been tested on OpenModelica as of version 1.16.1 and has found that OpenModelica has numerous errors and issues. As OpenModelica improves this may be revisited in the future.

Upvotes: 1

Related Questions