How to pass parameters/variables between Simulations

I have a scenario where in I need to pass variables from one Simulation to other simulation.
Is there a way to achieve this

Requirement:

  1. I have a variable in Simulation 1
  2. I need to pass the same variable to Simulation 2

What is the best way to do it. Should I use inheritance ?

How to pass a value in the custom ActionBuilder to the simulation calling that action ?