How to make a model parametric

Hello all,

I am quite new to Visual components. I want to make a model that is completely parametric.
I mean

  1. All my cycle times and process data will be in an excel.
  2. Import all these data with python script in VC.
  3. Assign these data to variables, for example Cycle time of Machine A is assigned to a variable X.
  4. For every simulation run Machine A should read the data from variable X and define its cycle time with the value in X.

I am not sure how to do point 3 and 4. if these is away to do this please help.

I have tried using a PM Global Variable with a variable in it. But i couldn’t figure out how a machine A can read a value of a variable in PM Global Variable.

Use the Get Property statement and then utilize the value expressions of other statements.
https://help.visualcomponents.com/4.8/Premium/en/English/Process%20Modeling/Process%20Statements/Get_Property.htm

1 Like

Hello,

It’s been a quite some time I asked this question, but I have another question. This Get property statement is only in process points and other machines etc., right? But how to assign a variable that is in the “VC Global Variable” to conveyor?
What I am trying to do is create a variable “Conveyor_Speed” in “VC Global Variable” and want this variable to be read by conveyor in every simulation run.

Does that help?

If you always want to write different speed for the conveyors before starting the simulation, then you should perhaps use the following component from the eCatalog?

1 Like