Co-simulation with the Libcosim Library > Shared memory submodel for local co-simulation
Parameter mode
Set up the master and slave in Parameter mode. Here, the parameters are a bit different:
Master/Slave mode: defines whether the submodel will act as master or slave.
Sample time: only for the master, the time interval between two consecutive data exchanges.
Shared memory name: identifier for the shared memory. This parameter should be the same on both master and slave submodels.
Output variable: initial value of outputs.
Figure 22: Slave parameters
Figure 23: Master parameters
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.lib-cosim/xid1852540 · retrieved 2026-07-17