Create Reliability Elements as a Vector

Answered

Comments

3 comments

  • Avatar
    Jason

    Robin,

    Thanks for writing the GoldSim Forum! Reliability Function elements cannot be vectorized but you are right that a workaround exists for a case like this. I recommend using cloned Containers where you can refer to a "component ID" number that pulls the reliability input data from a vector automatically.

    All you need to do is make sure that the component IDs are updated if you add new clones. The beauty of cloned containers is that changes made to one will replicate automatically to all clones that exist. I created a simple model to demonstrate this and attached it below. 

    Before you dive in, I recommend that you have a look at this simple cloning example model first: https://support.goldsim.com/hc/en-us/articles/360000979988-Cloning-Containers 

    Here is the model example I came up with that fits your description: https://472762a2af97076c4e0b-8133bebcb09a150bbeebc93c39d5e5f7.ssl.cf1.rackcdn.com/Cloned%20Function%20Components.gsm

    Please let me know if this helps!

    -Jason

    0
    Comment actions Permalink
  • Avatar
    Robin MacDonald

    Hi Jason, thanks so much for your help! I was able to use the clones as you demonstrated to create the vector I needed to feed into the rest of my model. The downside, though, is that with this method, it seems I'll still need to create additional clones of the 'Component' folder each time I want to model a larger number of components. I'd prefer to have the number of clones present be a function of a user-specified input "Number_of_Components" - is that possible?

    0
    Comment actions Permalink
  • Avatar
    Jason

    No, unfortunately that isn't possible when using the Reliability function elements since those don't support non-scalar outputs. How often do you foresee that you will need to change the number of reliability components? If your requirement to modify the number of items proves to be too difficult using clones, then perhaps you could look at programming the failures using basic (non-RL module) elements that are vectorized. But I would consider this a last resort because there is a lot of functionality you will need to handle yourself if you go away from the RL function element.

    0
    Comment actions Permalink

Please sign in to leave a comment.