I saw the post today about how to have GoldSim execute a Python script and read results back into the model for execution.
https://support.goldsim.com/hc/en-us/articles/43567673987987-GSPy-End-User-Guide
One thing in this documentation is that it appears that the 'inputs' and 'outputs' definition have to be hardcoded numbers.
I am working on a model that has a large Array Label set that will drive the size of the output calculation, though the result will be in a vector.
If 'inputs' or 'outputs' are a vector of the size of the Array Label set, is it possible to either have those be size 1 (1 vector) or an arbitrary number based on the length of the Array Label?
Basically, do I need to know in advance the size of my Array Label set to use a Python script with it, or can I set that dynamically?

Comments
5 comments