Opened 15 years ago

Closed 15 years ago

#63 closed defect (fixed)

Incompatible array dimensions

Reported by: Rodolfo Rodrigues Owned by: Rafael de Pelegrini Soares
Priority: critical Milestone:
Component: EMSO Version: 0.9.51
Keywords: Cc:

Description

Tendo um parâmetro Mw definido como um vetor de dimensão NC e este contido num modelo stream, ao se considerar stream um vetor de dimensão N o EMSO atribui a dimensão N para Mw provocando um erro de incompatibilidade ao se realizar a análise de consistência.

Isto ocorre, por exemplo, num exemplo prático em que tenho uma corrente stream discretizada em N pontos e parâmetros com 1 ou mais dimensões.

stream(N).Mw(NC)

Abaixo segue exemplo.

Attachments (2)

case1.mso (5.5 KB) - added by Rodolfo Rodrigues 15 years ago.
case1.2.mso (5.6 KB) - added by Rafael de Pelegrini Soares 15 years ago.
File adapted for the new language and with some corrections

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by Rodolfo Rodrigues

Attachment: case1.mso added

comment:1 Changed 15 years ago by Rafael de Pelegrini Soares

Resolution: fixed
Status: newclosed

Problem fixed on the development version (0.9.52).

There was a problem when evaluating SET commands with some complex array arrangements. You can test your model with the development version available as emso-devel.exe under the downloads section.

comment:2 Changed 15 years ago by Rafael de Pelegrini Soares

Resolution: fixed
Status: closedreopened

Problem not yet fully solved.

First FlowSheet? runs, but we still have problems with the second.

comment:3 Changed 15 years ago by Rafael de Pelegrini Soares

Resolution: fixed
Status: reopenedclosed

Now the problem appears to be fixed, check the latest devel-devel (0.9.52) executable.

I also attached another file with you model corrected. The first FlowSheet? runs but the second has missing equations.

Changed 15 years ago by Rafael de Pelegrini Soares

Attachment: case1.2.mso added

File adapted for the new language and with some corrections

Note: See TracTickets for help on using tickets.