question

Sean avatar image
0 Likes"
Sean asked Julie Weller commented

how to fix this problem??

1691133268313.png

FlexSim 22.2.0
pythonglobaltable
1691133268313.png (5.7 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Julie Weller avatar image Julie Weller commented ·

Hi @Sean, was Fang J's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Fang J avatar image
0 Likes"
Fang J answered Jason Lightfoot edited

maybe u need provide your model. The error prompt that they does not return the required type at script Line 1 code.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sean avatar image Sean commented ·

I need to write GA into my model ,how do i let the value that python run out to write into my global table

1691137651261.png

0 Likes 0 ·
1691137651261.png (60.6 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Sean commented ·

@Sean There are examples of that on this site - please do a search.

Reopen the default workspace or try closing the scrip window to remove that error.

In this question you asked how to put your code into FlexSim. Are you no longer trying to do that but instead call the externatl Python function?

You've now also posted a third question on the topic here. Please don't duplicate questions as it consumes more time to answer 3 than one - and we will close the duplicates.

Please also look at your academic institution's training materials for examples.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.