rcasteran / jarvis4se

JARVIS for Systems Engineers
https://regis-casteran.gitbook.io/jarvis4se/
MIT License
3 stars 1 forks source link

Sequence of functional elements based on a sequence of functions #76

Closed rcasteran closed 1 year ago

rcasteran commented 1 year ago

Impacted version jarvis4se version: 1.3.3

Describe the bug Jarvis is unable to generate a sequence of functional elements based on a sequence of functions for a given view.

To Reproduce Please execute the following commands:

%%jarvis
with test
F1 is a function
F2 is a function
F3 is a function
a is a data
F1 produces a
F2 consumes a
b is a data
F2 produces b
F3 consumes b
E1 is a functional element
E1 allocates F1
E2 is a functional element
E2 allocates F2
E3 is a functional element
E3 allocates F3

Then execute the following commands to display the sequence of functions:

%%jarvis
with test
under VIEW_TEST
b implies a
show sequence F1, F2, F3

Finally execute the following commands to display the sequence of functional elements:

%%jarvis
with test
under VIEW_TEST
show sequence E1, E2, E3

Expected behavior Jarvis must display the two sequences in the right order. Today it generates an error when trying to display the second sequence

Screenshots None

Desktop (please complete the following information):

Additional context None