Opened 7 years ago

Last modified 3 years ago

#4482 new defect

checkAndGetAlgorithmOutputs failed

Reported by: pravinkumar.dalve@… Owned by: somebody
Priority: high Milestone:
Component: *unknown* Version: v1.11.0
Keywords: Cc:

Description

I am working on a model where multiple instantiation of model is required and some equations are written in new model where these model are instantiated.

I am instantiating "reboiler" model in "column". There is one array variable called mixMolFrac[2] in reboiler. I need to assign different values to this variable hence I am using if-else conditions. My if- else also coming inside for loop hence I am writing this in algorithm section since writing it in equation section was producing some extra equations.

When I write it in algorithm in if- else as "reboiler.feed.mixMolFrac[:] := {0, 0}" it is showing

[19] 01:26:52 Translation Error

Internal error checkAndGetAlgorithmOutputs failed.

[20] 01:26:52 Translation Error
No system for the symbolic initialization was generated

But if I write this in equation as "reboiler.feed.mixMolFrac[:] = {0, 0}" without if-else, it is giving right results.

There are eight variables which I am writing in if-else in algorithm but only these two variables are giving problem.

Thanks in advance.

Attachments (1)

post.mo (23.5 KB ) - added by pravinkumar.dalve@… 7 years ago.
problem is commented at the end of column1 model.

Download all attachments as: .zip

Change History (8)

by pravinkumar.dalve@…, 7 years ago

Attachment: post.mo added

problem is commented at the end of column1 model.

comment:1 by pravinkumar.dalve@…, 7 years ago

Milestone: Future1.12.0

comment:2 by Francesco Casella, 7 years ago

Milestone: 1.12.01.13.0

Milestone moved to 1.13.0 due to 1.12.0 already being released.

comment:3 by Francesco Casella, 6 years ago

Milestone: 1.13.01.14.0

Rescheduled to 1.14.0 after 1.13.0 releasee

comment:4 by Francesco Casella, 5 years ago

Milestone: 1.14.01.16.0

Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0

comment:5 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:6 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:7 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.